[INFO] crate tokio-thrift 0.1.0 is already in cache [INFO] testing tokio-thrift-0.1.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate tokio-thrift 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tokio-thrift 0.1.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9040ae1d89a87e96c4bdbf0b67966af9806052bdfb5881975f039332680d3595 [INFO] running `"docker" "start" "-a" "9040ae1d89a87e96c4bdbf0b67966af9806052bdfb5881975f039332680d3595"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling tokio-thrift v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | try!(self.inner.write_i64::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | try!(self.inner.write_i32::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | try!(self.inner.write_i16::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | try!(self.inner.write_i8(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | try!(self.inner.write_f64::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | try!(self.serialize_i32(val.len() as i32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | try!(self.inner.write(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | try!(self.serialize_i32(version)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | try!(self.serialize_str(name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | try!(self.serialize_i16(0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | try!(self.serialize_i8(ty as i8)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | try!(self.serialize_i16(id)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | try!(self.serialize_i8(ThriftType::Stop as i8)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:154:12 [INFO] [stderr] | [INFO] [stderr] 154 | Ok(try!(self.inner.read_i8()) != 0) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | Ok(try!(self.deserialize_isize()) as usize) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | Ok(try!(self.deserialize_i64()) as isize) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 166 | Ok(try!(self.deserialize_i64()) as u64) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | Ok(try!(self.inner.read_i64::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:174:12 [INFO] [stderr] | [INFO] [stderr] 174 | Ok(try!(self.deserialize_i32()) as u32) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | Ok(try!(self.inner.read_i32::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 182 | Ok(try!(self.deserialize_i16()) as u16) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:186:12 [INFO] [stderr] | [INFO] [stderr] 186 | Ok(try!(self.inner.read_i16::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:190:12 [INFO] [stderr] | [INFO] [stderr] 190 | Ok(try!(self.deserialize_i8()) as u8) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 194 | Ok(try!(self.inner.read_i8())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:198:12 [INFO] [stderr] | [INFO] [stderr] 198 | Ok(try!(self.inner.read_f64::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:203:19 [INFO] [stderr] | [INFO] [stderr] 203 | let len = try!(self.deserialize_i32()) as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | try!(self.inner.read(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:213:19 [INFO] [stderr] | [INFO] [stderr] 213 | let buf = try!(self.deserialize_bytes()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | let s = try!(String::from_utf8(buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:221:25 [INFO] [stderr] | [INFO] [stderr] 221 | let size: i32 = try!(self.deserialize_i32()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:229:27 [INFO] [stderr] | [INFO] [stderr] 229 | name: try!(self.deserialize_str()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:231:26 [INFO] [stderr] | [INFO] [stderr] 231 | seq: try!(self.deserialize_i16()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:254:34 [INFO] [stderr] | [INFO] [stderr] 254 | ty: ThriftType::from(try!(self.deserialize_i8())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:261:25 [INFO] [stderr] | [INFO] [stderr] 261 | field.seq = try!(self.deserialize_i16()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol/mod.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:42 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | impl Codec for ThriftCodec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:56:63 [INFO] [stderr] | [INFO] [stderr] 56 | impl ClientProto [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:68:63 [INFO] [stderr] | [INFO] [stderr] 68 | impl ServerProto [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | type Transport = Framed>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | type Transport = Framed>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::In': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:23:62 [INFO] [stderr] | [INFO] [stderr] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::Out': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | fn encode(&mut self, msg: Self::Out, buf: &mut Vec) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::In': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | let ret = match Self::In::deserialize(&mut protocol) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf::drain_to': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | buf.drain_to(size as usize); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io::framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:64:15 [INFO] [stderr] | [INFO] [stderr] 64 | Ok(io.framed(ThriftCodec::::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io::framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | Ok(io.framed(ThriftCodec::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 51 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `"docker" "inspect" "9040ae1d89a87e96c4bdbf0b67966af9806052bdfb5881975f039332680d3595"` [INFO] running `"docker" "rm" "-f" "9040ae1d89a87e96c4bdbf0b67966af9806052bdfb5881975f039332680d3595"` [INFO] [stdout] 9040ae1d89a87e96c4bdbf0b67966af9806052bdfb5881975f039332680d3595 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cd73d71d894bafcb97cbcd65907be4a53fef32c42bdba65d3c8e846302f51507 [INFO] running `"docker" "start" "-a" "cd73d71d894bafcb97cbcd65907be4a53fef32c42bdba65d3c8e846302f51507"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling tokio-thrift v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | try!(self.inner.write_i64::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | try!(self.inner.write_i32::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | try!(self.inner.write_i16::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | try!(self.inner.write_i8(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | try!(self.inner.write_f64::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | try!(self.serialize_i32(val.len() as i32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | try!(self.inner.write(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | try!(self.serialize_i32(version)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | try!(self.serialize_str(name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | try!(self.serialize_i16(0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | try!(self.serialize_i8(ty as i8)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | try!(self.serialize_i16(id)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | try!(self.serialize_i8(ThriftType::Stop as i8)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:154:12 [INFO] [stderr] | [INFO] [stderr] 154 | Ok(try!(self.inner.read_i8()) != 0) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | Ok(try!(self.deserialize_isize()) as usize) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | Ok(try!(self.deserialize_i64()) as isize) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 166 | Ok(try!(self.deserialize_i64()) as u64) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | Ok(try!(self.inner.read_i64::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:174:12 [INFO] [stderr] | [INFO] [stderr] 174 | Ok(try!(self.deserialize_i32()) as u32) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | Ok(try!(self.inner.read_i32::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 182 | Ok(try!(self.deserialize_i16()) as u16) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:186:12 [INFO] [stderr] | [INFO] [stderr] 186 | Ok(try!(self.inner.read_i16::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:190:12 [INFO] [stderr] | [INFO] [stderr] 190 | Ok(try!(self.deserialize_i8()) as u8) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 194 | Ok(try!(self.inner.read_i8())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:198:12 [INFO] [stderr] | [INFO] [stderr] 198 | Ok(try!(self.inner.read_f64::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:203:19 [INFO] [stderr] | [INFO] [stderr] 203 | let len = try!(self.deserialize_i32()) as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | try!(self.inner.read(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:213:19 [INFO] [stderr] | [INFO] [stderr] 213 | let buf = try!(self.deserialize_bytes()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | let s = try!(String::from_utf8(buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:221:25 [INFO] [stderr] | [INFO] [stderr] 221 | let size: i32 = try!(self.deserialize_i32()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:229:27 [INFO] [stderr] | [INFO] [stderr] 229 | name: try!(self.deserialize_str()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:231:26 [INFO] [stderr] | [INFO] [stderr] 231 | seq: try!(self.deserialize_i16()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:254:34 [INFO] [stderr] | [INFO] [stderr] 254 | ty: ThriftType::from(try!(self.deserialize_i8())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:261:25 [INFO] [stderr] | [INFO] [stderr] 261 | field.seq = try!(self.deserialize_i16()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol/mod.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:42 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | impl Codec for ThriftCodec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:56:63 [INFO] [stderr] | [INFO] [stderr] 56 | impl ClientProto [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:68:63 [INFO] [stderr] | [INFO] [stderr] 68 | impl ServerProto [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | type Transport = Framed>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | type Transport = Framed>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::In': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:23:62 [INFO] [stderr] | [INFO] [stderr] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::Out': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | fn encode(&mut self, msg: Self::Out, buf: &mut Vec) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::In': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | let ret = match Self::In::deserialize(&mut protocol) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf::drain_to': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | buf.drain_to(size as usize); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io::framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:64:15 [INFO] [stderr] | [INFO] [stderr] 64 | Ok(io.framed(ThriftCodec::::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io::framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | Ok(io.framed(ThriftCodec::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 51 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `Deserialize` [INFO] [stderr] --> src/protocol/binary_protocol.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | use ::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Deserialize` in the root [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | try!(self.inner.write_i64::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | try!(self.inner.write_i32::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | try!(self.inner.write_i16::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | try!(self.inner.write_i8(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | try!(self.inner.write_f64::(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | try!(self.serialize_i32(val.len() as i32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | try!(self.inner.write(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | try!(self.serialize_i32(version)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | try!(self.serialize_str(name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | try!(self.serialize_i16(0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | try!(self.serialize_i8(ty as i8)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | try!(self.serialize_i16(id)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | try!(self.serialize_i8(ThriftType::Stop as i8)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:154:12 [INFO] [stderr] | [INFO] [stderr] 154 | Ok(try!(self.inner.read_i8()) != 0) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | Ok(try!(self.deserialize_isize()) as usize) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | Ok(try!(self.deserialize_i64()) as isize) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 166 | Ok(try!(self.deserialize_i64()) as u64) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | Ok(try!(self.inner.read_i64::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:174:12 [INFO] [stderr] | [INFO] [stderr] 174 | Ok(try!(self.deserialize_i32()) as u32) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | Ok(try!(self.inner.read_i32::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 182 | Ok(try!(self.deserialize_i16()) as u16) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:186:12 [INFO] [stderr] | [INFO] [stderr] 186 | Ok(try!(self.inner.read_i16::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:190:12 [INFO] [stderr] | [INFO] [stderr] 190 | Ok(try!(self.deserialize_i8()) as u8) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 194 | Ok(try!(self.inner.read_i8())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:198:12 [INFO] [stderr] | [INFO] [stderr] 198 | Ok(try!(self.inner.read_f64::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:203:19 [INFO] [stderr] | [INFO] [stderr] 203 | let len = try!(self.deserialize_i32()) as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | try!(self.inner.read(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:213:19 [INFO] [stderr] | [INFO] [stderr] 213 | let buf = try!(self.deserialize_bytes()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | let s = try!(String::from_utf8(buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:221:25 [INFO] [stderr] | [INFO] [stderr] 221 | let size: i32 = try!(self.deserialize_i32()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:229:27 [INFO] [stderr] | [INFO] [stderr] 229 | name: try!(self.deserialize_str()), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:231:26 [INFO] [stderr] | [INFO] [stderr] 231 | seq: try!(self.deserialize_i16()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:254:34 [INFO] [stderr] | [INFO] [stderr] 254 | ty: ThriftType::from(try!(self.deserialize_i8())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol/binary_protocol.rs:261:25 [INFO] [stderr] | [INFO] [stderr] 261 | field.seq = try!(self.deserialize_i16()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/protocol/binary_protocol.rs:274:27 [INFO] [stderr] | [INFO] [stderr] 274 | use std::io::{Cursor, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserializer`, `Serialize`, `ThriftMessage`, `ThriftType` [INFO] [stderr] --> src/protocol/binary_protocol.rs:276:39 [INFO] [stderr] | [INFO] [stderr] 276 | use protocol::{ThriftMessageType, ThriftType, ThriftMessage, ThriftDeserializer, ThriftSerializer, Serializer, Serialize, Deserializer}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol/mod.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:2:42 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio_core::io::{Codec, EasyBuf, Io, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | impl Codec for ThriftCodec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:56:63 [INFO] [stderr] | [INFO] [stderr] 56 | impl ClientProto [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:68:63 [INFO] [stderr] | [INFO] [stderr] 68 | impl ServerProto [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:60:22 [INFO] [stderr] | [INFO] [stderr] 60 | type Transport = Framed>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | type Transport = Framed>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::In': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:23:62 [INFO] [stderr] | [INFO] [stderr] 23 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::Out': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | fn encode(&mut self, msg: Self::Out, buf: &mut Vec) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Codec::In': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | let ret = match Self::In::deserialize(&mut protocol) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::EasyBuf::drain_to': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | buf.drain_to(size as usize); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io::framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:64:15 [INFO] [stderr] | [INFO] [stderr] 64 | Ok(io.framed(ThriftCodec::::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_core::io::Io::framed': moved to the `tokio-io` crate [INFO] [stderr] --> src/tokio.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | Ok(io.framed(ThriftCodec::new())) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 53 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio-thrift`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cd73d71d894bafcb97cbcd65907be4a53fef32c42bdba65d3c8e846302f51507"` [INFO] running `"docker" "rm" "-f" "cd73d71d894bafcb97cbcd65907be4a53fef32c42bdba65d3c8e846302f51507"` [INFO] [stdout] cd73d71d894bafcb97cbcd65907be4a53fef32c42bdba65d3c8e846302f51507