[INFO] fetching crate rustfmt 0.10.0... [INFO] testing rustfmt-0.10.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rustfmt 0.10.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rustfmt 0.10.0 [INFO] finished tweaking crates.io crate rustfmt 0.10.0 [INFO] tweaked toml for crates.io crate rustfmt 0.10.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustfmt 0.10.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "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 env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding regex v0.2.11 (available: v1.12.2) [INFO] [stderr] Adding term v0.4.6 (available: v1.2.0) [INFO] [stderr] Adding toml v0.4.10 (available: v0.9.8) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5dc21468d237e2d8a9c7536c2c39fe554222780800c27b19168e74848680704 [INFO] running `Command { std: "docker" "start" "-a" "c5dc21468d237e2d8a9c7536c2c39fe554222780800c27b19168e74848680704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5dc21468d237e2d8a9c7536c2c39fe554222780800c27b19168e74848680704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5dc21468d237e2d8a9c7536c2c39fe554222780800c27b19168e74848680704", kill_on_drop: false }` [INFO] [stdout] c5dc21468d237e2d8a9c7536c2c39fe554222780800c27b19168e74848680704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7487bfbccb8e1bdc9c47c665f9908e7a751183526a1a6d6f2d6ea8218872662 [INFO] running `Command { std: "docker" "start" "-a" "c7487bfbccb8e1bdc9c47c665f9908e7a751183526a1a6d6f2d6ea8218872662", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rustfmt v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> build.rs:31:62 [INFO] [stdout] | [INFO] [stdout] 31 | (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_right(), date), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 31 - (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_right(), date), [INFO] [stdout] 31 + (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_end(), date), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling strings v0.1.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling syntex_pos v0.59.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling syntex_errors v0.59.1 [INFO] [stderr] Compiling syntex_syntax v0.59.1 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/items.rs:2294:13 [INFO] [stdout] | [INFO] [stdout] 2294 | ) -> Option<((usize, usize, Indent))> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2294 - ) -> Option<((usize, usize, Indent))> { [INFO] [stdout] 2294 + ) -> Option<(usize, usize, Indent)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/expr.rs:1266:5 [INFO] [stdout] | [INFO] [stdout] 1266 | (block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stdout] | ^ [INFO] [stdout] 1267 | !block_contains_comment(block, codemap)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1266 ~ block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stdout] 1267 ~ !block_contains_comment(block, codemap) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rustfmt_diff.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | mut t: Box>, [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] 122 | mut t: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/items.rs:1087:27 [INFO] [stdout] | [INFO] [stdout] 1087 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1087 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] 1087 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/items.rs:1089:38 [INFO] [stdout] | [INFO] [stdout] 1089 | result.push_str(&snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1089 - result.push_str(&snippet.trim_right()); [INFO] [stdout] 1089 + result.push_str(&snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/items.rs:1205:27 [INFO] [stdout] | [INFO] [stdout] 1205 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1205 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] 1205 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/items.rs:1206:38 [INFO] [stdout] | [INFO] [stdout] 1206 | result.push_str(&snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1206 - result.push_str(&snippet.trim_right()); [INFO] [stdout] 1206 + result.push_str(&snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/items.rs:1851:15 [INFO] [stdout] | [INFO] [stdout] 1851 | |l| l.trim_left().len() == 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1851 - |l| l.trim_left().len() == 1, [INFO] [stdout] 1851 + |l| l.trim_start().len() == 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/missed_spans.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 34 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] 34 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/missed_spans.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] 46 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/missed_spans.rs:187:60 [INFO] [stdout] | [INFO] [stdout] 187 | if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 187 - if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stdout] 187 + if !subslice.split('\n').map(|s| s.trim_start()).any(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/expr.rs:411:23 [INFO] [stdout] | [INFO] [stdout] 411 | let infix = infix.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 411 - let infix = infix.trim_right(); [INFO] [stdout] 411 + let infix = infix.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1563:34 [INFO] [stdout] | [INFO] [stdout] 1563 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1563 - attr_str.trim_left(), [INFO] [stdout] 1563 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1604:26 [INFO] [stdout] | [INFO] [stdout] 1604 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1604 - attr_str.trim_left(), [INFO] [stdout] 1604 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1615:26 [INFO] [stdout] | [INFO] [stdout] 1615 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1615 - attr_str.trim_left(), [INFO] [stdout] 1615 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 100 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 100 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] 106 + line.trim_start().starts_with(self.closer().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] 106 + line.trim_left().starts_with(self.closer().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 107 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 107 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] 110 + CommentStyle::Custom(opener) => line.trim_start().starts_with(opener.trim_right()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:110:81 [INFO] [stdout] | [INFO] [stdout] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] 110 + CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_end()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 235 - let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] 235 + let line_breaks = orig.trim_end().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | line = &line[..(line.len() - 2)].trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 242 - line = &line[..(line.len() - 2)].trim_right(); [INFO] [stdout] 242 + line = &line[..(line.len() - 2)].trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | line.trim_left() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 249 - line.trim_left() [INFO] [stdout] 249 + line.trim_start() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | }.trim_right() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 303 - }.trim_right() [INFO] [stdout] 303 + }.trim_end() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:320:26 [INFO] [stdout] | [INFO] [stdout] 320 | &line[opener.trim_right().len()..] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 320 - &line[opener.trim_right().len()..] [INFO] [stdout] 320 + &line[opener.trim_end().len()..] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/macros.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut context = &mut context.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | mut parse_session: &mut ParseSess, [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | let mut out = &mut stdout(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:568:20 [INFO] [stdout] | [INFO] [stdout] 568 | parse_session: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 569 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 569 | ) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_lines.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn files(&self) -> Files { [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] 126 | pub fn files(&self) -> Files<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/visitor.rs:695:24 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn get_context(&self) -> RewriteContext { [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] 695 | pub fn get_context(&self) -> RewriteContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comment.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/comment.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | format!("string '{}' is not a comment", comment) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 822 - format!("string '{}' is not a comment", comment) [INFO] [stdout] 822 + "string '{}' is not a comment", comment [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/rustfmt.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | type FmtError = Box; [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] 32 | type FmtError = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.03s [INFO] running `Command { std: "docker" "inspect" "c7487bfbccb8e1bdc9c47c665f9908e7a751183526a1a6d6f2d6ea8218872662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7487bfbccb8e1bdc9c47c665f9908e7a751183526a1a6d6f2d6ea8218872662", kill_on_drop: false }` [INFO] [stdout] c7487bfbccb8e1bdc9c47c665f9908e7a751183526a1a6d6f2d6ea8218872662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 699485c0b2bbbec171acf685dcf2f3d31e892cc900a6b08574e9748af5e748d2 [INFO] running `Command { std: "docker" "start" "-a" "699485c0b2bbbec171acf685dcf2f3d31e892cc900a6b08574e9748af5e748d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> build.rs:31:62 [INFO] [stdout] | [INFO] [stdout] 31 | (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_right(), date), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 31 - (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_right(), date), [INFO] [stdout] 31 + (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_end(), date), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/items.rs:2294:13 [INFO] [stdout] | [INFO] [stdout] 2294 | ) -> Option<((usize, usize, Indent))> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2294 - ) -> Option<((usize, usize, Indent))> { [INFO] [stdout] 2294 + ) -> Option<(usize, usize, Indent)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/expr.rs:1266:5 [INFO] [stdout] | [INFO] [stdout] 1266 | (block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stdout] | ^ [INFO] [stdout] 1267 | !block_contains_comment(block, codemap)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1266 ~ block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stdout] 1267 ~ !block_contains_comment(block, codemap) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rustfmt_diff.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | mut t: Box>, [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] 122 | mut t: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/items.rs:1087:27 [INFO] [stdout] | [INFO] [stdout] 1087 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1087 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] 1087 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/items.rs:1089:38 [INFO] [stdout] | [INFO] [stdout] 1089 | result.push_str(&snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1089 - result.push_str(&snippet.trim_right()); [INFO] [stdout] 1089 + result.push_str(&snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/items.rs:1205:27 [INFO] [stdout] | [INFO] [stdout] 1205 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1205 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] 1205 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/items.rs:1206:38 [INFO] [stdout] | [INFO] [stdout] 1206 | result.push_str(&snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1206 - result.push_str(&snippet.trim_right()); [INFO] [stdout] 1206 + result.push_str(&snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/items.rs:1851:15 [INFO] [stdout] | [INFO] [stdout] 1851 | |l| l.trim_left().len() == 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1851 - |l| l.trim_left().len() == 1, [INFO] [stdout] 1851 + |l| l.trim_start().len() == 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/missed_spans.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 34 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] 34 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/missed_spans.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] 46 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/missed_spans.rs:187:60 [INFO] [stdout] | [INFO] [stdout] 187 | if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 187 - if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stdout] 187 + if !subslice.split('\n').map(|s| s.trim_start()).any(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/expr.rs:411:23 [INFO] [stdout] | [INFO] [stdout] 411 | let infix = infix.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 411 - let infix = infix.trim_right(); [INFO] [stdout] 411 + let infix = infix.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1563:34 [INFO] [stdout] | [INFO] [stdout] 1563 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1563 - attr_str.trim_left(), [INFO] [stdout] 1563 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1604:26 [INFO] [stdout] | [INFO] [stdout] 1604 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1604 - attr_str.trim_left(), [INFO] [stdout] 1604 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1615:26 [INFO] [stdout] | [INFO] [stdout] 1615 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1615 - attr_str.trim_left(), [INFO] [stdout] 1615 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 100 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 100 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] 106 + line.trim_start().starts_with(self.closer().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] 106 + line.trim_left().starts_with(self.closer().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 107 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 107 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] 110 + CommentStyle::Custom(opener) => line.trim_start().starts_with(opener.trim_right()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:110:81 [INFO] [stdout] | [INFO] [stdout] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] 110 + CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_end()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 235 - let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] 235 + let line_breaks = orig.trim_end().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | line = &line[..(line.len() - 2)].trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 242 - line = &line[..(line.len() - 2)].trim_right(); [INFO] [stdout] 242 + line = &line[..(line.len() - 2)].trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | line.trim_left() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 249 - line.trim_left() [INFO] [stdout] 249 + line.trim_start() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | }.trim_right() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 303 - }.trim_right() [INFO] [stdout] 303 + }.trim_end() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:320:26 [INFO] [stdout] | [INFO] [stdout] 320 | &line[opener.trim_right().len()..] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 320 - &line[opener.trim_right().len()..] [INFO] [stdout] 320 + &line[opener.trim_end().len()..] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustfmt v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/macros.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut context = &mut context.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | mut parse_session: &mut ParseSess, [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | let mut out = &mut stdout(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:568:20 [INFO] [stdout] | [INFO] [stdout] 568 | parse_session: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 569 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 569 | ) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_lines.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn files(&self) -> Files { [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] 126 | pub fn files(&self) -> Files<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/visitor.rs:695:24 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn get_context(&self) -> RewriteContext { [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] 695 | pub fn get_context(&self) -> RewriteContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comment.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/comment.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | format!("string '{}' is not a comment", comment) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 822 - format!("string '{}' is not a comment", comment) [INFO] [stdout] 822 + "string '{}' is not a comment", comment [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/items.rs:2294:13 [INFO] [stdout] | [INFO] [stdout] 2294 | ) -> Option<((usize, usize, Indent))> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2294 - ) -> Option<((usize, usize, Indent))> { [INFO] [stdout] 2294 + ) -> Option<(usize, usize, Indent)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/expr.rs:1266:5 [INFO] [stdout] | [INFO] [stdout] 1266 | (block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stdout] | ^ [INFO] [stdout] 1267 | !block_contains_comment(block, codemap)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1266 ~ block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stdout] 1267 ~ !block_contains_comment(block, codemap) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/utils.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rustfmt_diff.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | mut t: Box>, [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] 122 | mut t: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/items.rs:1087:27 [INFO] [stdout] | [INFO] [stdout] 1087 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1087 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] 1087 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/items.rs:1089:38 [INFO] [stdout] | [INFO] [stdout] 1089 | result.push_str(&snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1089 - result.push_str(&snippet.trim_right()); [INFO] [stdout] 1089 + result.push_str(&snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/items.rs:1205:27 [INFO] [stdout] | [INFO] [stdout] 1205 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1205 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] 1205 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/items.rs:1206:38 [INFO] [stdout] | [INFO] [stdout] 1206 | result.push_str(&snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1206 - result.push_str(&snippet.trim_right()); [INFO] [stdout] 1206 + result.push_str(&snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/items.rs:1851:15 [INFO] [stdout] | [INFO] [stdout] 1851 | |l| l.trim_left().len() == 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1851 - |l| l.trim_left().len() == 1, [INFO] [stdout] 1851 + |l| l.trim_start().len() == 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/missed_spans.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 34 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] 34 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/missed_spans.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stdout] 46 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/missed_spans.rs:187:60 [INFO] [stdout] | [INFO] [stdout] 187 | if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 187 - if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stdout] 187 + if !subslice.split('\n').map(|s| s.trim_start()).any(|s| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/expr.rs:411:23 [INFO] [stdout] | [INFO] [stdout] 411 | let infix = infix.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 411 - let infix = infix.trim_right(); [INFO] [stdout] 411 + let infix = infix.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1563:34 [INFO] [stdout] | [INFO] [stdout] 1563 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1563 - attr_str.trim_left(), [INFO] [stdout] 1563 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1604:26 [INFO] [stdout] | [INFO] [stdout] 1604 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1604 - attr_str.trim_left(), [INFO] [stdout] 1604 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/expr.rs:1615:26 [INFO] [stdout] | [INFO] [stdout] 1615 | attr_str.trim_left(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 1615 - attr_str.trim_left(), [INFO] [stdout] 1615 + attr_str.trim_start(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 100 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 100 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] 106 + line.trim_start().starts_with(self.closer().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stdout] 106 + line.trim_left().starts_with(self.closer().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 107 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stdout] 107 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] 110 + CommentStyle::Custom(opener) => line.trim_start().starts_with(opener.trim_right()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:110:81 [INFO] [stdout] | [INFO] [stdout] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stdout] 110 + CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_end()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 235 - let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] 235 + let line_breaks = orig.trim_end().chars().filter(|&c| c == '\n').count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:242:50 [INFO] [stdout] | [INFO] [stdout] 242 | line = &line[..(line.len() - 2)].trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 242 - line = &line[..(line.len() - 2)].trim_right(); [INFO] [stdout] 242 + line = &line[..(line.len() - 2)].trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/comment.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | line.trim_left() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 249 - line.trim_left() [INFO] [stdout] 249 + line.trim_start() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | }.trim_right() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 303 - }.trim_right() [INFO] [stdout] 303 + }.trim_end() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:320:26 [INFO] [stdout] | [INFO] [stdout] 320 | &line[opener.trim_right().len()..] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 320 - &line[opener.trim_right().len()..] [INFO] [stdout] 320 + &line[opener.trim_end().len()..] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / configuration_option_enum! { Style: [INFO] [stdout] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stdout] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stdout] 37 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stdout] 40 | | Windows, // \r\n [INFO] [stdout] 41 | | Unix, // \n [INFO] [stdout] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stdout] 46 | | AlwaysNextLine, [INFO] [stdout] 47 | | PreferSameLine, [INFO] [stdout] ... | [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stdout] 54 | | // K&R style, Rust community default [INFO] [stdout] 55 | | AlwaysSameLine, [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stdout] 64 | | // Aligned with the arguments [INFO] [stdout] 65 | | WithArgs, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stdout] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stdout] 72 | | // the first line. [INFO] [stdout] 73 | | Visual, [INFO] [stdout] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stdout] 75 | | Block, [INFO] [stdout] 76 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / configuration_option_enum! { Density: [INFO] [stdout] 79 | | // Fit as much on one line as possible. [INFO] [stdout] 80 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stdout] 90 | | // No spaces around "=" and "+" [INFO] [stdout] 91 | | Compressed, [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stdout] 109 | | // Do not place license text at top of files [INFO] [stdout] 110 | | NoLicense, [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stdout] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stdout] 119 | | PreferSingle, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stdout] 134 | | Always, [INFO] [stdout] 135 | | Unnumbered, [INFO] [stdout] 136 | | Never, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / configuration_option_enum! { WriteMode: [INFO] [stdout] 140 | | // Backs the original file up and overwrites the original. [INFO] [stdout] 141 | | Replace, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/utils.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lists.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/macros.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut context = &mut context.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | mut parse_session: &mut ParseSess, [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | let mut out = &mut stdout(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:568:20 [INFO] [stdout] | [INFO] [stdout] 568 | parse_session: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 569 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 569 | ) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_lines.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn files(&self) -> Files { [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] 126 | pub fn files(&self) -> Files<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/visitor.rs:695:24 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn get_context(&self) -> RewriteContext { [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] 695 | pub fn get_context(&self) -> RewriteContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comment.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/comment.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | format!("string '{}' is not a comment", comment) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 822 - format!("string '{}' is not a comment", comment) [INFO] [stdout] 822 + "string '{}' is not a comment", comment [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "699485c0b2bbbec171acf685dcf2f3d31e892cc900a6b08574e9748af5e748d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699485c0b2bbbec171acf685dcf2f3d31e892cc900a6b08574e9748af5e748d2", kill_on_drop: false }` [INFO] [stdout] 699485c0b2bbbec171acf685dcf2f3d31e892cc900a6b08574e9748af5e748d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3689fbafc9fd506810eb198499c9cb4a314a8961ea2e0a3619d02ec2e25e08d7 [INFO] running `Command { std: "docker" "start" "-a" "3689fbafc9fd506810eb198499c9cb4a314a8961ea2e0a3619d02ec2e25e08d7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> build.rs:31:62 [INFO] [stderr] | [INFO] [stderr] 31 | (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_right(), date), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 31 - (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_right(), date), [INFO] [stderr] 31 + (Some(hash), Some(date)) => format!(" ({} {})", hash.trim_end(), date), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rustfmt` (build script) generated 1 warning [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/items.rs:2294:13 [INFO] [stderr] | [INFO] [stderr] 2294 | ) -> Option<((usize, usize, Indent))> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 2294 - ) -> Option<((usize, usize, Indent))> { [INFO] [stderr] 2294 + ) -> Option<(usize, usize, Indent)> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/expr.rs:1266:5 [INFO] [stderr] | [INFO] [stderr] 1266 | (block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stderr] | ^ [INFO] [stderr] 1267 | !block_contains_comment(block, codemap)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1266 ~ block.stmts.len() == 1 && stmt_is_expr(&block.stmts[0]) && [INFO] [stderr] 1267 ~ !block_contains_comment(block, codemap) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / configuration_option_enum! { Style: [INFO] [stderr] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stderr] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stderr] 37 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / configuration_option_enum! { Style: [INFO] [stderr] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stderr] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stderr] 37 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stderr] 40 | | Windows, // \r\n [INFO] [stderr] 41 | | Unix, // \n [INFO] [stderr] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stderr] 40 | | Windows, // \r\n [INFO] [stderr] 41 | | Unix, // \n [INFO] [stderr] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stderr] 46 | | AlwaysNextLine, [INFO] [stderr] 47 | | PreferSameLine, [INFO] [stderr] ... | [INFO] [stderr] 50 | | SameLineWhere, [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stderr] 46 | | AlwaysNextLine, [INFO] [stderr] 47 | | PreferSameLine, [INFO] [stderr] ... | [INFO] [stderr] 50 | | SameLineWhere, [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stderr] 54 | | // K&R style, Rust community default [INFO] [stderr] 55 | | AlwaysSameLine, [INFO] [stderr] ... | [INFO] [stderr] 59 | | AlwaysNextLine, [INFO] [stderr] 60 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stderr] 54 | | // K&R style, Rust community default [INFO] [stderr] 55 | | AlwaysSameLine, [INFO] [stderr] ... | [INFO] [stderr] 59 | | AlwaysNextLine, [INFO] [stderr] 60 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stderr] 64 | | // Aligned with the arguments [INFO] [stderr] 65 | | WithArgs, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stderr] 64 | | // Aligned with the arguments [INFO] [stderr] 65 | | WithArgs, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stderr] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stderr] 72 | | // the first line. [INFO] [stderr] 73 | | Visual, [INFO] [stderr] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stderr] 75 | | Block, [INFO] [stderr] 76 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stderr] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stderr] 72 | | // the first line. [INFO] [stderr] 73 | | Visual, [INFO] [stderr] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stderr] 75 | | Block, [INFO] [stderr] 76 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | / configuration_option_enum! { Density: [INFO] [stderr] 79 | | // Fit as much on one line as possible. [INFO] [stderr] 80 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 86 | | Vertical, [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | / configuration_option_enum! { Density: [INFO] [stderr] 79 | | // Fit as much on one line as possible. [INFO] [stderr] 80 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 86 | | Vertical, [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:89:1 [INFO] [stderr] | [INFO] [stderr] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stderr] 90 | | // No spaces around "=" and "+" [INFO] [stderr] 91 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:89:1 [INFO] [stderr] | [INFO] [stderr] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stderr] 90 | | // No spaces around "=" and "+" [INFO] [stderr] 91 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:108:1 [INFO] [stderr] | [INFO] [stderr] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stderr] 109 | | // Do not place license text at top of files [INFO] [stderr] 110 | | NoLicense, [INFO] [stderr] ... | [INFO] [stderr] 114 | | FileLicense, [INFO] [stderr] 115 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:108:1 [INFO] [stderr] | [INFO] [stderr] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stderr] 109 | | // Do not place license text at top of files [INFO] [stderr] 110 | | NoLicense, [INFO] [stderr] ... | [INFO] [stderr] 114 | | FileLicense, [INFO] [stderr] 115 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stderr] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stderr] 119 | | PreferSingle, [INFO] [stderr] ... | [INFO] [stderr] 122 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stderr] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stderr] 119 | | PreferSingle, [INFO] [stderr] ... | [INFO] [stderr] 122 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:133:1 [INFO] [stderr] | [INFO] [stderr] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stderr] 134 | | Always, [INFO] [stderr] 135 | | Unnumbered, [INFO] [stderr] 136 | | Never, [INFO] [stderr] 137 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:133:1 [INFO] [stderr] | [INFO] [stderr] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stderr] 134 | | Always, [INFO] [stderr] 135 | | Unnumbered, [INFO] [stderr] 136 | | Never, [INFO] [stderr] 137 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | / configuration_option_enum! { WriteMode: [INFO] [stderr] 140 | | // Backs the original file up and overwrites the original. [INFO] [stderr] 141 | | Replace, [INFO] [stderr] ... | [INFO] [stderr] 153 | | Checkstyle, [INFO] [stderr] 154 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | / configuration_option_enum! { WriteMode: [INFO] [stderr] 140 | | // Backs the original file up and overwrites the original. [INFO] [stderr] 141 | | Replace, [INFO] [stderr] ... | [INFO] [stderr] 153 | | Checkstyle, [INFO] [stderr] 154 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stderr] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stderr] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:221:33 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/utils.rs:251:33 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rustfmt_diff.rs:122:16 [INFO] [stderr] | [INFO] [stderr] 122 | mut t: Box>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 122 | mut t: Box>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/items.rs:1087:27 [INFO] [stderr] | [INFO] [stderr] 1087 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1087 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stderr] 1087 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/items.rs:1089:38 [INFO] [stderr] | [INFO] [stderr] 1089 | result.push_str(&snippet.trim_right()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1089 - result.push_str(&snippet.trim_right()); [INFO] [stderr] 1089 + result.push_str(&snippet.trim_end()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/items.rs:1205:27 [INFO] [stderr] | [INFO] [stderr] 1205 | } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1205 - } else if snippet.trim_right_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stderr] 1205 + } else if snippet.trim_end_matches(&[' ', '\t'][..]).ends_with('\n') { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/items.rs:1206:38 [INFO] [stderr] | [INFO] [stderr] 1206 | result.push_str(&snippet.trim_right()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1206 - result.push_str(&snippet.trim_right()); [INFO] [stderr] 1206 + result.push_str(&snippet.trim_end()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/items.rs:1851:15 [INFO] [stderr] | [INFO] [stderr] 1851 | |l| l.trim_left().len() == 1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1851 - |l| l.trim_left().len() == 1, [INFO] [stderr] 1851 + |l| l.trim_start().len() == 1, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/missed_spans.rs:34:47 [INFO] [stderr] | [INFO] [stderr] 34 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 34 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stderr] 34 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/missed_spans.rs:46:47 [INFO] [stderr] | [INFO] [stderr] 46 | this.buffer.push_str(last_snippet.trim_right()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 46 - this.buffer.push_str(last_snippet.trim_right()); [INFO] [stderr] 46 + this.buffer.push_str(last_snippet.trim_end()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/missed_spans.rs:187:60 [INFO] [stderr] | [INFO] [stderr] 187 | if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 187 - if !subslice.split('\n').map(|s| s.trim_left()).any(|s| { [INFO] [stderr] 187 + if !subslice.split('\n').map(|s| s.trim_start()).any(|s| { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/expr.rs:411:23 [INFO] [stderr] | [INFO] [stderr] 411 | let infix = infix.trim_right(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 411 - let infix = infix.trim_right(); [INFO] [stderr] 411 + let infix = infix.trim_end(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/expr.rs:1563:34 [INFO] [stderr] | [INFO] [stderr] 1563 | attr_str.trim_left(), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1563 - attr_str.trim_left(), [INFO] [stderr] 1563 + attr_str.trim_start(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/expr.rs:1604:26 [INFO] [stderr] | [INFO] [stderr] 1604 | attr_str.trim_left(), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1604 - attr_str.trim_left(), [INFO] [stderr] 1604 + attr_str.trim_start(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/expr.rs:1615:26 [INFO] [stderr] | [INFO] [stderr] 1615 | attr_str.trim_left(), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 1615 - attr_str.trim_left(), [INFO] [stderr] 1615 + attr_str.trim_start(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:100:22 [INFO] [stderr] | [INFO] [stderr] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] 100 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:100:64 [INFO] [stderr] | [INFO] [stderr] 100 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 100 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] 100 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:106:22 [INFO] [stderr] | [INFO] [stderr] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stderr] 106 + line.trim_start().starts_with(self.closer().trim_left()) || [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:106:60 [INFO] [stderr] | [INFO] [stderr] 106 | line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 106 - line.trim_left().starts_with(self.closer().trim_left()) || [INFO] [stderr] 106 + line.trim_left().starts_with(self.closer().trim_start()) || [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] 107 + line.trim_start().starts_with(self.line_start().trim_left()) || [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:107:68 [INFO] [stderr] | [INFO] [stderr] 107 | line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 107 - line.trim_left().starts_with(self.line_start().trim_left()) || [INFO] [stderr] 107 + line.trim_left().starts_with(self.line_start().trim_start()) || [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:110:50 [INFO] [stderr] | [INFO] [stderr] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stderr] 110 + CommentStyle::Custom(opener) => line.trim_start().starts_with(opener.trim_right()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/comment.rs:110:81 [INFO] [stderr] | [INFO] [stderr] 110 | CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 110 - CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_right()), [INFO] [stderr] 110 + CommentStyle::Custom(opener) => line.trim_left().starts_with(opener.trim_end()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/comment.rs:235:28 [INFO] [stderr] | [INFO] [stderr] 235 | let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 235 - let line_breaks = orig.trim_right().chars().filter(|&c| c == '\n').count(); [INFO] [stderr] 235 + let line_breaks = orig.trim_end().chars().filter(|&c| c == '\n').count(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/comment.rs:242:50 [INFO] [stderr] | [INFO] [stderr] 242 | line = &line[..(line.len() - 2)].trim_right(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 242 - line = &line[..(line.len() - 2)].trim_right(); [INFO] [stderr] 242 + line = &line[..(line.len() - 2)].trim_end(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/comment.rs:249:18 [INFO] [stderr] | [INFO] [stderr] 249 | line.trim_left() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 249 - line.trim_left() [INFO] [stderr] 249 + line.trim_start() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/comment.rs:303:15 [INFO] [stderr] | [INFO] [stderr] 303 | }.trim_right() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 303 - }.trim_right() [INFO] [stderr] 303 + }.trim_end() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/comment.rs:320:26 [INFO] [stderr] | [INFO] [stderr] 320 | &line[opener.trim_right().len()..] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 320 - &line[opener.trim_right().len()..] [INFO] [stderr] 320 + &line[opener.trim_end().len()..] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / configuration_option_enum! { Style: [INFO] [stderr] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stderr] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stderr] 37 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / configuration_option_enum! { Style: [INFO] [stderr] 35 | | Rfc, // Follow the style RFCs style. [INFO] [stderr] 36 | | Legacy, // Follow the traditional Rustfmt style. [INFO] [stderr] 37 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stderr] 40 | | Windows, // \r\n [INFO] [stderr] 41 | | Unix, // \n [INFO] [stderr] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / configuration_option_enum! { NewlineStyle: [INFO] [stderr] 40 | | Windows, // \r\n [INFO] [stderr] 41 | | Unix, // \n [INFO] [stderr] 42 | | Native, // \r\n in Windows, \n on other platforms [INFO] [stderr] 43 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stderr] 46 | | AlwaysNextLine, [INFO] [stderr] 47 | | PreferSameLine, [INFO] [stderr] ... | [INFO] [stderr] 50 | | SameLineWhere, [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / configuration_option_enum! { BraceStyle: [INFO] [stderr] 46 | | AlwaysNextLine, [INFO] [stderr] 47 | | PreferSameLine, [INFO] [stderr] ... | [INFO] [stderr] 50 | | SameLineWhere, [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stderr] 54 | | // K&R style, Rust community default [INFO] [stderr] 55 | | AlwaysSameLine, [INFO] [stderr] ... | [INFO] [stderr] 59 | | AlwaysNextLine, [INFO] [stderr] 60 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / configuration_option_enum! { ControlBraceStyle: [INFO] [stderr] 54 | | // K&R style, Rust community default [INFO] [stderr] 55 | | AlwaysSameLine, [INFO] [stderr] ... | [INFO] [stderr] 59 | | AlwaysNextLine, [INFO] [stderr] 60 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stderr] 64 | | // Aligned with the arguments [INFO] [stderr] 65 | | WithArgs, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | / configuration_option_enum! { ReturnIndent: [INFO] [stderr] 64 | | // Aligned with the arguments [INFO] [stderr] 65 | | WithArgs, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stderr] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stderr] 72 | | // the first line. [INFO] [stderr] 73 | | Visual, [INFO] [stderr] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stderr] 75 | | Block, [INFO] [stderr] 76 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / configuration_option_enum! { IndentStyle: [INFO] [stderr] 71 | | // First line on the same line as the opening brace, all lines aligned with [INFO] [stderr] 72 | | // the first line. [INFO] [stderr] 73 | | Visual, [INFO] [stderr] 74 | | // First line is on a new line and all lines align with block indent. [INFO] [stderr] 75 | | Block, [INFO] [stderr] 76 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | / configuration_option_enum! { Density: [INFO] [stderr] 79 | | // Fit as much on one line as possible. [INFO] [stderr] 80 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 86 | | Vertical, [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | / configuration_option_enum! { Density: [INFO] [stderr] 79 | | // Fit as much on one line as possible. [INFO] [stderr] 80 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 86 | | Vertical, [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:89:1 [INFO] [stderr] | [INFO] [stderr] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stderr] 90 | | // No spaces around "=" and "+" [INFO] [stderr] 91 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:89:1 [INFO] [stderr] | [INFO] [stderr] 89 | / configuration_option_enum! { TypeDensity: [INFO] [stderr] 90 | | // No spaces around "=" and "+" [INFO] [stderr] 91 | | Compressed, [INFO] [stderr] ... | [INFO] [stderr] 94 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:108:1 [INFO] [stderr] | [INFO] [stderr] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stderr] 109 | | // Do not place license text at top of files [INFO] [stderr] 110 | | NoLicense, [INFO] [stderr] ... | [INFO] [stderr] 114 | | FileLicense, [INFO] [stderr] 115 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:108:1 [INFO] [stderr] | [INFO] [stderr] 108 | / configuration_option_enum! { LicensePolicy: [INFO] [stderr] 109 | | // Do not place license text at top of files [INFO] [stderr] 110 | | NoLicense, [INFO] [stderr] ... | [INFO] [stderr] 114 | | FileLicense, [INFO] [stderr] 115 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stderr] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stderr] 119 | | PreferSingle, [INFO] [stderr] ... | [INFO] [stderr] 122 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | / configuration_option_enum! { MultilineStyle: [INFO] [stderr] 118 | | // Use horizontal layout if it fits in one line, fall back to vertical [INFO] [stderr] 119 | | PreferSingle, [INFO] [stderr] ... | [INFO] [stderr] 122 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:133:1 [INFO] [stderr] | [INFO] [stderr] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stderr] 134 | | Always, [INFO] [stderr] 135 | | Unnumbered, [INFO] [stderr] 136 | | Never, [INFO] [stderr] 137 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:133:1 [INFO] [stderr] | [INFO] [stderr] 133 | / configuration_option_enum! { ReportTactic: [INFO] [stderr] 134 | | Always, [INFO] [stderr] 135 | | Unnumbered, [INFO] [stderr] 136 | | Never, [INFO] [stderr] 137 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | / configuration_option_enum! { WriteMode: [INFO] [stderr] 140 | | // Backs the original file up and overwrites the original. [INFO] [stderr] 141 | | Replace, [INFO] [stderr] ... | [INFO] [stderr] 153 | | Checkstyle, [INFO] [stderr] 154 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/config.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | / configuration_option_enum! { WriteMode: [INFO] [stderr] 140 | | // Backs the original file up and overwrites the original. [INFO] [stderr] 141 | | Replace, [INFO] [stderr] ... | [INFO] [stderr] 153 | | Checkstyle, [INFO] [stderr] 154 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` which comes from the expansion of the macro `configuration_option_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stderr] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | impl_enum_serialize_and_deserialize!(ListTactic, Vertical, Horizontal, HorizontalVertical, Mixed); [INFO] [stderr] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/utils.rs:251:21 [INFO] [stderr] | [INFO] [stderr] 251 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lists.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | impl_enum_serialize_and_deserialize!(SeparatorTactic, Always, Never, Vertical); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enum_serialize_and_deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/macros.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | let mut context = &mut context.clone(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:441:5 [INFO] [stderr] | [INFO] [stderr] 441 | mut parse_session: &mut ParseSess, [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:682:9 [INFO] [stderr] | [INFO] [stderr] 682 | let mut out = &mut stdout(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:568:20 [INFO] [stderr] | [INFO] [stderr] 568 | parse_session: &ParseSess, [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 569 | ) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 569 | ) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/file_lines.rs:126:18 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn files(&self) -> Files { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 126 | pub fn files(&self) -> Files<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/visitor.rs:695:24 [INFO] [stderr] | [INFO] [stderr] 695 | pub fn get_context(&self) -> RewriteContext { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 695 | pub fn get_context(&self) -> RewriteContext<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/comment.rs:115:24 [INFO] [stderr] | [INFO] [stderr] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 115 | fn comment_style(orig: &str, normalize_comments: bool) -> CommentStyle<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/comment.rs:822:13 [INFO] [stderr] | [INFO] [stderr] 822 | format!("string '{}' is not a comment", comment) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 822 - format!("string '{}' is not a comment", comment) [INFO] [stderr] 822 + "string '{}' is not a comment", comment [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rustfmt` (lib) generated 92 warnings (run `cargo fix --lib -p rustfmt` to apply 36 suggestions) [INFO] [stderr] warning: `rustfmt` (lib test) generated 92 warnings (92 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustfmt-767e11593f4944e9) [INFO] [stdout] running 26 tests [INFO] [stdout] test comment::test::comment_code_slices ... ok [INFO] [stdout] test comment::test::comment_code_slices_three ... ok [INFO] [stdout] test comment::test::test_contains_comment ... ok [INFO] [stdout] test comment::test::test_find_uncommented ... ok [INFO] [stdout] test comment::test::test_uncommented ... ok [INFO] [stdout] test file_lines::test::test_range_merge ... ok [INFO] [stdout] test issues::find_unnumbered_issue ... ok [INFO] [stdout] test test::indent_add_sub ... ok [INFO] [stdout] test file_lines::test::test_range_adjacent_to ... ok [INFO] [stdout] test test::indent_to_string_hard_tabs ... ok [INFO] [stdout] test test::indent_to_string_spaces ... ok [INFO] [stdout] test config::test::test_config_set ... ok [INFO] [stdout] test comment::test::format_comments ... ok [INFO] [stdout] test config::test::test_config_used_to_toml ... ok [INFO] [stdout] test file_lines::test::test_range_contains ... ok [INFO] [stdout] test file_lines::test::test_range_intersects ... ok [INFO] [stdout] test issues::find_issue ... ok [INFO] [stdout] test issues::issue_type ... ok [INFO] [stdout] test test::shape_block_indent_without_alignment ... ok [INFO] [stdout] test test::shape_visual_indent ... ok [INFO] [stdout] test utils::bin_search_test ... ok [INFO] [stdout] test comment::test::comment_code_slices_two ... ok [INFO] [stdout] test test::indent_add_sub_alignment ... ok [INFO] [stdout] test string::test::issue343 ... ok [INFO] [stdout] test comment::test::char_classes ... ok [INFO] [stdout] test test::shape_block_indent_with_alignment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/cargo-fmt.rs (/opt/rustwide/target/debug/deps/cargo_fmt-39edb34400675fdb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/rustfmt.rs (/opt/rustwide/target/debug/deps/rustfmt-d100285c58ebf869) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3689fbafc9fd506810eb198499c9cb4a314a8961ea2e0a3619d02ec2e25e08d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3689fbafc9fd506810eb198499c9cb4a314a8961ea2e0a3619d02ec2e25e08d7", kill_on_drop: false }` [INFO] [stdout] 3689fbafc9fd506810eb198499c9cb4a314a8961ea2e0a3619d02ec2e25e08d7