[INFO] fetching crate rustfmt 0.10.0... [INFO] checking rustfmt-0.10.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rustfmt 0.10.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rustfmt 0.10.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded strings v0.1.1 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded syntex_errors v0.59.1 [INFO] [stderr] Downloaded extprim v1.7.1 [INFO] [stderr] Downloaded syntex_pos v0.59.1 [INFO] [stderr] Downloaded syntex_syntax v0.59.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f08ee86fe1e74114b63c092bb7babfa47e343c0fcb52a89bf6ca66f9093db1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f08ee86fe1e74114b63c092bb7babfa47e343c0fcb52a89bf6ca66f9093db1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f08ee86fe1e74114b63c092bb7babfa47e343c0fcb52a89bf6ca66f9093db1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f08ee86fe1e74114b63c092bb7babfa47e343c0fcb52a89bf6ca66f9093db1c", kill_on_drop: false }` [INFO] [stdout] 7f08ee86fe1e74114b63c092bb7babfa47e343c0fcb52a89bf6ca66f9093db1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbc922beff4305233ea7feaa99d6b2fde6022ed695089e4a9510d3e4dfcc7a98 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cbc922beff4305233ea7feaa99d6b2fde6022ed695089e4a9510d3e4dfcc7a98", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling rustfmt v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Checking strings v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking syntex_pos v0.59.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking syntex_errors v0.59.1 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn term::Terminal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [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(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn term::Terminal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [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(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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: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 a macro (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: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 a macro (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: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 a macro (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: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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | }.trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [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)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/comment.rs:303:15 [INFO] [stdout] | [INFO] [stdout] 303 | }.trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [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] = note: `#[warn(unused_mut)]` on by default [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)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 48 | | // Prefer same line except where there is a where clause, in which case force [INFO] [stdout] 49 | | // the brace to the next line. [INFO] [stdout] 50 | | SameLineWhere, [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 56 | | // Stroustrup style [INFO] [stdout] ... | [INFO] [stdout] 59 | | AlwaysNextLine, [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 66 | | // Aligned with the where clause [INFO] [stdout] 67 | | WithWhereClause, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 81 | | // Use more lines. [INFO] [stdout] ... | [INFO] [stdout] 86 | | Vertical, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 92 | | // Spaces around " = " and " + " [INFO] [stdout] 93 | | Wide, [INFO] [stdout] 94 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 111 | | // Use the text in "license" field as the license [INFO] [stdout] ... | [INFO] [stdout] 114 | | FileLicense, [INFO] [stdout] 115 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 120 | | // Use vertical layout [INFO] [stdout] 121 | | ForceMulti, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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] 142 | | // Overwrites original file without backup. [INFO] [stdout] ... | [INFO] [stdout] 153 | | Checkstyle, [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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 a macro (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/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] = note: `#[warn(unused_mut)]` on by default [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 822 | "string '{}' is not a comment", comment [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 86 warnings emitted [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 822 | "string '{}' is not a comment", comment [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 86 warnings emitted [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "cbc922beff4305233ea7feaa99d6b2fde6022ed695089e4a9510d3e4dfcc7a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc922beff4305233ea7feaa99d6b2fde6022ed695089e4a9510d3e4dfcc7a98", kill_on_drop: false }` [INFO] [stdout] cbc922beff4305233ea7feaa99d6b2fde6022ed695089e4a9510d3e4dfcc7a98