[INFO] fetching crate rmp-serialize 0.8.1... [INFO] testing rmp-serialize-0.8.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rmp-serialize 0.8.1 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rmp-serialize 0.8.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19be34eac98edc5d15de8c3ac37982a58551e76456f5147bf4675e0af00338cc [INFO] running `Command { std: "docker" "start" "-a" "19be34eac98edc5d15de8c3ac37982a58551e76456f5147bf4675e0af00338cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19be34eac98edc5d15de8c3ac37982a58551e76456f5147bf4675e0af00338cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19be34eac98edc5d15de8c3ac37982a58551e76456f5147bf4675e0af00338cc", kill_on_drop: false }` [INFO] [stdout] 19be34eac98edc5d15de8c3ac37982a58551e76456f5147bf4675e0af00338cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bdc88ef235f061ad4693fcd9527c143a9e9b313cdc99ec6054586fb1a3e69935 [INFO] running `Command { std: "docker" "start" "-a" "bdc88ef235f061ad4693fcd9527c143a9e9b313cdc99ec6054586fb1a3e69935", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rmp-serialize v0.8.1 (/opt/rustwide/workdir) [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: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: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: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: 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 method `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/encode.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut dyn Write, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(wr: &'a mut dyn Write) -> Encoder<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "bdc88ef235f061ad4693fcd9527c143a9e9b313cdc99ec6054586fb1a3e69935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc88ef235f061ad4693fcd9527c143a9e9b313cdc99ec6054586fb1a3e69935", kill_on_drop: false }` [INFO] [stdout] bdc88ef235f061ad4693fcd9527c143a9e9b313cdc99ec6054586fb1a3e69935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a9cc41c0e26dece5f9655a9ca0655d9c5f5bdbfdb0b279be6b8ea1ac10751c3e [INFO] running `Command { std: "docker" "start" "-a" "a9cc41c0e26dece5f9655a9ca0655d9c5f5bdbfdb0b279be6b8ea1ac10751c3e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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] [stderr] Compiling rmp-serialize v0.8.1 (/opt/rustwide/workdir) [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: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: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: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: 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 method `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/encode.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut dyn Write, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(wr: &'a mut dyn Write) -> Encoder<'a> { [INFO] [stdout] | +++ [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: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: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: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: 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] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> tests/encoder.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> tests/encoder.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Debug, PartialEq, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> tests/encoder.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Debug, PartialEq, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [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: use of deprecated method `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/encode.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | wr: &'a mut dyn Write, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(wr: &'a mut dyn Write) -> Encoder<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `Decoded` in the current scope [INFO] [stdout] --> tests/encoder.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 188 | struct Decoded { id: u32, value: u32 } [INFO] [stdout] | -------------- method `encode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 191 | val.encode(&mut Encoder::new(&mut &mut buf[..])).ok().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Decoded` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 191 | val.id.encode(&mut Encoder::new(&mut &mut buf[..])).ok().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] 191 | val.value.encode(&mut Encoder::new(&mut &mut buf[..])).ok().unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `pass_enum::Custom` in the current scope [INFO] [stdout] --> tests/encoder.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 263 | enum Custom { [INFO] [stdout] | ----------- method `encode` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 271 | val.encode(&mut Encoder::new(&mut &mut buf[..])).ok().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pass_enum::Custom` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `pass_enum_variant_with_arg::Custom` in the current scope [INFO] [stdout] --> tests/encoder.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 281 | enum Custom { [INFO] [stdout] | ----------- method `encode` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 289 | val.encode(&mut Encoder::new(&mut &mut buf[..])).ok().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `pass_enum_variant_with_arg::Custom` [INFO] [stdout] | [INFO] [stdout] note: the method `encode` exists on the type `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 853 | fn encode(&self, s: &mut S) -> Result<(), S::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `encode_struct_with_string_using_vec::Custom` in the current scope [INFO] [stdout] --> tests/encoder.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 309 | struct Custom { [INFO] [stdout] | ------------- method `encode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 316 | val.encode(&mut Encoder::new(&mut buf)).ok().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `encode_struct_with_string_using_vec::Custom` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encodable` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 316 | val.data.encode(&mut Encoder::new(&mut buf)).ok().unwrap(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmp-serialize` (test "encoder") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a9cc41c0e26dece5f9655a9ca0655d9c5f5bdbfdb0b279be6b8ea1ac10751c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9cc41c0e26dece5f9655a9ca0655d9c5f5bdbfdb0b279be6b8ea1ac10751c3e", kill_on_drop: false }` [INFO] [stdout] a9cc41c0e26dece5f9655a9ca0655d9c5f5bdbfdb0b279be6b8ea1ac10751c3e