[INFO] fetching crate tokio-thrift 0.1.0... [INFO] testing tokio-thrift-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tokio-thrift 0.1.0 into /workspace/builds/worker-3-tc2/source [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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-thrift 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.4.2 (available: v1.5.0) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71bd053e6ca00784fa95517c0c57f1444298450b275aa853c790de99c124dea0 [INFO] running `Command { std: "docker" "start" "-a" "71bd053e6ca00784fa95517c0c57f1444298450b275aa853c790de99c124dea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71bd053e6ca00784fa95517c0c57f1444298450b275aa853c790de99c124dea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71bd053e6ca00784fa95517c0c57f1444298450b275aa853c790de99c124dea0", kill_on_drop: false }` [INFO] [stdout] 71bd053e6ca00784fa95517c0c57f1444298450b275aa853c790de99c124dea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 791d39af4248d59b1ade57601331f901b0b5b0e19d4fac44db0c904047131254 [INFO] running `Command { std: "docker" "start" "-a" "791d39af4248d59b1ade57601331f901b0b5b0e19d4fac44db0c904047131254", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tokio-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: 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 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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: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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.25s [INFO] running `Command { std: "docker" "inspect" "791d39af4248d59b1ade57601331f901b0b5b0e19d4fac44db0c904047131254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791d39af4248d59b1ade57601331f901b0b5b0e19d4fac44db0c904047131254", kill_on_drop: false }` [INFO] [stdout] 791d39af4248d59b1ade57601331f901b0b5b0e19d4fac44db0c904047131254 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbf3f4a79196ec065258a5a678138cdc89f9155fdc25c3d61622a36040e6b0fa [INFO] running `Command { std: "docker" "start" "-a" "cbf3f4a79196ec065258a5a678138cdc89f9155fdc25c3d61622a36040e6b0fa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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: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] [stderr] Compiling tokio-thrift v0.1.0 (/opt/rustwide/workdir) [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 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer`, `Serialize`, `ThriftMessage`, and `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: 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 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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: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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-thrift` (lib test) due to 1 previous error; 53 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cbf3f4a79196ec065258a5a678138cdc89f9155fdc25c3d61622a36040e6b0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbf3f4a79196ec065258a5a678138cdc89f9155fdc25c3d61622a36040e6b0fa", kill_on_drop: false }` [INFO] [stdout] cbf3f4a79196ec065258a5a678138cdc89f9155fdc25c3d61622a36040e6b0fa