[INFO] fetching crate bincode-thin 1.1.2... [INFO] checking bincode-thin-1.1.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate bincode-thin 1.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate bincode-thin 1.1.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bincode-thin 1.1.2 [INFO] finished tweaking crates.io crate bincode-thin 1.1.2 [INFO] tweaked toml for crates.io crate bincode-thin 1.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding autocfg v0.1.8 (available: v1.4.0) [INFO] [stderr] Adding serde_bytes v0.10.5 (available: v0.11.15) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91fb2aca007bf601dc9b554273375fd90e706f6f9a564e764c7dcd00d1c6d10 [INFO] running `Command { std: "docker" "start" "-a" "f91fb2aca007bf601dc9b554273375fd90e706f6f9a564e764c7dcd00d1c6d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91fb2aca007bf601dc9b554273375fd90e706f6f9a564e764c7dcd00d1c6d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91fb2aca007bf601dc9b554273375fd90e706f6f9a564e764c7dcd00d1c6d10", kill_on_drop: false }` [INFO] [stdout] f91fb2aca007bf601dc9b554273375fd90e706f6f9a564e764c7dcd00d1c6d10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85a98f512dc5168cadff434268a2b0947ed9971e76f257751769c97c86f3b888 [INFO] running `Command { std: "docker" "start" "-a" "85a98f512dc5168cadff434268a2b0947ed9971e76f257751769c97c86f3b888", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking serde_bytes v0.10.5 [INFO] [stderr] Compiling bincode-thin v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let len: usize = try!(serde::Deserialize::deserialize(&mut *self)); [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/de/mod.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let value: u8 = try!(serde::Deserialize::deserialize(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_nums!(u16, deserialize_u16, visit_u16, read_u16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_nums!(u16, deserialize_u16, visit_u16, read_u16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_nums!(u32, deserialize_u32, visit_u32, read_u32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_nums!(u32, deserialize_u32, visit_u32, read_u32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | impl_nums!(u64, deserialize_u64, visit_u64, read_u64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | impl_nums!(u64, deserialize_u64, visit_u64, read_u64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | impl_nums!(i16, deserialize_i16, visit_i16, read_i16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | impl_nums!(i16, deserialize_i16, visit_i16, read_i16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | impl_nums!(i32, deserialize_i32, visit_i32, read_i32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | impl_nums!(i32, deserialize_i32, visit_i32, read_i32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | impl_nums!(i64, deserialize_i64, visit_i64, read_i64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | impl_nums!(i64, deserialize_i64, visit_i64, read_i64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | impl_nums!(f32, deserialize_f32, visit_f32, read_f32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | impl_nums!(f32, deserialize_f32, visit_f32, read_f32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | impl_nums!(f64, deserialize_f64, visit_f64, read_f64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | impl_nums!(f64, deserialize_f64, visit_f64, read_f64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | impl_nums!(u128, deserialize_u128, visit_u128, read_u128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | impl_nums!(u128, deserialize_u128, visit_u128, read_u128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl_nums!(i128, deserialize_i128, visit_i128, read_i128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | let len: usize = try!(serde::Deserialize::deserialize(&mut *self)); [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/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl_nums!(i128, deserialize_i128, visit_i128, read_i128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | visitor.visit_u8(try!(self.reader.read_u8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let value: u8 = try!(serde::Deserialize::deserialize(self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | visitor.visit_i8(try!(self.reader.read_i8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let _ = try!(self.reader.read_exact(&mut buf[..1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_nums!(u16, deserialize_u16, visit_u16, read_u16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let res = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.read_bytes(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | impl_nums!(u16, deserialize_u16, visit_u16, read_u16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_nums!(u32, deserialize_u32, visit_u32, read_u32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | let len: usize = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | visitor.visit_string(try!(self.read_string())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl_nums!(u32, deserialize_u32, visit_u32, read_u32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | try!(self.read_bytes(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | let len: usize = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | impl_nums!(u64, deserialize_u64, visit_u64, read_u64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | visitor.visit_byte_buf(try!(self.read_vec())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:248:31 [INFO] [stdout] | [INFO] [stdout] 248 | let idx: u8 = try!(serde::de::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | Ok((try!(val), self)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | let value = try!(serde::de::DeserializeSeed::deserialize( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let value: u8 = try!(serde::de::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | impl_nums!(u64, deserialize_u64, visit_u64, read_u64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | let len = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | let key = try!(serde::de::DeserializeSeed::deserialize( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | impl_nums!(i16, deserialize_i16, visit_i16, read_i16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | let value = try!(serde::de::DeserializeSeed::deserialize( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:365:19 [INFO] [stdout] | [INFO] [stdout] 365 | let len = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | impl_nums!(i16, deserialize_i16, visit_i16, read_i16); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | try!(self.serialize_u64(v.len() as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | try!(self.serialize_u64(v.len() as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | impl_nums!(i32, deserialize_i32, visit_i32, read_i32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | try!(self.writer.write_u8(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | impl_nums!(i32, deserialize_i32, visit_i32, read_i32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | impl_nums!(i64, deserialize_i64, visit_i64, read_i64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(self.serialize_u8(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | impl_nums!(i64, deserialize_i64, visit_i64, read_i64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | try!(self.serialize_u8(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | impl_nums!(f32, deserialize_f32, visit_f32, read_f32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(self.serialize_u8(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!(self.add_value(0 as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | impl_nums!(f32, deserialize_f32, visit_f32, read_f32); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | try!(self.add_value(0 as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | try!(self.add_value(1 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | impl_nums!(f64, deserialize_f64, visit_f64, read_f64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | impl_nums!(f64, deserialize_f64, visit_f64, read_f64); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(self.add_value(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | impl_nums!(u128, deserialize_u128, visit_u128, read_u128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | try!(self.add_value(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | impl_nums!(u128, deserialize_u128, visit_u128, read_u128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | try!(self.add_value(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.read_type::<$ty>()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl_nums!(i128, deserialize_i128, visit_i128, read_i128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | fn accept>(self, T) -> Self::Output; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let value = try!(self.reader.$reader_method::()); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl_nums!(i128, deserialize_i128, visit_i128, read_i128); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_nums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | fn accept(self, T) -> Self::Output; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | visitor.visit_u8(try!(self.reader.read_u8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | visitor.visit_i8(try!(self.reader.read_i8())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let _ = try!(self.reader.read_exact(&mut buf[..1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let res = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.read_bytes(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | let len: usize = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | visitor.visit_string(try!(self.read_string())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | try!(self.read_bytes(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | let len: usize = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | visitor.visit_byte_buf(try!(self.read_vec())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:248:31 [INFO] [stdout] | [INFO] [stdout] 248 | let idx: u8 = try!(serde::de::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | Ok((try!(val), self)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | let value = try!(serde::de::DeserializeSeed::deserialize( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let value: u8 = try!(serde::de::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | let len = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | let key = try!(serde::de::DeserializeSeed::deserialize( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | let value = try!(serde::de::DeserializeSeed::deserialize( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/de/mod.rs:365:19 [INFO] [stdout] | [INFO] [stdout] 365 | let len = try!(serde::Deserialize::deserialize(&mut *self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | try!(self.serialize_u64(v.len() as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | try!(self.serialize_u64(v.len() as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | try!(self.writer.write_u8(1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(self.serialize_u8(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | try!(self.serialize_u8(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | try!(self.serialize_u8(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | try!(self.add_value(0 as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | try!(self.add_value(0 as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | try!(self.add_value(1 as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(self.add_value(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | try!(self.serialize_u64(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | let len = try!(len.ok_or(ErrorKind::SequenceMustHaveLength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | try!(self.add_value(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ser/mod.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | try!(self.add_value(variant_index as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | fn accept>(self, T) -> Self::Output; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | fn accept(self, T) -> Self::Output; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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/error.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | ErrorKind::Io(ref err) => error::Error::description(err), [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/error.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | ErrorKind::Io(ref err) => error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 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/error.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | fn cause(&self) -> Option<&dyn error::Error> { [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/error.rs:86:81 [INFO] [stdout] | [INFO] [stdout] 86 | ErrorKind::InvalidUtf8Encoding(ref e) => write!(fmt, "{}: {}", self.description(), e), [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/error.rs:88:67 [INFO] [stdout] | [INFO] [stdout] 88 | write!(fmt, "{}, expected 0 or 1, found {}", self.description(), b) [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/error.rs:90:70 [INFO] [stdout] | [INFO] [stdout] 90 | ErrorKind::InvalidCharEncoding => write!(fmt, "{}", self.description()), [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/error.rs:92:50 [INFO] [stdout] | [INFO] [stdout] 92 | write!(fmt, "{}, found {}", self.description(), tag) [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/error.rs:94:73 [INFO] [stdout] | [INFO] [stdout] 94 | ErrorKind::SequenceMustHaveLength => write!(fmt, "{}", self.description()), [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/error.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | ErrorKind::SizeLimit => write!(fmt, "{}", self.description()), [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/error.rs:86:81 [INFO] [stdout] | [INFO] [stdout] 86 | ErrorKind::InvalidUtf8Encoding(ref e) => write!(fmt, "{}: {}", self.description(), e), [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/error.rs:88:67 [INFO] [stdout] | [INFO] [stdout] 88 | write!(fmt, "{}, expected 0 or 1, found {}", self.description(), b) [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/error.rs:90:70 [INFO] [stdout] | [INFO] [stdout] 90 | ErrorKind::InvalidCharEncoding => write!(fmt, "{}", self.description()), [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/error.rs:92:50 [INFO] [stdout] | [INFO] [stdout] 92 | write!(fmt, "{}, found {}", self.description(), tag) [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/error.rs:94:73 [INFO] [stdout] | [INFO] [stdout] 94 | ErrorKind::SequenceMustHaveLength => write!(fmt, "{}", self.description()), [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/error.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | ErrorKind::SizeLimit => write!(fmt, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ser/mod.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 248 | impl SizeChecker { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 249 | pub fn new(options: O) -> SizeChecker { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 227 | / fn deserialize_enum( [INFO] [stdout] 228 | | self, [INFO] [stdout] 229 | | _enum: &'static str, [INFO] [stdout] 230 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 233 | | where [INFO] [stdout] 234 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |___________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 235 | { [INFO] [stdout] 236 | impl<'de, 'a, R: 'a, O> serde::de::EnumAccess<'de> for &'a mut Deserializer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ser/mod.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 248 | impl SizeChecker { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 249 | pub fn new(options: O) -> SizeChecker { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/de/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 227 | / fn deserialize_enum( [INFO] [stdout] 228 | | self, [INFO] [stdout] 229 | | _enum: &'static str, [INFO] [stdout] 230 | | _variants: &'static [&'static str], [INFO] [stdout] ... | [INFO] [stdout] 233 | | where [INFO] [stdout] 234 | | V: serde::de::Visitor<'de>, [INFO] [stdout] | |___________________________________- move the `impl` block outside of this method `deserialize_enum` [INFO] [stdout] 235 | { [INFO] [stdout] 236 | impl<'de, 'a, R: 'a, O> serde::de::EnumAccess<'de> for &'a mut Deserializer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Deserializer` is not local [INFO] [stdout] | `EnumAccess` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "85a98f512dc5168cadff434268a2b0947ed9971e76f257751769c97c86f3b888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a98f512dc5168cadff434268a2b0947ed9971e76f257751769c97c86f3b888", kill_on_drop: false }` [INFO] [stdout] 85a98f512dc5168cadff434268a2b0947ed9971e76f257751769c97c86f3b888