[INFO] fetching crate rmp-serialize 0.8.1... [INFO] checking rmp-serialize-0.8.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate rmp-serialize 0.8.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rmp-serialize 0.8.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rmp-serialize 0.8.1 [INFO] finished tweaking crates.io crate rmp-serialize 0.8.1 [INFO] tweaked toml for crates.io crate rmp-serialize 0.8.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 247db3df5efe32be343809ab4fa0dca1ad3d081be1ca7b2a796915f71e54aad2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "247db3df5efe32be343809ab4fa0dca1ad3d081be1ca7b2a796915f71e54aad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247db3df5efe32be343809ab4fa0dca1ad3d081be1ca7b2a796915f71e54aad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247db3df5efe32be343809ab4fa0dca1ad3d081be1ca7b2a796915f71e54aad2", kill_on_drop: false }` [INFO] [stdout] 247db3df5efe32be343809ab4fa0dca1ad3d081be1ca7b2a796915f71e54aad2 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39bfa655d76ee0930cc614a07af607b72d301c47884a95311effce8a437159a5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "39bfa655d76ee0930cc614a07af607b72d301c47884a95311effce8a437159a5", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Checking rmp-serialize v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decode.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | Ok(try!(read_nil(&mut self.rd))) [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/decode.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(try!(read_bool(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(try!(read_f32(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(try!(read_f64(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | let mut res = try!(self.read_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | let len = try!(read_str_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(self.rd.read_exact(&mut buf).map_err(|err| Error::InvalidDataRead(err))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let len = try!(read_array_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | let id = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | try!(read_array_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | let actual = try!(read_array_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | let len = try!(read_array_len(&mut self.rd)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:310:19 [INFO] [stdout] | [INFO] [stdout] 310 | let len = try!(read_map_len(&mut self.rd)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encode.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encode.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(wr: &'a mut Write) -> Encoder<'a> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(write_uint(&mut self.wr, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(write_sint(&mut self.wr, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write_array_len(&mut self.wr, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(self.emit_usize(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | try!(write_array_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write_array_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | try!(write_array_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write_map_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decode.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decode.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | Ok(try!(read_nil(&mut self.rd))) [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/decode.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(try!(read_bool(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | Ok(try!(read_int(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(try!(read_f32(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(try!(read_f64(&mut self.rd))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | let mut res = try!(self.read_str()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | let len = try!(read_str_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(self.rd.read_exact(&mut buf).map_err(|err| Error::InvalidDataRead(err))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let len = try!(read_array_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | let id = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | try!(read_array_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | let actual = try!(read_array_len(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | let len = try!(read_array_len(&mut self.rd)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:310:19 [INFO] [stdout] | [INFO] [stdout] 310 | let len = try!(read_map_len(&mut self.rd)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encode.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encode.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(wr: &'a mut Write) -> Encoder<'a> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(write_uint(&mut self.wr, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(write_sint(&mut self.wr, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write_array_len(&mut self.wr, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(self.emit_usize(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | try!(write_array_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write_array_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | try!(write_array_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write_map_len(&mut self.wr, len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/decode.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> tests/encoder.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> tests/encoder.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Debug, PartialEq, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> tests/encoder.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug, PartialEq, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> tests/encoder.rs:308:32 [INFO] [stdout] | [INFO] [stdout] 308 | #[derive(Debug, PartialEq, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "39bfa655d76ee0930cc614a07af607b72d301c47884a95311effce8a437159a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39bfa655d76ee0930cc614a07af607b72d301c47884a95311effce8a437159a5", kill_on_drop: false }` [INFO] [stdout] 39bfa655d76ee0930cc614a07af607b72d301c47884a95311effce8a437159a5