[INFO] fetching crate discotech_zookeeper 0.1.0... [INFO] checking discotech_zookeeper-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate discotech_zookeeper 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate discotech_zookeeper 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate discotech_zookeeper 0.1.0 [INFO] finished tweaking crates.io crate discotech_zookeeper 0.1.0 [INFO] tweaked toml for crates.io crate discotech_zookeeper 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schedule_recv v0.0.1 [INFO] [stderr] Downloaded enum_primitive v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e972416226568eab2933e1f80c6e7b658534c93545ae41349f312b8046790d7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e972416226568eab2933e1f80c6e7b658534c93545ae41349f312b8046790d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e972416226568eab2933e1f80c6e7b658534c93545ae41349f312b8046790d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e972416226568eab2933e1f80c6e7b658534c93545ae41349f312b8046790d7", kill_on_drop: false }` [INFO] [stdout] 2e972416226568eab2933e1f80c6e7b658534c93545ae41349f312b8046790d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7a135e8b0276110b2e9a0470854a66f505109514176eee0ba4bc7dd9ef89d2a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d7a135e8b0276110b2e9a0470854a66f505109514176eee0ba4bc7dd9ef89d2a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking log4rs v0.3.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking enum_primitive v0.0.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking schedule_recv v0.0.1 [INFO] [stderr] Checking discotech_zookeeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/zookeeper.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn write_to(&self, writer: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let raw = try!(self.read_buffer()); [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.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let len = try!(self.read_i32::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | 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.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(self.write_i32::(buffer.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.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(writer.write_u8(*self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let buf = try!(self.read_buffer()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | try!(writer.write_i32::(self.perms)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.scheme.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(writer.write_i32::(self.protocol_version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | try!(writer.write_i64::(self.last_zxid_seen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(writer.write_i32::(self.timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(writer.write_i64::(self.session_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | try!(self.passwd.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | try!(writer.write_u8(self.read_only as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | try!(writer.write_i32::(self.xid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | try!(writer.write_i32::(self.opcode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.data.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | try!(self.acl.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | try!(writer.write_i32::(self.flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(writer.write_i32::(self.version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | try!(writer.write_u8(self.watch as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:305:37 [INFO] [stdout] | [INFO] [stdout] 305 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | try!(self.acl.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | try!(writer.write_i32::(self.version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | try!(self.data.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | try!(writer.write_i32::(self.version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:375:37 [INFO] [stdout] | [INFO] [stdout] 375 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:422:37 [INFO] [stdout] | [INFO] [stdout] 422 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:432:32 [INFO] [stdout] | [INFO] [stdout] 432 | fn write_to(&self, _: &mut Write) -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/zookeeper.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn handle(&self, &WatchedEvent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &WatchedEvent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | let (addrs, chroot) = try!(Self::parse_connect_string(connect_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:267:37 [INFO] [stdout] | [INFO] [stdout] 267 | chroot => (Some(try!(Self::validate_path(chroot)).to_string()), start) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:391:45 [INFO] [stdout] | [INFO] [stdout] 391 | path => Ok(chroot.clone() + try!(Self::validate_path(path))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | None => Ok(try!(Self::validate_path(path)).to_string()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:406:39 [INFO] [stdout] | [INFO] [stdout] 406 | let req = CreateRequest{path: try!(self.path(path)), data: data, acl: acl, flags: mode as i32}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:414:39 [INFO] [stdout] | [INFO] [stdout] 414 | let req = DeleteRequest{path: try!(self.path(path)), version: version}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:422:39 [INFO] [stdout] | [INFO] [stdout] 422 | let req = ExistsRequest{path: try!(self.path(path)), watch: watch}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:430:39 [INFO] [stdout] | [INFO] [stdout] 430 | let req = GetAclRequest{path: try!(self.path(path))}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:438:44 [INFO] [stdout] | [INFO] [stdout] 438 | let req = GetChildrenRequest{path: try!(self.path(path)), watch: watch}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:446:40 [INFO] [stdout] | [INFO] [stdout] 446 | let req = GetDataRequest{path: try!(self.path(path)), watch: watch}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:454:39 [INFO] [stdout] | [INFO] [stdout] 454 | let req = SetAclRequest{path: try!(self.path(path)), acl: acl, version: version}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:462:40 [INFO] [stdout] | [INFO] [stdout] 462 | let req = SetDataRequest{path: try!(self.path(path)), data: data, version: version}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/zookeeper.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn write_to(&self, writer: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let raw = try!(self.read_buffer()); [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.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let len = try!(self.read_i32::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | 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.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(self.write_i32::(buffer.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.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(writer.write_u8(*self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(writer.write_i32::(self.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let buf = try!(self.read_buffer()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | try!(writer.write_i32::(self.perms)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.scheme.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(writer.write_i32::(self.protocol_version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | try!(writer.write_i64::(self.last_zxid_seen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(writer.write_i32::(self.timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(writer.write_i64::(self.session_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | try!(self.passwd.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | try!(writer.write_u8(self.read_only as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | try!(writer.write_i32::(self.xid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | try!(writer.write_i32::(self.opcode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.data.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | try!(self.acl.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | try!(writer.write_i32::(self.flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(writer.write_i32::(self.version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:291:37 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | try!(writer.write_u8(self.watch as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:305:37 [INFO] [stdout] | [INFO] [stdout] 305 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | try!(self.acl.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | try!(writer.write_i32::(self.version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | try!(self.path.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | try!(self.data.write_to(writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | try!(writer.write_i32::(self.version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:375:37 [INFO] [stdout] | [INFO] [stdout] 375 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:422:37 [INFO] [stdout] | [INFO] [stdout] 422 | fn write_to(&self, writer: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:432:32 [INFO] [stdout] | [INFO] [stdout] 432 | fn write_to(&self, _: &mut Write) -> Result<()> { Ok(()) } [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/zookeeper.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn handle(&self, &WatchedEvent); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &WatchedEvent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | let (addrs, chroot) = try!(Self::parse_connect_string(connect_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:267:37 [INFO] [stdout] | [INFO] [stdout] 267 | chroot => (Some(try!(Self::validate_path(chroot)).to_string()), start) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:391:45 [INFO] [stdout] | [INFO] [stdout] 391 | path => Ok(chroot.clone() + try!(Self::validate_path(path))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | None => Ok(try!(Self::validate_path(path)).to_string()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:406:39 [INFO] [stdout] | [INFO] [stdout] 406 | let req = CreateRequest{path: try!(self.path(path)), data: data, acl: acl, flags: mode as i32}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:414:39 [INFO] [stdout] | [INFO] [stdout] 414 | let req = DeleteRequest{path: try!(self.path(path)), version: version}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:422:39 [INFO] [stdout] | [INFO] [stdout] 422 | let req = ExistsRequest{path: try!(self.path(path)), watch: watch}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:430:39 [INFO] [stdout] | [INFO] [stdout] 430 | let req = GetAclRequest{path: try!(self.path(path))}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:438:44 [INFO] [stdout] | [INFO] [stdout] 438 | let req = GetChildrenRequest{path: try!(self.path(path)), watch: watch}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:446:40 [INFO] [stdout] | [INFO] [stdout] 446 | let req = GetDataRequest{path: try!(self.path(path)), watch: watch}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:454:39 [INFO] [stdout] | [INFO] [stdout] 454 | let req = SetAclRequest{path: try!(self.path(path)), acl: acl, version: version}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zookeeper.rs:462:40 [INFO] [stdout] | [INFO] [stdout] 462 | let req = SetDataRequest{path: try!(self.path(path)), data: data, version: version}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/proto.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | timeout: timeout.secs() as i32 * 1000, [INFO] [stdout] | ^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discotech_zookeeper` due to 3 previous errors; 60 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/proto.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | timeout: timeout.secs() as i32 * 1000, [INFO] [stdout] | ^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d7a135e8b0276110b2e9a0470854a66f505109514176eee0ba4bc7dd9ef89d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a135e8b0276110b2e9a0470854a66f505109514176eee0ba4bc7dd9ef89d2a", kill_on_drop: false }` [INFO] [stdout] d7a135e8b0276110b2e9a0470854a66f505109514176eee0ba4bc7dd9ef89d2a