[INFO] fetching crate serde_jsonrc 0.1.0... [INFO] linting serde_jsonrc-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate serde_jsonrc 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate serde_jsonrc 0.1.0 [INFO] finished tweaking crates.io crate serde_jsonrc 0.1.0 [INFO] tweaked toml for crates.io crate serde_jsonrc 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_jsonrc 0.1.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "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" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding compiletest_rs v0.3.26 (available: v0.11.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.13.0) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.17) [INFO] [stderr] Adding ryu v0.2.8 (available: v1.0.23) [INFO] [stderr] Adding serde_bytes v0.10.5 (available: v0.11.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded serde_bytes v0.10.5 [INFO] [stderr] Downloaded unicode-xid v0.2.6 [INFO] [stderr] Downloaded filetime v0.2.27 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded miniz_oxide v0.8.9 [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded hashbrown v0.12.3 [INFO] [stderr] Downloaded compiletest_rs v0.3.26 [INFO] [stderr] Downloaded indexmap v1.9.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.27 [INFO] [stderr] Downloaded tester v0.6.0 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded adler2 v2.0.1 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded unicode-width v0.2.2 [INFO] [stderr] Downloaded getopts v0.2.24 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded redox_syscall v0.7.3 [INFO] [stderr] Downloaded libredox v0.1.14 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded rustfix v0.4.6 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded itoa v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f955850b3f43094376dd96e372c73ebc8a754fcc0231cd42a83935f03cab9b63 [INFO] running `Command { std: "docker" "start" "-a" "f955850b3f43094376dd96e372c73ebc8a754fcc0231cd42a83935f03cab9b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f955850b3f43094376dd96e372c73ebc8a754fcc0231cd42a83935f03cab9b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f955850b3f43094376dd96e372c73ebc8a754fcc0231cd42a83935f03cab9b63", kill_on_drop: false }` [INFO] [stdout] f955850b3f43094376dd96e372c73ebc8a754fcc0231cd42a83935f03cab9b63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6fc2fd3e239924437ccebefc705f601ed0a10381df4ef7e931d037c0ad714cf [INFO] running `Command { std: "docker" "start" "-a" "f6fc2fd3e239924437ccebefc705f601ed0a10381df4ef7e931d037c0ad714cf", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Compiling compiletest_rs v0.3.26 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking tester v0.6.0 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking rustfix v0.4.6 [INFO] [stderr] Checking serde_bytes v0.10.5 [INFO] [stderr] Checking serde_jsonrc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] = note: `#[warn(clippy::deprecated_clippy_cfg_attr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | #![cfg_attr(feature = "cargo-clippy", allow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/error.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "cargo-clippy", allow(fallible_impl_from))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | #![cfg_attr(feature = "cargo-clippy", allow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/error.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "cargo-clippy", allow(fallible_impl_from))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | read: read, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `read` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/de.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | offset: offset, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `offset` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | b'0'...b'9' => match self.parse_any_number(true) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | b'0'...b'9' => try!(self.parse_integer(true)).visit(visitor), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | c @ b'1'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:337:39 [INFO] [stdout] | [INFO] [stdout] 337 | while let c @ b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | b'0'...b'9' => Err(self.peek_error(ErrorCode::InvalidNumber)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | c @ b'1'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:386:33 [INFO] [stdout] | [INFO] [stdout] 386 | c @ b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:472:27 [INFO] [stdout] | [INFO] [stdout] 472 | while let c @ b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:480:31 [INFO] [stdout] | [INFO] [stdout] 480 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:522:21 [INFO] [stdout] | [INFO] [stdout] 522 | c @ b'0'...b'9' => (c - b'0') as i32, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:528:27 [INFO] [stdout] | [INFO] [stdout] 528 | while let c @ b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:563:23 [INFO] [stdout] | [INFO] [stdout] 563 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | b'0'...b'9' => self.parse_any_number(true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:825:21 [INFO] [stdout] | [INFO] [stdout] 825 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:911:28 [INFO] [stdout] | [INFO] [stdout] 911 | if let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:915:17 [INFO] [stdout] | [INFO] [stdout] 915 | b'1'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:916:31 [INFO] [stdout] | [INFO] [stdout] 916 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:961:17 [INFO] [stdout] | [INFO] [stdout] 961 | b'0'...b'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:967:23 [INFO] [stdout] | [INFO] [stdout] 967 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/de.rs:1173:5 [INFO] [stdout] | [INFO] [stdout] 1173 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:1076:17 [INFO] [stdout] | [INFO] [stdout] 1076 | b'0'...b'9' => try!(self.parse_any_number(true)).visit(visitor), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:1770:25 [INFO] [stdout] | [INFO] [stdout] 1770 | VariantAccess { de: de } [INFO] [stdout] | ^^^^^^ help: replace it with: `de` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:1823:29 [INFO] [stdout] | [INFO] [stdout] 1823 | UnitVariantAccess { de: de } [INFO] [stdout] | ^^^^^^ help: replace it with: `de` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/de.rs:1930:5 [INFO] [stdout] | [INFO] [stdout] 1930 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:2034:13 [INFO] [stdout] | [INFO] [stdout] 2034 | offset: offset, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `offset` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | code: code, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `code` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | column: column, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `column` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | column: column, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `column` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get(&self, key: &Q) -> Option<&Value> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 76 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] = note: `#[warn(clippy::multiple_bound_locations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 89 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_mut(&mut self, key: &Q) -> Option<&mut Value> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn remove(&mut self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 127 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/map.rs:144:70 [INFO] [stdout] | [INFO] [stdout] 144 | EntryImpl::Vacant(vacant) => Entry::Vacant(VacantEntry { vacant: vacant }), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `vacant` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/map.rs:145:78 [INFO] [stdout] | [INFO] [stdout] 145 | EntryImpl::Occupied(occupied) => Entry::Occupied(OccupiedEntry { occupied: occupied }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `occupied` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ser.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | writer: writer, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `writer` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ser.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | formatter: formatter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `formatter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:264:33 [INFO] [stdout] | [INFO] [stdout] 264 | fn serialize_newtype_struct(self, _name: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 265 | where [INFO] [stdout] 266 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:272:34 [INFO] [stdout] | [INFO] [stdout] 272 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 280 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | fn serialize_some(self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 318 | where [INFO] [stdout] 319 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:459:20 [INFO] [stdout] | [INFO] [stdout] 459 | fn collect_str(self, value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 460 | where [INFO] [stdout] 461 | T: fmt::Display, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 544 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 545 | where [INFO] [stdout] 546 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:599:26 [INFO] [stdout] | [INFO] [stdout] 599 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 600 | where [INFO] [stdout] 601 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:621:24 [INFO] [stdout] | [INFO] [stdout] 621 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 622 | where [INFO] [stdout] 623 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:643:24 [INFO] [stdout] | [INFO] [stdout] 643 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 644 | where [INFO] [stdout] 645 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | fn serialize_key(&mut self, key: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 683 | where [INFO] [stdout] 684 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:713:24 [INFO] [stdout] | [INFO] [stdout] 713 | fn serialize_value(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 714 | where [INFO] [stdout] 715 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:764:24 [INFO] [stdout] | [INFO] [stdout] 764 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 765 | where [INFO] [stdout] 766 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:815:24 [INFO] [stdout] | [INFO] [stdout] 815 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 816 | where [INFO] [stdout] 817 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:988:5 [INFO] [stdout] | [INFO] [stdout] 988 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:1085:5 [INFO] [stdout] | [INFO] [stdout] 1085 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:893:33 [INFO] [stdout] | [INFO] [stdout] 893 | fn serialize_newtype_struct(self, _name: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 894 | where [INFO] [stdout] 895 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1130:34 [INFO] [stdout] | [INFO] [stdout] 1130 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1138 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1147:23 [INFO] [stdout] | [INFO] [stdout] 1147 | fn serialize_some(self, _value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1148 | where [INFO] [stdout] 1149 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1614:19 [INFO] [stdout] | [INFO] [stdout] 1614 | fn write_null(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1615 | where [INFO] [stdout] 1616 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1623:19 [INFO] [stdout] | [INFO] [stdout] 1623 | fn write_bool(&mut self, writer: &mut W, value: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1624 | where [INFO] [stdout] 1625 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1637:17 [INFO] [stdout] | [INFO] [stdout] 1637 | fn write_i8(&mut self, writer: &mut W, value: i8) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1638 | where [INFO] [stdout] 1639 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1646:18 [INFO] [stdout] | [INFO] [stdout] 1646 | fn write_i16(&mut self, writer: &mut W, value: i16) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1647 | where [INFO] [stdout] 1648 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1655:18 [INFO] [stdout] | [INFO] [stdout] 1655 | fn write_i32(&mut self, writer: &mut W, value: i32) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1656 | where [INFO] [stdout] 1657 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1664:18 [INFO] [stdout] | [INFO] [stdout] 1664 | fn write_i64(&mut self, writer: &mut W, value: i64) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1665 | where [INFO] [stdout] 1666 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1673:17 [INFO] [stdout] | [INFO] [stdout] 1673 | fn write_u8(&mut self, writer: &mut W, value: u8) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1674 | where [INFO] [stdout] 1675 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1682:18 [INFO] [stdout] | [INFO] [stdout] 1682 | fn write_u16(&mut self, writer: &mut W, value: u16) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1683 | where [INFO] [stdout] 1684 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1691:18 [INFO] [stdout] | [INFO] [stdout] 1691 | fn write_u32(&mut self, writer: &mut W, value: u32) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1692 | where [INFO] [stdout] 1693 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1700:18 [INFO] [stdout] | [INFO] [stdout] 1700 | fn write_u64(&mut self, writer: &mut W, value: u64) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1701 | where [INFO] [stdout] 1702 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1709:18 [INFO] [stdout] | [INFO] [stdout] 1709 | fn write_f32(&mut self, writer: &mut W, value: f32) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1710 | where [INFO] [stdout] 1711 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1720:18 [INFO] [stdout] | [INFO] [stdout] 1720 | fn write_f64(&mut self, writer: &mut W, value: f64) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1721 | where [INFO] [stdout] 1722 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1731:25 [INFO] [stdout] | [INFO] [stdout] 1731 | fn write_number_str(&mut self, writer: &mut W, value: &str) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1732 | where [INFO] [stdout] 1733 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1741:21 [INFO] [stdout] | [INFO] [stdout] 1741 | fn begin_string(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1742 | where [INFO] [stdout] 1743 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1751:19 [INFO] [stdout] | [INFO] [stdout] 1751 | fn end_string(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1752 | where [INFO] [stdout] 1753 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1761:30 [INFO] [stdout] | [INFO] [stdout] 1761 | fn write_string_fragment(&mut self, writer: &mut W, fragment: &str) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1762 | where [INFO] [stdout] 1763 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1770:26 [INFO] [stdout] | [INFO] [stdout] 1770 | fn write_char_escape( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1776 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1809:20 [INFO] [stdout] | [INFO] [stdout] 1809 | fn begin_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1810 | where [INFO] [stdout] 1811 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1819:18 [INFO] [stdout] | [INFO] [stdout] 1819 | fn end_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1820 | where [INFO] [stdout] 1821 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1829:26 [INFO] [stdout] | [INFO] [stdout] 1829 | fn begin_array_value(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1830 | where [INFO] [stdout] 1831 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1842:24 [INFO] [stdout] | [INFO] [stdout] 1842 | fn end_array_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1843 | where [INFO] [stdout] 1844 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1852:21 [INFO] [stdout] | [INFO] [stdout] 1852 | fn begin_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1853 | where [INFO] [stdout] 1854 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1862:19 [INFO] [stdout] | [INFO] [stdout] 1862 | fn end_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1863 | where [INFO] [stdout] 1864 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1871:25 [INFO] [stdout] | [INFO] [stdout] 1871 | fn begin_object_key(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1872 | where [INFO] [stdout] 1873 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1886:23 [INFO] [stdout] | [INFO] [stdout] 1886 | fn end_object_key(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1887 | where [INFO] [stdout] 1888 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1897:27 [INFO] [stdout] | [INFO] [stdout] 1897 | fn begin_object_value(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1898 | where [INFO] [stdout] 1899 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1906:25 [INFO] [stdout] | [INFO] [stdout] 1906 | fn end_object_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1907 | where [INFO] [stdout] 1908 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1916:27 [INFO] [stdout] | [INFO] [stdout] 1916 | fn write_raw_fragment(&mut self, writer: &mut W, fragment: &str) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1917 | where [INFO] [stdout] 1918 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ser.rs:1949:13 [INFO] [stdout] | [INFO] [stdout] 1949 | indent: indent, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `indent` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1962:20 [INFO] [stdout] | [INFO] [stdout] 1962 | fn begin_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1963 | where [INFO] [stdout] 1964 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1972:18 [INFO] [stdout] | [INFO] [stdout] 1972 | fn end_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1973 | where [INFO] [stdout] 1974 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1987:26 [INFO] [stdout] | [INFO] [stdout] 1987 | fn begin_array_value(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1988 | where [INFO] [stdout] 1989 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2001:24 [INFO] [stdout] | [INFO] [stdout] 2001 | fn end_array_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2002 | where [INFO] [stdout] 2003 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2010:21 [INFO] [stdout] | [INFO] [stdout] 2010 | fn begin_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2011 | where [INFO] [stdout] 2012 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2020:19 [INFO] [stdout] | [INFO] [stdout] 2020 | fn end_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2021 | where [INFO] [stdout] 2022 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2035:25 [INFO] [stdout] | [INFO] [stdout] 2035 | fn begin_object_key(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2036 | where [INFO] [stdout] 2037 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2048:27 [INFO] [stdout] | [INFO] [stdout] 2048 | fn begin_object_value(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2049 | where [INFO] [stdout] 2050 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2056:25 [INFO] [stdout] | [INFO] [stdout] 2056 | fn end_object_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2057 | where [INFO] [stdout] 2058 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2065:23 [INFO] [stdout] | [INFO] [stdout] 2065 | fn format_escaped_str( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2071 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2065:34 [INFO] [stdout] | [INFO] [stdout] 2065 | fn format_escaped_str( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2072 | F: Formatter, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2080:32 [INFO] [stdout] | [INFO] [stdout] 2080 | fn format_escaped_str_contents( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2086 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2080:43 [INFO] [stdout] | [INFO] [stdout] 2080 | fn format_escaped_str_contents( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2087 | F: Formatter, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2155:21 [INFO] [stdout] | [INFO] [stdout] 2155 | pub fn to_writer(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2158 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2173:28 [INFO] [stdout] | [INFO] [stdout] 2173 | pub fn to_writer_pretty(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2176 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2190:15 [INFO] [stdout] | [INFO] [stdout] 2190 | pub fn to_vec(value: &T) -> Result> [INFO] [stdout] | ^ [INFO] [stdout] 2191 | where [INFO] [stdout] 2192 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2206:22 [INFO] [stdout] | [INFO] [stdout] 2206 | pub fn to_vec_pretty(value: &T) -> Result> [INFO] [stdout] | ^ [INFO] [stdout] 2207 | where [INFO] [stdout] 2208 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2222:18 [INFO] [stdout] | [INFO] [stdout] 2222 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 2223 | where [INFO] [stdout] 2224 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2241:25 [INFO] [stdout] | [INFO] [stdout] 2241 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 2242 | where [INFO] [stdout] 2243 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2253:11 [INFO] [stdout] | [INFO] [stdout] 2253 | fn indent(wr: &mut W, n: usize, s: &[u8]) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2254 | where [INFO] [stdout] 2255 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/value/de.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | variant: variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `variant` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/value/de.rs:776:5 [INFO] [stdout] | [INFO] [stdout] 776 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:831:13 [INFO] [stdout] | [INFO] [stdout] 831 | variant: variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `variant` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/value/de.rs:1260:5 [INFO] [stdout] | [INFO] [stdout] 1260 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:1389:38 [INFO] [stdout] | [INFO] [stdout] 1389 | BorrowedCowStrDeserializer { value: value } [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | fn serialize_newtype_struct( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 160 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | fn serialize_some(self, value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 187 | where [INFO] [stdout] 188 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | fn serialize_element(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 289 | where [INFO] [stdout] 290 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | fn serialize_element(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 306 | where [INFO] [stdout] 307 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | fn serialize_field(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 322 | where [INFO] [stdout] 323 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | fn serialize_field(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 338 | where [INFO] [stdout] 339 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | fn serialize_key(&mut self, key: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 359 | where [INFO] [stdout] 360 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | fn serialize_value(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 377 | where [INFO] [stdout] 378 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:439:33 [INFO] [stdout] | [INFO] [stdout] 439 | fn serialize_newtype_struct( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 445 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:520:34 [INFO] [stdout] | [INFO] [stdout] 520 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 528 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:537:23 [INFO] [stdout] | [INFO] [stdout] 537 | fn serialize_some(self, _value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 538 | where [INFO] [stdout] 539 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 598 | where [INFO] [stdout] 599 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:646:24 [INFO] [stdout] | [INFO] [stdout] 646 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 647 | where [INFO] [stdout] 648 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/iter.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | iter: iter, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | Some(Number { n: n }) [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/number.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 532 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/number.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:658:18 [INFO] [stdout] | [INFO] [stdout] 658 | Number { n: n } [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:678:30 [INFO] [stdout] | [INFO] [stdout] 678 | Number { n: n } [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] ... [INFO] [stdout] 714 | impl_from_unsigned!(u8, u16, u32, u64, usize); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: this warning originates in the macro `impl_from_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:707:30 [INFO] [stdout] | [INFO] [stdout] 707 | Number { n: n } [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] ... [INFO] [stdout] 715 | impl_from_signed!(i8, i16, i32, i64, isize); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: this warning originates in the macro `impl_from_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/read.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | slice: slice, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `slice` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/read.rs:411:28 [INFO] [stdout] | [INFO] [stdout] 411 | fn parse_str_bytes<'s, T: ?Sized, F>( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | T: 's, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:734:23 [INFO] [stdout] | [INFO] [stdout] 734 | 0xDC00...0xDFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:740:28 [INFO] [stdout] | [INFO] [stdout] 740 | n1 @ 0xD800...0xDBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:791:23 [INFO] [stdout] | [INFO] [stdout] 791 | 0xDC00...0xDFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:797:28 [INFO] [stdout] | [INFO] [stdout] 797 | n1 @ 0xD800...0xDBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] = note: `#[warn(clippy::zero_prefixed_literal)]` on by default [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 1, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 0o1, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:17 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 2, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 0o2, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:21 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 3, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 0o3, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:25 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 4, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 0o4, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:29 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 5, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 0o5, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:33 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 6, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 0o6, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:37 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 06, 7, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 0o7, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:41 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 06, 07, 8, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:45 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 06, 07, 08, 9, __, __, __, __, __, __, // 3 [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:352:53 [INFO] [stdout] | [INFO] [stdout] 352 | ErrorCode::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/de.rs:246:43 [INFO] [stdout] | [INFO] [stdout] 246 | fn peek_invalid_type(&mut self, exp: &Expected) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | fn peek_invalid_type(&mut self, exp: &dyn Expected) -> Error { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value/de.rs:1363:37 [INFO] [stdout] | [INFO] [stdout] 1363 | fn invalid_type(&self, exp: &Expected) -> E [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] 1363 | fn invalid_type(&self, exp: &dyn Expected) -> E [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:360:32 [INFO] [stdout] | [INFO] [stdout] 360 | 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] 360 | 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:409:50 [INFO] [stdout] | [INFO] [stdout] 409 | fn invalid_type(unexp: de::Unexpected, exp: &de::Expected) -> Self { [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] 409 | fn invalid_type(unexp: de::Unexpected, exp: &dyn de::Expected) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | fn invalid_type(self, exp: &Expected) -> 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] 105 | fn invalid_type(self, exp: &dyn Expected) -> Error { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> src/de.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{i32, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `i32::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> src/de.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{i32, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `u64::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_str` can be confused for the standard trait method `std::str::FromStr::from_str` [INFO] [stdout] --> src/de.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / pub fn from_str(s: &'a str) -> Self { [INFO] [stdout] 71 | | Deserializer::new(read::StrRead::new(s)) [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::str::FromStr` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] = note: `#[warn(clippy::should_implement_trait)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] = note: `#[warn(clippy::deprecated_clippy_cfg_attr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter` [INFO] [stdout] --> src/de.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / pub fn into_iter(self) -> StreamDeserializer<'de, R, T> [INFO] [stdout] 129 | | where [INFO] [stdout] 130 | | T: de::Deserialize<'de>, [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | #![cfg_attr(feature = "cargo-clippy", allow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/error.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "cargo-clippy", allow(fallible_impl_from))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/de.rs:393:60 [INFO] [stdout] | [INFO] [stdout] 393 | ... if overflow!(res * 10 + digit, u64::max_value()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 393 - if overflow!(res * 10 + digit, u64::max_value()) { [INFO] [stdout] 393 + if overflow!(res * 10 + digit, u64::MAX) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/de.rs:477:52 [INFO] [stdout] | [INFO] [stdout] 477 | if overflow!(significand * 10 + digit, u64::max_value()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 477 - if overflow!(significand * 10 + digit, u64::max_value()) { [INFO] [stdout] 477 + if overflow!(significand * 10 + digit, u64::MAX) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/de.rs:532:44 [INFO] [stdout] | [INFO] [stdout] 532 | if overflow!(exp * 10 + digit, i32::max_value()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 532 - if overflow!(exp * 10 + digit, i32::max_value()) { [INFO] [stdout] 532 + if overflow!(exp * 10 + digit, i32::MAX) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/de.rs:1041:11 [INFO] [stdout] | [INFO] [stdout] 1041 | impl<'de, 'a, R: Read<'de>> de::Deserializer<'de> for &'a mut Deserializer { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1041 - impl<'de, 'a, R: Read<'de>> de::Deserializer<'de> for &'a mut Deserializer { [INFO] [stdout] 1041 + impl<'de, R: Read<'de>> de::Deserializer<'de> for &mut Deserializer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/de.rs:1687:24 [INFO] [stdout] | [INFO] [stdout] 1687 | if !result.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `result.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/de.rs:1733:17 [INFO] [stdout] | [INFO] [stdout] 1733 | return Ok(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 1733 - return Ok(None); [INFO] [stdout] 1733 + Ok(None) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/de.rs:2111:45 [INFO] [stdout] | [INFO] [stdout] 2111 | let self_delineated_value = match b { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 2112 | | b'[' | b'"' | b'{' => true, [INFO] [stdout] 2113 | | _ => false, [INFO] [stdout] 2114 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 2111 - let self_delineated_value = match b { [INFO] [stdout] 2112 - b'[' | b'"' | b'{' => true, [INFO] [stdout] 2113 - _ => false, [INFO] [stdout] 2114 - }; [INFO] [stdout] 2111 + let self_delineated_value = matches!(b, b'[' | b'"' | b'{'); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/error.rs:439:27 [INFO] [stdout] | [INFO] [stdout] 439 | let start_of_suffix = match msg.rfind(" at line ") { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 440 | | Some(index) => index, [INFO] [stdout] 441 | | None => return None, [INFO] [stdout] 442 | | }; [INFO] [stdout] | |_____^ help: try instead: `msg.rfind(" at line ")?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `slice.as_bytes().get(0)` [INFO] [stdout] --> src/error.rs:481:11 [INFO] [stdout] | [INFO] [stdout] 481 | match slice.as_bytes().get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `slice.as_bytes().first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/error.rs:483:24 [INFO] [stdout] | [INFO] [stdout] 483 | Some(&byte) => byte >= b'0' && byte <= b'9', [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(b'0'..=b'9').contains(&byte)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/map.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | .all(|(key, value)| other.get(key).map_or(false, |v| *value == *v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 229 - .all(|(key, value)| other.get(key).map_or(false, |v| *value == *v)) [INFO] [stdout] 229 + .all(|(key, value)| other.get(key).is_some_and(|v| *value == *v)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/map.rs:252:6 [INFO] [stdout] | [INFO] [stdout] 252 | impl<'a, Q: ?Sized> ops::Index<&'a Q> for Map [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 252 - impl<'a, Q: ?Sized> ops::Index<&'a Q> for Map [INFO] [stdout] 252 + impl ops::Index<&Q> for Map [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/map.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | impl<'a, Q: ?Sized> ops::IndexMut<&'a Q> for Map [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 275 - impl<'a, Q: ?Sized> ops::IndexMut<&'a Q> for Map [INFO] [stdout] 275 + impl ops::IndexMut<&Q> for Map [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | #![cfg_attr(feature = "cargo-clippy", allow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/error.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "cargo-clippy", allow(fallible_impl_from))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `raw_value` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | read: read, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `read` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/de.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | offset: offset, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `offset` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | b'0'...b'9' => match self.parse_any_number(true) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | b'0'...b'9' => try!(self.parse_integer(true)).visit(visitor), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:335:25 [INFO] [stdout] | [INFO] [stdout] 335 | c @ b'1'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:337:39 [INFO] [stdout] | [INFO] [stdout] 337 | while let c @ b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | b'0'...b'9' => Err(self.peek_error(ErrorCode::InvalidNumber)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | c @ b'1'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:386:33 [INFO] [stdout] | [INFO] [stdout] 386 | c @ b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:472:27 [INFO] [stdout] | [INFO] [stdout] 472 | while let c @ b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:480:31 [INFO] [stdout] | [INFO] [stdout] 480 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:522:21 [INFO] [stdout] | [INFO] [stdout] 522 | c @ b'0'...b'9' => (c - b'0') as i32, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:528:27 [INFO] [stdout] | [INFO] [stdout] 528 | while let c @ b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:563:23 [INFO] [stdout] | [INFO] [stdout] 563 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | b'0'...b'9' => self.parse_any_number(true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:825:21 [INFO] [stdout] | [INFO] [stdout] 825 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:911:28 [INFO] [stdout] | [INFO] [stdout] 911 | if let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:915:17 [INFO] [stdout] | [INFO] [stdout] 915 | b'1'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:916:31 [INFO] [stdout] | [INFO] [stdout] 916 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:961:17 [INFO] [stdout] | [INFO] [stdout] 961 | b'0'...b'9' => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:967:23 [INFO] [stdout] | [INFO] [stdout] 967 | while let b'0'...b'9' = try!(self.peek_or_null()) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/de.rs:1173:5 [INFO] [stdout] | [INFO] [stdout] 1173 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:1076:17 [INFO] [stdout] | [INFO] [stdout] 1076 | b'0'...b'9' => try!(self.parse_any_number(true)).visit(visitor), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:1770:25 [INFO] [stdout] | [INFO] [stdout] 1770 | VariantAccess { de: de } [INFO] [stdout] | ^^^^^^ help: replace it with: `de` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:1823:29 [INFO] [stdout] | [INFO] [stdout] 1823 | UnitVariantAccess { de: de } [INFO] [stdout] | ^^^^^^ help: replace it with: `de` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/de.rs:1930:5 [INFO] [stdout] | [INFO] [stdout] 1930 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/de.rs:2034:13 [INFO] [stdout] | [INFO] [stdout] 2034 | offset: offset, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `offset` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | code: code, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `code` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | column: column, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `column` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/error.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | column: column, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `column` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get(&self, key: &Q) -> Option<&Value> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 76 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] = note: `#[warn(clippy::multiple_bound_locations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn contains_key(&self, key: &Q) -> bool [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 89 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_mut(&mut self, key: &Q) -> Option<&mut Value> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/map.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn remove(&mut self, key: &Q) -> Option [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 127 | Q: Ord + Eq + Hash, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/map.rs:144:70 [INFO] [stdout] | [INFO] [stdout] 144 | EntryImpl::Vacant(vacant) => Entry::Vacant(VacantEntry { vacant: vacant }), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `vacant` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/map.rs:145:78 [INFO] [stdout] | [INFO] [stdout] 145 | EntryImpl::Occupied(occupied) => Entry::Occupied(OccupiedEntry { occupied: occupied }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `occupied` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ser.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | writer: writer, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `writer` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ser.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | formatter: formatter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `formatter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:264:33 [INFO] [stdout] | [INFO] [stdout] 264 | fn serialize_newtype_struct(self, _name: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 265 | where [INFO] [stdout] 266 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:272:34 [INFO] [stdout] | [INFO] [stdout] 272 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 280 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | fn serialize_some(self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 318 | where [INFO] [stdout] 319 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:459:20 [INFO] [stdout] | [INFO] [stdout] 459 | fn collect_str(self, value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 460 | where [INFO] [stdout] 461 | T: fmt::Display, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 544 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 545 | where [INFO] [stdout] 546 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:599:26 [INFO] [stdout] | [INFO] [stdout] 599 | fn serialize_element(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 600 | where [INFO] [stdout] 601 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:621:24 [INFO] [stdout] | [INFO] [stdout] 621 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 622 | where [INFO] [stdout] 623 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:643:24 [INFO] [stdout] | [INFO] [stdout] 643 | fn serialize_field(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 644 | where [INFO] [stdout] 645 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | fn serialize_key(&mut self, key: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 683 | where [INFO] [stdout] 684 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:713:24 [INFO] [stdout] | [INFO] [stdout] 713 | fn serialize_value(&mut self, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 714 | where [INFO] [stdout] 715 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:764:24 [INFO] [stdout] | [INFO] [stdout] 764 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 765 | where [INFO] [stdout] 766 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:815:24 [INFO] [stdout] | [INFO] [stdout] 815 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 816 | where [INFO] [stdout] 817 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:988:5 [INFO] [stdout] | [INFO] [stdout] 988 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/ser.rs:1085:5 [INFO] [stdout] | [INFO] [stdout] 1085 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:893:33 [INFO] [stdout] | [INFO] [stdout] 893 | fn serialize_newtype_struct(self, _name: &'static str, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 894 | where [INFO] [stdout] 895 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1130:34 [INFO] [stdout] | [INFO] [stdout] 1130 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1138 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1147:23 [INFO] [stdout] | [INFO] [stdout] 1147 | fn serialize_some(self, _value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1148 | where [INFO] [stdout] 1149 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1614:19 [INFO] [stdout] | [INFO] [stdout] 1614 | fn write_null(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1615 | where [INFO] [stdout] 1616 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1623:19 [INFO] [stdout] | [INFO] [stdout] 1623 | fn write_bool(&mut self, writer: &mut W, value: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1624 | where [INFO] [stdout] 1625 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1637:17 [INFO] [stdout] | [INFO] [stdout] 1637 | fn write_i8(&mut self, writer: &mut W, value: i8) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1638 | where [INFO] [stdout] 1639 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1646:18 [INFO] [stdout] | [INFO] [stdout] 1646 | fn write_i16(&mut self, writer: &mut W, value: i16) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1647 | where [INFO] [stdout] 1648 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1655:18 [INFO] [stdout] | [INFO] [stdout] 1655 | fn write_i32(&mut self, writer: &mut W, value: i32) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1656 | where [INFO] [stdout] 1657 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1664:18 [INFO] [stdout] | [INFO] [stdout] 1664 | fn write_i64(&mut self, writer: &mut W, value: i64) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1665 | where [INFO] [stdout] 1666 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1673:17 [INFO] [stdout] | [INFO] [stdout] 1673 | fn write_u8(&mut self, writer: &mut W, value: u8) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1674 | where [INFO] [stdout] 1675 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1682:18 [INFO] [stdout] | [INFO] [stdout] 1682 | fn write_u16(&mut self, writer: &mut W, value: u16) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1683 | where [INFO] [stdout] 1684 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1691:18 [INFO] [stdout] | [INFO] [stdout] 1691 | fn write_u32(&mut self, writer: &mut W, value: u32) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1692 | where [INFO] [stdout] 1693 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1700:18 [INFO] [stdout] | [INFO] [stdout] 1700 | fn write_u64(&mut self, writer: &mut W, value: u64) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1701 | where [INFO] [stdout] 1702 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1709:18 [INFO] [stdout] | [INFO] [stdout] 1709 | fn write_f32(&mut self, writer: &mut W, value: f32) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1710 | where [INFO] [stdout] 1711 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1720:18 [INFO] [stdout] | [INFO] [stdout] 1720 | fn write_f64(&mut self, writer: &mut W, value: f64) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1721 | where [INFO] [stdout] 1722 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1731:25 [INFO] [stdout] | [INFO] [stdout] 1731 | fn write_number_str(&mut self, writer: &mut W, value: &str) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1732 | where [INFO] [stdout] 1733 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1741:21 [INFO] [stdout] | [INFO] [stdout] 1741 | fn begin_string(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1742 | where [INFO] [stdout] 1743 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1751:19 [INFO] [stdout] | [INFO] [stdout] 1751 | fn end_string(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1752 | where [INFO] [stdout] 1753 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1761:30 [INFO] [stdout] | [INFO] [stdout] 1761 | fn write_string_fragment(&mut self, writer: &mut W, fragment: &str) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1762 | where [INFO] [stdout] 1763 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1770:26 [INFO] [stdout] | [INFO] [stdout] 1770 | fn write_char_escape( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1776 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1809:20 [INFO] [stdout] | [INFO] [stdout] 1809 | fn begin_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1810 | where [INFO] [stdout] 1811 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1819:18 [INFO] [stdout] | [INFO] [stdout] 1819 | fn end_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1820 | where [INFO] [stdout] 1821 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1829:26 [INFO] [stdout] | [INFO] [stdout] 1829 | fn begin_array_value(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1830 | where [INFO] [stdout] 1831 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1842:24 [INFO] [stdout] | [INFO] [stdout] 1842 | fn end_array_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1843 | where [INFO] [stdout] 1844 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1852:21 [INFO] [stdout] | [INFO] [stdout] 1852 | fn begin_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1853 | where [INFO] [stdout] 1854 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1862:19 [INFO] [stdout] | [INFO] [stdout] 1862 | fn end_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1863 | where [INFO] [stdout] 1864 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1871:25 [INFO] [stdout] | [INFO] [stdout] 1871 | fn begin_object_key(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1872 | where [INFO] [stdout] 1873 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1886:23 [INFO] [stdout] | [INFO] [stdout] 1886 | fn end_object_key(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1887 | where [INFO] [stdout] 1888 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1897:27 [INFO] [stdout] | [INFO] [stdout] 1897 | fn begin_object_value(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1898 | where [INFO] [stdout] 1899 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1906:25 [INFO] [stdout] | [INFO] [stdout] 1906 | fn end_object_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1907 | where [INFO] [stdout] 1908 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1916:27 [INFO] [stdout] | [INFO] [stdout] 1916 | fn write_raw_fragment(&mut self, writer: &mut W, fragment: &str) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1917 | where [INFO] [stdout] 1918 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ser.rs:1949:13 [INFO] [stdout] | [INFO] [stdout] 1949 | indent: indent, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `indent` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1962:20 [INFO] [stdout] | [INFO] [stdout] 1962 | fn begin_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1963 | where [INFO] [stdout] 1964 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1972:18 [INFO] [stdout] | [INFO] [stdout] 1972 | fn end_array(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1973 | where [INFO] [stdout] 1974 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:1987:26 [INFO] [stdout] | [INFO] [stdout] 1987 | fn begin_array_value(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 1988 | where [INFO] [stdout] 1989 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2001:24 [INFO] [stdout] | [INFO] [stdout] 2001 | fn end_array_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2002 | where [INFO] [stdout] 2003 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2010:21 [INFO] [stdout] | [INFO] [stdout] 2010 | fn begin_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2011 | where [INFO] [stdout] 2012 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2020:19 [INFO] [stdout] | [INFO] [stdout] 2020 | fn end_object(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2021 | where [INFO] [stdout] 2022 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2035:25 [INFO] [stdout] | [INFO] [stdout] 2035 | fn begin_object_key(&mut self, writer: &mut W, first: bool) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2036 | where [INFO] [stdout] 2037 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2048:27 [INFO] [stdout] | [INFO] [stdout] 2048 | fn begin_object_value(&mut self, writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2049 | where [INFO] [stdout] 2050 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2056:25 [INFO] [stdout] | [INFO] [stdout] 2056 | fn end_object_value(&mut self, _writer: &mut W) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2057 | where [INFO] [stdout] 2058 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2065:23 [INFO] [stdout] | [INFO] [stdout] 2065 | fn format_escaped_str( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2071 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2065:34 [INFO] [stdout] | [INFO] [stdout] 2065 | fn format_escaped_str( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2072 | F: Formatter, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2080:32 [INFO] [stdout] | [INFO] [stdout] 2080 | fn format_escaped_str_contents( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2086 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2080:43 [INFO] [stdout] | [INFO] [stdout] 2080 | fn format_escaped_str_contents( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2087 | F: Formatter, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2155:21 [INFO] [stdout] | [INFO] [stdout] 2155 | pub fn to_writer(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2158 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2173:28 [INFO] [stdout] | [INFO] [stdout] 2173 | pub fn to_writer_pretty(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2176 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2190:15 [INFO] [stdout] | [INFO] [stdout] 2190 | pub fn to_vec(value: &T) -> Result> [INFO] [stdout] | ^ [INFO] [stdout] 2191 | where [INFO] [stdout] 2192 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2206:22 [INFO] [stdout] | [INFO] [stdout] 2206 | pub fn to_vec_pretty(value: &T) -> Result> [INFO] [stdout] | ^ [INFO] [stdout] 2207 | where [INFO] [stdout] 2208 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2222:18 [INFO] [stdout] | [INFO] [stdout] 2222 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 2223 | where [INFO] [stdout] 2224 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2241:25 [INFO] [stdout] | [INFO] [stdout] 2241 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 2242 | where [INFO] [stdout] 2243 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/ser.rs:2253:11 [INFO] [stdout] | [INFO] [stdout] 2253 | fn indent(wr: &mut W, n: usize, s: &[u8]) -> io::Result<()> [INFO] [stdout] | ^ [INFO] [stdout] 2254 | where [INFO] [stdout] 2255 | W: io::Write, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/value/de.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | variant: variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `variant` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/value/de.rs:776:5 [INFO] [stdout] | [INFO] [stdout] 776 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:831:13 [INFO] [stdout] | [INFO] [stdout] 831 | variant: variant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `variant` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/value/de.rs:1260:5 [INFO] [stdout] | [INFO] [stdout] 1260 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/value/mod.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | io::Error::new(io::ErrorKind::Other, "fmt error") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 203 - io::Error::new(io::ErrorKind::Other, "fmt error") [INFO] [stdout] 203 + io::Error::other("fmt error") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/value/de.rs:1389:38 [INFO] [stdout] | [INFO] [stdout] 1389 | BorrowedCowStrDeserializer { value: value } [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/value/mod.rs:421:45 [INFO] [stdout] | [INFO] [stdout] 421 | Value::Array(ref array) => Some(&*array), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 421 - Value::Array(ref array) => Some(&*array), [INFO] [stdout] 421 + Value::Array(ref array) => Some(array), [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 421 | Value::Array(ref array) => Some(&**array), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/value/mod.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | / match *self { [INFO] [stdout] 507 | | Value::Number(_) => true, [INFO] [stdout] 508 | | _ => false, [INFO] [stdout] 509 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 506 - match *self { [INFO] [stdout] 507 - Value::Number(_) => true, [INFO] [stdout] 508 - _ => false, [INFO] [stdout] 509 - } [INFO] [stdout] 506 + matches!(*self, Value::Number(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/value/mod.rs:752:12 [INFO] [stdout] | [INFO] [stdout] 752 | if pointer == "" { [INFO] [stdout] | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `pointer.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] = note: `#[warn(clippy::comparison_to_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | fn serialize_newtype_struct( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 160 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | fn serialize_some(self, value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 187 | where [INFO] [stdout] 188 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | fn serialize_element(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 289 | where [INFO] [stdout] 290 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | fn serialize_element(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 306 | where [INFO] [stdout] 307 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | fn serialize_field(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 322 | where [INFO] [stdout] 323 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | fn serialize_field(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 338 | where [INFO] [stdout] 339 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | fn serialize_key(&mut self, key: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 359 | where [INFO] [stdout] 360 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | fn serialize_value(&mut self, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 377 | where [INFO] [stdout] 378 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:439:33 [INFO] [stdout] | [INFO] [stdout] 439 | fn serialize_newtype_struct( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 445 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/value/mod.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 815 | if pointer == "" { [INFO] [stdout] | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `pointer.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:520:34 [INFO] [stdout] | [INFO] [stdout] 520 | fn serialize_newtype_variant( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 528 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:537:23 [INFO] [stdout] | [INFO] [stdout] 537 | fn serialize_some(self, _value: &T) -> Result [INFO] [stdout] | ^ [INFO] [stdout] 538 | where [INFO] [stdout] 539 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 598 | where [INFO] [stdout] 599 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/value/ser.rs:646:24 [INFO] [stdout] | [INFO] [stdout] 646 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Error> [INFO] [stdout] | ^ [INFO] [stdout] 647 | where [INFO] [stdout] 648 | T: Serialize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/iter.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | iter: iter, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | Some(Number { n: n }) [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/number.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 532 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `serde_if_integer128`: [INFO] [stdout] This macro has no effect on any version of Serde released in the past 2 years. [INFO] [stdout] It was used long ago in crates that needed to support Rustc older than 1.26.0, [INFO] [stdout] or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer [INFO] [stdout] support. These days Serde requires a Rust compiler newer than that so 128-bit [INFO] [stdout] integers are always supported. [INFO] [stdout] [INFO] [stdout] --> src/number.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | serde_if_integer128! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:658:18 [INFO] [stdout] | [INFO] [stdout] 658 | Number { n: n } [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:678:30 [INFO] [stdout] | [INFO] [stdout] 678 | Number { n: n } [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] ... [INFO] [stdout] 714 | impl_from_unsigned!(u8, u16, u32, u64, usize); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: this warning originates in the macro `impl_from_unsigned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/number.rs:707:30 [INFO] [stdout] | [INFO] [stdout] 707 | Number { n: n } [INFO] [stdout] | ^^^^ help: replace it with: `n` [INFO] [stdout] ... [INFO] [stdout] 715 | impl_from_signed!(i8, i16, i32, i64, isize); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: this warning originates in the macro `impl_from_signed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/read.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | slice: slice, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `slice` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/read.rs:411:28 [INFO] [stdout] | [INFO] [stdout] 411 | fn parse_str_bytes<'s, T: ?Sized, F>( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 418 | T: 's, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:734:23 [INFO] [stdout] | [INFO] [stdout] 734 | 0xDC00...0xDFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:740:28 [INFO] [stdout] | [INFO] [stdout] 740 | n1 @ 0xD800...0xDBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:791:23 [INFO] [stdout] | [INFO] [stdout] 791 | 0xDC00...0xDFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:797:28 [INFO] [stdout] | [INFO] [stdout] 797 | n1 @ 0xD800...0xDBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] = note: `#[warn(clippy::zero_prefixed_literal)]` on by default [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 1, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 0o1, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:17 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 2, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 0o2, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:21 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 3, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 0o3, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:25 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 4, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 0o4, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:29 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 5, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 0o5, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:33 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 6, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 0o6, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:37 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 06, 7, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] help: if you mean to use an octal constant, use `0o` [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 0o7, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:41 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 06, 07, 8, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this is a decimal constant [INFO] [stdout] --> src/read.rs:836:45 [INFO] [stdout] | [INFO] [stdout] 836 | 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal [INFO] [stdout] help: if you mean to use a decimal constant, remove the `0` to avoid confusion [INFO] [stdout] | [INFO] [stdout] 836 - 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, __, __, __, __, __, __, // 3 [INFO] [stdout] 836 + 00, 01, 02, 03, 04, 05, 06, 07, 08, 9, __, __, __, __, __, __, // 3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/value/de.rs:1052:18 [INFO] [stdout] | [INFO] [stdout] 1052 | Some(&Value::Array(ref v)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 1052 - Some(&Value::Array(ref v)) => { [INFO] [stdout] 1052 + Some(Value::Array(v)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/value/de.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | Some(&Value::Object(ref v)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 1075 - Some(&Value::Object(ref v)) => { [INFO] [stdout] 1075 + Some(Value::Object(v)) => { [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:352:53 [INFO] [stdout] | [INFO] [stdout] 352 | ErrorCode::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/de.rs:246:43 [INFO] [stdout] | [INFO] [stdout] 246 | fn peek_invalid_type(&mut self, exp: &Expected) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 | fn peek_invalid_type(&mut self, exp: &dyn Expected) -> Error { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/from.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a> From<&'a str> for Value { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 95 - impl<'a> From<&'a str> for Value { [INFO] [stdout] 95 + impl From<&str> for Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value/de.rs:1363:37 [INFO] [stdout] | [INFO] [stdout] 1363 | fn invalid_type(&self, exp: &Expected) -> E [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] 1363 | fn invalid_type(&self, exp: &dyn Expected) -> E [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/index.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 118 | impl<'a, T: ?Sized> Index for &'a T [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 118 - impl<'a, T: ?Sized> Index for &'a T [INFO] [stdout] 118 + impl Index for &T [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/index.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'a, T: ?Sized> Sealed for &'a T where T: Sealed {} [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 139 - impl<'a, T: ?Sized> Sealed for &'a T where T: Sealed {} [INFO] [stdout] 139 + impl Sealed for &T where T: Sealed {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | value.as_i64().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 4 - value.as_i64().map_or(false, |i| i == other) [INFO] [stdout] 4 + value.as_i64() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | value.as_u64().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 8 - value.as_u64().map_or(false, |i| i == other) [INFO] [stdout] 8 + value.as_u64() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | value.as_f64().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 12 - value.as_f64().map_or(false, |i| i == other) [INFO] [stdout] 12 + value.as_f64() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | value.as_bool().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 16 - value.as_bool().map_or(false, |i| i == other) [INFO] [stdout] 16 + value.as_bool() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | value.as_str().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 20 - value.as_str().map_or(false, |i| i == other) [INFO] [stdout] 20 + value.as_str() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/partial_eq.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> PartialEq<&'a str> for Value { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 29 - impl<'a> PartialEq<&'a str> for Value { [INFO] [stdout] 29 + impl PartialEq<&str> for Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/value/partial_eq.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | eq_str(self, *other) [INFO] [stdout] | ^^^^^^ help: try: `other` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/partial_eq.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> PartialEq for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 41 - impl<'a> PartialEq for &'a str { [INFO] [stdout] 41 + impl PartialEq for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/value/partial_eq.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | eq_str(other, *self) [INFO] [stdout] | ^^^^^ help: try: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:176:60 [INFO] [stdout] | [INFO] [stdout] 176 | values.insert(String::from(variant), try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | self.vec.push(try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:341:37 [INFO] [stdout] | [INFO] [stdout] 341 | self.vec.push(try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:360:32 [INFO] [stdout] | [INFO] [stdout] 360 | 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] 360 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:389:47 [INFO] [stdout] | [INFO] [stdout] 389 | map.insert(key, try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:409:50 [INFO] [stdout] | [INFO] [stdout] 409 | fn invalid_type(unexp: de::Unexpected, exp: &de::Expected) -> Self { [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] 409 | fn invalid_type(unexp: de::Unexpected, exp: &dyn de::Expected) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:650:58 [INFO] [stdout] | [INFO] [stdout] 650 | self.map.insert(String::from(key), try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/number.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | N::PosInt(v) => v <= i64::max_value() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 67 - N::PosInt(v) => v <= i64::max_value() as u64, [INFO] [stdout] 67 + N::PosInt(v) => v <= i64::MAX as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/number.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | if n <= i64::max_value() as u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 159 - if n <= i64::max_value() as u64 { [INFO] [stdout] 159 + if n <= i64::MAX as u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/number.rs:544:11 [INFO] [stdout] | [INFO] [stdout] 544 | impl<'de, 'a> Deserializer<'de> for &'a Number { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 544 - impl<'de, 'a> Deserializer<'de> for &'a Number { [INFO] [stdout] 544 + impl<'de> Deserializer<'de> for &Number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling .bytes() is very inefficient when data is not in memory [INFO] [stdout] --> src/read.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 169 | iter: LineColIterator::new(reader.bytes()), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using `BufReader` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unbuffered_bytes [INFO] [stdout] = note: `#[warn(clippy::unbuffered_bytes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | fn invalid_type(self, exp: &Expected) -> 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] 105 | fn invalid_type(self, exp: &dyn Expected) -> Error { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/read.rs:750:24 [INFO] [stdout] | [INFO] [stdout] 750 | if n2 < 0xDC00 || n2 > 0xDFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(0xDC00..=0xDFFF).contains(&n2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/read.rs:807:24 [INFO] [stdout] | [INFO] [stdout] 807 | if n2 < 0xDC00 || n2 > 0xDFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(0xDC00..=0xDFFF).contains(&n2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn entry(&mut self, key: S) -> Entry [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn entry(&mut self, key: S) -> Entry<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn iter_mut(&mut self) -> IterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | pub fn keys(&self) -> Keys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn values(&self) -> Values { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn values(&self) -> Values<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn values_mut(&mut self) -> ValuesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | pub fn values_mut(&mut self) -> ValuesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value/de.rs:1371:19 [INFO] [stdout] | [INFO] [stdout] 1371 | fn unexpected(&self) -> Unexpected { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1371 | fn unexpected(&self) -> Unexpected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/number.rs:737:23 [INFO] [stdout] | [INFO] [stdout] 737 | pub fn unexpected(&self) -> Unexpected { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 737 | pub fn unexpected(&self) -> Unexpected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> src/de.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{i32, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `i32::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> src/de.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{i32, u64}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `u64::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_str` can be confused for the standard trait method `std::str::FromStr::from_str` [INFO] [stdout] --> src/de.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / pub fn from_str(s: &'a str) -> Self { [INFO] [stdout] 71 | | Deserializer::new(read::StrRead::new(s)) [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::str::FromStr` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] = note: `#[warn(clippy::should_implement_trait)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter` [INFO] [stdout] --> src/de.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / pub fn into_iter(self) -> StreamDeserializer<'de, R, T> [INFO] [stdout] 129 | | where [INFO] [stdout] 130 | | T: de::Deserialize<'de>, [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/de.rs:393:60 [INFO] [stdout] | [INFO] [stdout] 393 | ... if overflow!(res * 10 + digit, u64::max_value()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 393 - if overflow!(res * 10 + digit, u64::max_value()) { [INFO] [stdout] 393 + if overflow!(res * 10 + digit, u64::MAX) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/de.rs:477:52 [INFO] [stdout] | [INFO] [stdout] 477 | if overflow!(significand * 10 + digit, u64::max_value()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 477 - if overflow!(significand * 10 + digit, u64::max_value()) { [INFO] [stdout] 477 + if overflow!(significand * 10 + digit, u64::MAX) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/de.rs:532:44 [INFO] [stdout] | [INFO] [stdout] 532 | if overflow!(exp * 10 + digit, i32::max_value()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 532 - if overflow!(exp * 10 + digit, i32::max_value()) { [INFO] [stdout] 532 + if overflow!(exp * 10 + digit, i32::MAX) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/de.rs:1041:11 [INFO] [stdout] | [INFO] [stdout] 1041 | impl<'de, 'a, R: Read<'de>> de::Deserializer<'de> for &'a mut Deserializer { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1041 - impl<'de, 'a, R: Read<'de>> de::Deserializer<'de> for &'a mut Deserializer { [INFO] [stdout] 1041 + impl<'de, R: Read<'de>> de::Deserializer<'de> for &mut Deserializer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/de.rs:1687:24 [INFO] [stdout] | [INFO] [stdout] 1687 | if !result.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `result.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/de.rs:1733:17 [INFO] [stdout] | [INFO] [stdout] 1733 | return Ok(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 1733 - return Ok(None); [INFO] [stdout] 1733 + Ok(None) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/de.rs:2111:45 [INFO] [stdout] | [INFO] [stdout] 2111 | let self_delineated_value = match b { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 2112 | | b'[' | b'"' | b'{' => true, [INFO] [stdout] 2113 | | _ => false, [INFO] [stdout] 2114 | | }; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 2111 - let self_delineated_value = match b { [INFO] [stdout] 2112 - b'[' | b'"' | b'{' => true, [INFO] [stdout] 2113 - _ => false, [INFO] [stdout] 2114 - }; [INFO] [stdout] 2111 + let self_delineated_value = matches!(b, b'[' | b'"' | b'{'); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/error.rs:439:27 [INFO] [stdout] | [INFO] [stdout] 439 | let start_of_suffix = match msg.rfind(" at line ") { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 440 | | Some(index) => index, [INFO] [stdout] 441 | | None => return None, [INFO] [stdout] 442 | | }; [INFO] [stdout] | |_____^ help: try instead: `msg.rfind(" at line ")?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `slice.as_bytes().get(0)` [INFO] [stdout] --> src/error.rs:481:11 [INFO] [stdout] | [INFO] [stdout] 481 | match slice.as_bytes().get(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `slice.as_bytes().first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/error.rs:483:24 [INFO] [stdout] | [INFO] [stdout] 483 | Some(&byte) => byte >= b'0' && byte <= b'9', [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(b'0'..=b'9').contains(&byte)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/map.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | .all(|(key, value)| other.get(key).map_or(false, |v| *value == *v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 229 - .all(|(key, value)| other.get(key).map_or(false, |v| *value == *v)) [INFO] [stdout] 229 + .all(|(key, value)| other.get(key).is_some_and(|v| *value == *v)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/map.rs:252:6 [INFO] [stdout] | [INFO] [stdout] 252 | impl<'a, Q: ?Sized> ops::Index<&'a Q> for Map [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 252 - impl<'a, Q: ?Sized> ops::Index<&'a Q> for Map [INFO] [stdout] 252 + impl ops::Index<&Q> for Map [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/map.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | impl<'a, Q: ?Sized> ops::IndexMut<&'a Q> for Map [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 275 - impl<'a, Q: ?Sized> ops::IndexMut<&'a Q> for Map [INFO] [stdout] 275 + impl ops::IndexMut<&Q> for Map [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this can be `std::io::Error::other(_)` [INFO] [stdout] --> src/value/mod.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | io::Error::new(io::ErrorKind::Other, "fmt error") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error [INFO] [stdout] = note: `#[warn(clippy::io_other_error)]` on by default [INFO] [stdout] help: use `std::io::Error::other` [INFO] [stdout] | [INFO] [stdout] 203 - io::Error::new(io::ErrorKind::Other, "fmt error") [INFO] [stdout] 203 + io::Error::other("fmt error") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/value/mod.rs:421:45 [INFO] [stdout] | [INFO] [stdout] 421 | Value::Array(ref array) => Some(&*array), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 421 - Value::Array(ref array) => Some(&*array), [INFO] [stdout] 421 + Value::Array(ref array) => Some(array), [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 421 | Value::Array(ref array) => Some(&**array), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/value/mod.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | / match *self { [INFO] [stdout] 507 | | Value::Number(_) => true, [INFO] [stdout] 508 | | _ => false, [INFO] [stdout] 509 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 506 - match *self { [INFO] [stdout] 507 - Value::Number(_) => true, [INFO] [stdout] 508 - _ => false, [INFO] [stdout] 509 - } [INFO] [stdout] 506 + matches!(*self, Value::Number(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/value/mod.rs:752:12 [INFO] [stdout] | [INFO] [stdout] 752 | if pointer == "" { [INFO] [stdout] | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `pointer.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] = note: `#[warn(clippy::comparison_to_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/value/mod.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 815 | if pointer == "" { [INFO] [stdout] | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `pointer.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/value/de.rs:1052:18 [INFO] [stdout] | [INFO] [stdout] 1052 | Some(&Value::Array(ref v)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 1052 - Some(&Value::Array(ref v)) => { [INFO] [stdout] 1052 + Some(Value::Array(v)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/value/de.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1075 | Some(&Value::Object(ref v)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 1075 - Some(&Value::Object(ref v)) => { [INFO] [stdout] 1075 + Some(Value::Object(v)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/from.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a> From<&'a str> for Value { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 95 - impl<'a> From<&'a str> for Value { [INFO] [stdout] 95 + impl From<&str> for Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/index.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 118 | impl<'a, T: ?Sized> Index for &'a T [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 118 - impl<'a, T: ?Sized> Index for &'a T [INFO] [stdout] 118 + impl Index for &T [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/index.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | impl<'a, T: ?Sized> Sealed for &'a T where T: Sealed {} [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 139 - impl<'a, T: ?Sized> Sealed for &'a T where T: Sealed {} [INFO] [stdout] 139 + impl Sealed for &T where T: Sealed {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | value.as_i64().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 4 - value.as_i64().map_or(false, |i| i == other) [INFO] [stdout] 4 + value.as_i64() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | value.as_u64().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 8 - value.as_u64().map_or(false, |i| i == other) [INFO] [stdout] 8 + value.as_u64() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | value.as_f64().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 12 - value.as_f64().map_or(false, |i| i == other) [INFO] [stdout] 12 + value.as_f64() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | value.as_bool().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 16 - value.as_bool().map_or(false, |i| i == other) [INFO] [stdout] 16 + value.as_bool() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/value/partial_eq.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | value.as_str().map_or(false, |i| i == other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use a standard comparison instead [INFO] [stdout] | [INFO] [stdout] 20 - value.as_str().map_or(false, |i| i == other) [INFO] [stdout] 20 + value.as_str() == Some(other) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/partial_eq.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> PartialEq<&'a str> for Value { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 29 - impl<'a> PartialEq<&'a str> for Value { [INFO] [stdout] 29 + impl PartialEq<&str> for Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/value/partial_eq.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | eq_str(self, *other) [INFO] [stdout] | ^^^^^^ help: try: `other` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/value/partial_eq.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl<'a> PartialEq for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 41 - impl<'a> PartialEq for &'a str { [INFO] [stdout] 41 + impl PartialEq for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/value/partial_eq.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | eq_str(other, *self) [INFO] [stdout] | ^^^^^ help: try: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:176:60 [INFO] [stdout] | [INFO] [stdout] 176 | values.insert(String::from(variant), try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:292:37 [INFO] [stdout] | [INFO] [stdout] 292 | self.vec.push(try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:341:37 [INFO] [stdout] | [INFO] [stdout] 341 | self.vec.push(try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:389:47 [INFO] [stdout] | [INFO] [stdout] 389 | map.insert(key, try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/value/ser.rs:650:58 [INFO] [stdout] | [INFO] [stdout] 650 | self.map.insert(String::from(key), try!(to_value(&value))); [INFO] [stdout] | ^^^^^^ help: change this to: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/number.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | N::PosInt(v) => v <= i64::max_value() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 67 - N::PosInt(v) => v <= i64::max_value() as u64, [INFO] [stdout] 67 + N::PosInt(v) => v <= i64::MAX as u64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/number.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | if n <= i64::max_value() as u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 159 - if n <= i64::max_value() as u64 { [INFO] [stdout] 159 + if n <= i64::MAX as u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/number.rs:544:11 [INFO] [stdout] | [INFO] [stdout] 544 | impl<'de, 'a> Deserializer<'de> for &'a Number { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 544 - impl<'de, 'a> Deserializer<'de> for &'a Number { [INFO] [stdout] 544 + impl<'de> Deserializer<'de> for &Number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling .bytes() is very inefficient when data is not in memory [INFO] [stdout] --> src/read.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 169 | iter: LineColIterator::new(reader.bytes()), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using `BufReader` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unbuffered_bytes [INFO] [stdout] = note: `#[warn(clippy::unbuffered_bytes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/read.rs:750:24 [INFO] [stdout] | [INFO] [stdout] 750 | if n2 < 0xDC00 || n2 > 0xDFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(0xDC00..=0xDFFF).contains(&n2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/read.rs:807:24 [INFO] [stdout] | [INFO] [stdout] 807 | if n2 < 0xDC00 || n2 > 0xDFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(0xDC00..=0xDFFF).contains(&n2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn entry(&mut self, key: S) -> Entry [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn entry(&mut self, key: S) -> Entry<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn iter_mut(&mut self) -> IterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | pub fn keys(&self) -> Keys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn values(&self) -> Values { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn values(&self) -> Values<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn values_mut(&mut self) -> ValuesMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | pub fn values_mut(&mut self) -> ValuesMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value/de.rs:1371:19 [INFO] [stdout] | [INFO] [stdout] 1371 | fn unexpected(&self) -> Unexpected { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1371 | fn unexpected(&self) -> Unexpected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/number.rs:737:23 [INFO] [stdout] | [INFO] [stdout] 737 | pub fn unexpected(&self) -> Unexpected { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 737 | pub fn unexpected(&self) -> Unexpected<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.73s [INFO] running `Command { std: "docker" "inspect" "f6fc2fd3e239924437ccebefc705f601ed0a10381df4ef7e931d037c0ad714cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6fc2fd3e239924437ccebefc705f601ed0a10381df4ef7e931d037c0ad714cf", kill_on_drop: false }` [INFO] [stdout] f6fc2fd3e239924437ccebefc705f601ed0a10381df4ef7e931d037c0ad714cf