[INFO] fetching crate tokio-thrift 0.1.0... [INFO] testing tokio-thrift-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate tokio-thrift 0.1.0 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate tokio-thrift 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-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-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834ac0ccb30f92b018670a65aee755a4ed178a6b87d24e4c2c4d9d705741cfc2 [INFO] running `Command { std: "docker" "start" "-a" "834ac0ccb30f92b018670a65aee755a4ed178a6b87d24e4c2c4d9d705741cfc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834ac0ccb30f92b018670a65aee755a4ed178a6b87d24e4c2c4d9d705741cfc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834ac0ccb30f92b018670a65aee755a4ed178a6b87d24e4c2c4d9d705741cfc2", kill_on_drop: false }` [INFO] [stdout] 834ac0ccb30f92b018670a65aee755a4ed178a6b87d24e4c2c4d9d705741cfc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 486ae395f4e265dcf6a74e4ae88f114df339de3d4f34b077247c359b497e8963 [INFO] running `Command { std: "docker" "start" "-a" "486ae395f4e265dcf6a74e4ae88f114df339de3d4f34b077247c359b497e8963", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling log v0.3.9 [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: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn cause(&self) -> Option<&error::Error> { [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: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 associated function `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 associated function `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 associated function `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: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "486ae395f4e265dcf6a74e4ae88f114df339de3d4f34b077247c359b497e8963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "486ae395f4e265dcf6a74e4ae88f114df339de3d4f34b077247c359b497e8963", kill_on_drop: false }` [INFO] [stdout] 486ae395f4e265dcf6a74e4ae88f114df339de3d4f34b077247c359b497e8963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3a84787905cff472d55295c7c82c95f8181ad40d653e2eb63cf3b1344adb7db [INFO] running `Command { std: "docker" "start" "-a" "a3a84787905cff472d55295c7c82c95f8181ad40d653e2eb63cf3b1344adb7db", kill_on_drop: false }` [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: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn cause(&self) -> Option<&error::Error> { [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: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 associated function `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 associated function `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 associated function `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] warning: 51 warnings emitted [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] [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: 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn cause(&self) -> Option<&error::Error> { [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: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 associated function `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 associated function `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 associated function `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] error: aborting due to previous error; 53 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` due to 2 previous errors; 53 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3a84787905cff472d55295c7c82c95f8181ad40d653e2eb63cf3b1344adb7db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a84787905cff472d55295c7c82c95f8181ad40d653e2eb63cf3b1344adb7db", kill_on_drop: false }` [INFO] [stdout] a3a84787905cff472d55295c7c82c95f8181ad40d653e2eb63cf3b1344adb7db