[INFO] fetching crate tokio-thrift 0.1.0... [INFO] checking tokio-thrift-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tokio-thrift 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tokio-thrift 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-thrift 0.1.0 [INFO] finished tweaking crates.io crate tokio-thrift 0.1.0 [INFO] tweaked toml for crates.io crate tokio-thrift 0.1.0 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding byteorder v0.4.2 (latest: v1.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 log v0.3.9 (latest: v0.4.21) [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 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 rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [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 scoped-tls v0.1.2 (latest: v1.0.1) [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 slab v0.3.0 (latest: v0.4.9) [INFO] [stderr] Adding smallvec v0.2.1 (latest: v1.13.2) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.37.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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e25e4318ec702fcebc02f92021892755a1befca0ca30209e0f9f9fdd968a6f05 [INFO] running `Command { std: "docker" "start" "-a" "e25e4318ec702fcebc02f92021892755a1befca0ca30209e0f9f9fdd968a6f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e25e4318ec702fcebc02f92021892755a1befca0ca30209e0f9f9fdd968a6f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25e4318ec702fcebc02f92021892755a1befca0ca30209e0f9f9fdd968a6f05", kill_on_drop: false }` [INFO] [stdout] e25e4318ec702fcebc02f92021892755a1befca0ca30209e0f9f9fdd968a6f05 [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6338e09446805fbceb60a33fc957579ecfd81d36a59bb102b32ad6c5f8f8690 [INFO] running `Command { std: "docker" "start" "-a" "f6338e09446805fbceb60a33fc957579ecfd81d36a59bb102b32ad6c5f8f8690", kill_on_drop: false }` [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking tokio-thrift v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(self.inner.write_i64::(val)); [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/protocol/binary_protocol.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.inner.write_i32::(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(self.inner.write_i16::(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | try!(self.inner.write_i8(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | try!(self.inner.write_f64::(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | try!(self.serialize_i32(val.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(self.inner.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(self.serialize_i32(version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(self.serialize_str(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | try!(self.serialize_i16(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | try!(self.serialize_i8(ty as i8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | try!(self.serialize_i16(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.serialize_i8(ThriftType::Stop as i8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(try!(self.inner.read_i8()) != 0) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(try!(self.deserialize_isize()) as usize) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(try!(self.deserialize_i64()) as isize) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(try!(self.deserialize_i64()) as u64) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(try!(self.inner.read_i64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(try!(self.deserialize_i32()) as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(try!(self.inner.read_i32::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | Ok(try!(self.deserialize_i16()) as u16) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | Ok(try!(self.inner.read_i16::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(try!(self.deserialize_i8()) as u8) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(try!(self.inner.read_i8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(try!(self.inner.read_f64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | try!(self.inner.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | let len = try!(self.deserialize_i32()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | let buf = try!(self.deserialize_bytes()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let s = try!(String::from_utf8(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | let size: i32 = try!(self.deserialize_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | name: try!(self.deserialize_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | seq: try!(self.deserialize_i16()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:254:34 [INFO] [stdout] | [INFO] [stdout] 254 | ty: ThriftType::from(try!(self.deserialize_i8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | field.seq = try!(self.deserialize_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `byteorder` is imported redundantly [INFO] [stdout] --> src/protocol/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate byteorder; [INFO] [stdout] | ----------------------- the item `byteorder` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `byteorder` is imported redundantly [INFO] [stdout] --> src/result.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate byteorder; [INFO] [stdout] | ----------------------- the item `byteorder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Deserialize` [INFO] [stdout] --> src/protocol/binary_protocol.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | use ::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Deserialize` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 278 | use protocol::Deserialize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | impl Codec for ThriftCodec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:56:63 [INFO] [stdout] | [INFO] [stdout] 56 | impl ClientProto [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:68:63 [INFO] [stdout] | [INFO] [stdout] 68 | impl ServerProto [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | type Transport = Framed>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | type Transport = Framed>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(self.inner.write_i64::(val)); [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/protocol/binary_protocol.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.inner.write_i32::(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(self.inner.write_i16::(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | try!(self.inner.write_i8(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | try!(self.inner.write_f64::(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | try!(self.serialize_i32(val.len() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(self.inner.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(self.serialize_i32(version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(self.serialize_str(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | try!(self.serialize_i16(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | try!(self.serialize_i8(ty as i8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | try!(self.serialize_i16(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.serialize_i8(ThriftType::Stop as i8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(try!(self.inner.read_i8()) != 0) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(try!(self.deserialize_isize()) as usize) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(try!(self.deserialize_i64()) as isize) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(try!(self.deserialize_i64()) as u64) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(try!(self.inner.read_i64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(try!(self.deserialize_i32()) as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(try!(self.inner.read_i32::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | Ok(try!(self.deserialize_i16()) as u16) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | Ok(try!(self.inner.read_i16::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(try!(self.deserialize_i8()) as u8) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(try!(self.inner.read_i8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(try!(self.inner.read_f64::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | try!(self.inner.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | let len = try!(self.deserialize_i32()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | let buf = try!(self.deserialize_bytes()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let s = try!(String::from_utf8(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | let size: i32 = try!(self.deserialize_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | name: try!(self.deserialize_str()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | seq: try!(self.deserialize_i16()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:254:34 [INFO] [stdout] | [INFO] [stdout] 254 | ty: ThriftType::from(try!(self.deserialize_i8())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol/binary_protocol.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | field.seq = try!(self.deserialize_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/protocol/binary_protocol.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | use std::io::{Cursor, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ReadBytesExt` is imported redundantly [INFO] [stdout] --> src/protocol/binary_protocol.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] 277 | use super::*; [INFO] [stdout] | -------- the item `ReadBytesExt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WriteBytesExt` is imported redundantly [INFO] [stdout] --> src/protocol/binary_protocol.rs:275:35 [INFO] [stdout] | [INFO] [stdout] 275 | use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] 277 | use super::*; [INFO] [stdout] | -------- the item `WriteBytesExt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BigEndian` is imported redundantly [INFO] [stdout] --> src/protocol/binary_protocol.rs:275:50 [INFO] [stdout] | [INFO] [stdout] 275 | use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] 277 | use super::*; [INFO] [stdout] | -------- the item `BigEndian` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer`, `Serialize`, `ThriftMessage`, `ThriftType` [INFO] [stdout] --> src/protocol/binary_protocol.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ThriftMessageType` is imported redundantly [INFO] [stdout] --> src/protocol/binary_protocol.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | use super::*; [INFO] [stdout] | -------- the item `ThriftMessageType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ThriftDeserializer` is imported redundantly [INFO] [stdout] --> src/protocol/binary_protocol.rs:276:66 [INFO] [stdout] | [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | use super::*; [INFO] [stdout] | -------- the item `ThriftDeserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ThriftSerializer` is imported redundantly [INFO] [stdout] --> src/protocol/binary_protocol.rs:276:86 [INFO] [stdout] | [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | use super::*; [INFO] [stdout] | -------- the item `ThriftSerializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Serializer` is imported redundantly [INFO] [stdout] --> src/protocol/binary_protocol.rs:276:104 [INFO] [stdout] | [INFO] [stdout] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 277 | use super::*; [INFO] [stdout] | -------- the item `Serializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `byteorder` is imported redundantly [INFO] [stdout] --> src/protocol/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use byteorder; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate byteorder; [INFO] [stdout] | ----------------------- the item `byteorder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `byteorder` is imported redundantly [INFO] [stdout] --> src/result.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate byteorder; [INFO] [stdout] | ----------------------- the item `byteorder` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | impl Codec for ThriftCodec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:56:63 [INFO] [stdout] | [INFO] [stdout] 56 | impl ClientProto [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:68:63 [INFO] [stdout] | [INFO] [stdout] 68 | impl ServerProto [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | type Transport = Framed>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | type Transport = Framed>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `tokio_core::io::Codec::In`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `tokio_core::io::Codec::Out`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn encode(&mut self, msg: Self::Out, buf: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `tokio_core::io::Codec::In`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `tokio_core::io::Codec::Out`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn encode(&mut self, msg: Self::Out, buf: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `tokio_core::io::Codec::In`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | let ret = match Self::In::deserialize(&mut protocol) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_core::io::EasyBuf::drain_to`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | buf.drain_to(size as usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(io.framed(ThriftCodec::::new())) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(io.framed(ThriftCodec::new())) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated type `tokio_core::io::Codec::In`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | let ret = match Self::In::deserialize(&mut protocol) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_core::io::EasyBuf::drain_to`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | buf.drain_to(size as usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(io.framed(ThriftCodec::::new())) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/tokio.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | Ok(io.framed(ThriftCodec::new())) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-thrift` (lib test) due to 2 previous errors; 62 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f6338e09446805fbceb60a33fc957579ecfd81d36a59bb102b32ad6c5f8f8690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6338e09446805fbceb60a33fc957579ecfd81d36a59bb102b32ad6c5f8f8690", kill_on_drop: false }` [INFO] [stdout] f6338e09446805fbceb60a33fc957579ecfd81d36a59bb102b32ad6c5f8f8690 [INFO] checking tokio-thrift-0.1.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate tokio-thrift 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate tokio-thrift 0.1.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-thrift 0.1.0 [INFO] finished tweaking crates.io crate tokio-thrift 0.1.0 [INFO] tweaked toml for crates.io crate tokio-thrift 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc6043d28e2c79a24fa1ff765ac81c156d4545861132850454e4703c388e7656 [INFO] running `Command { std: "docker" "start" "-a" "bc6043d28e2c79a24fa1ff765ac81c156d4545861132850454e4703c388e7656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc6043d28e2c79a24fa1ff765ac81c156d4545861132850454e4703c388e7656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6043d28e2c79a24fa1ff765ac81c156d4545861132850454e4703c388e7656", kill_on_drop: false }` [INFO] [stdout] bc6043d28e2c79a24fa1ff765ac81c156d4545861132850454e4703c388e7656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 545e4564bf5d37eb4d52f4b76cd2b9e60ff8055380a645b36ebff525d0861cec [INFO] running `Command { std: "docker" "start" "-a" "545e4564bf5d37eb4d52f4b76cd2b9e60ff8055380a645b36ebff525d0861cec", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "545e4564bf5d37eb4d52f4b76cd2b9e60ff8055380a645b36ebff525d0861cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "545e4564bf5d37eb4d52f4b76cd2b9e60ff8055380a645b36ebff525d0861cec", kill_on_drop: false }` [INFO] [stdout] 545e4564bf5d37eb4d52f4b76cd2b9e60ff8055380a645b36ebff525d0861cec