[INFO] fetching crate easy_strings 0.2.0... [INFO] linting easy_strings-0.2.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate easy_strings 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate easy_strings 0.2.0 [INFO] finished tweaking crates.io crate easy_strings 0.2.0 [INFO] tweaked toml for crates.io crate easy_strings 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate easy_strings 0.2.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding owning_ref v0.3.3 (available: v0.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aac85b2404e70cf228e2dac36682001014d2cf628bf036860b4bdb98fd3a45a [INFO] running `Command { std: "docker" "start" "-a" "8aac85b2404e70cf228e2dac36682001014d2cf628bf036860b4bdb98fd3a45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aac85b2404e70cf228e2dac36682001014d2cf628bf036860b4bdb98fd3a45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aac85b2404e70cf228e2dac36682001014d2cf628bf036860b4bdb98fd3a45a", kill_on_drop: false }` [INFO] [stdout] 8aac85b2404e70cf228e2dac36682001014d2cf628bf036860b4bdb98fd3a45a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45c9f3d22bacb233c97e54a0c66c5eb5b732270b6070373ab6471ca14058f3c7 [INFO] running `Command { std: "docker" "start" "-a" "45c9f3d22bacb233c97e54a0c66c5eb5b732270b6070373ab6471ca14058f3c7", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking easy_strings v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/ezstring.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | / /// ``` [INFO] [stdout] 640 | | [INFO] [stdout] | |_^ [INFO] [stdout] 641 | pub fn rsplit(&self, p: &str) -> RSplit { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref STATIC_STRINGS: Mutex> = Mutex::default(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/ezstring.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | / /// ``` [INFO] [stdout] 640 | | [INFO] [stdout] | |_^ [INFO] [stdout] 641 | pub fn rsplit(&self, p: &str) -> RSplit { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref STATIC_STRINGS: Mutex> = Mutex::default(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/ezstring.rs:714:32 [INFO] [stdout] | [INFO] [stdout] 714 | self.from_slice(self.0.trim_left()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 714 - self.from_slice(self.0.trim_left()) [INFO] [stdout] 714 + self.from_slice(self.0.trim_start()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ezstring.rs:726:32 [INFO] [stdout] | [INFO] [stdout] 726 | self.from_slice(self.0.trim_right()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 726 - self.from_slice(self.0.trim_right()) [INFO] [stdout] 726 + self.from_slice(self.0.trim_end()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/ezstring.rs:749:32 [INFO] [stdout] | [INFO] [stdout] 749 | self.from_slice(self.0.trim_left_matches(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 749 - self.from_slice(self.0.trim_left_matches(p)) [INFO] [stdout] 749 + self.from_slice(self.0.trim_start_matches(p)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/ezstring.rs:762:32 [INFO] [stdout] | [INFO] [stdout] 762 | self.from_slice(self.0.trim_right_matches(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 762 - self.from_slice(self.0.trim_right_matches(p)) [INFO] [stdout] 762 + self.from_slice(self.0.trim_end_matches(p)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/ezstring.rs:714:32 [INFO] [stdout] | [INFO] [stdout] 714 | self.from_slice(self.0.trim_left()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 714 - self.from_slice(self.0.trim_left()) [INFO] [stdout] 714 + self.from_slice(self.0.trim_start()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ezstring.rs:726:32 [INFO] [stdout] | [INFO] [stdout] 726 | self.from_slice(self.0.trim_right()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 726 - self.from_slice(self.0.trim_right()) [INFO] [stdout] 726 + self.from_slice(self.0.trim_end()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/ezstring.rs:749:32 [INFO] [stdout] | [INFO] [stdout] 749 | self.from_slice(self.0.trim_left_matches(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 749 - self.from_slice(self.0.trim_left_matches(p)) [INFO] [stdout] 749 + self.from_slice(self.0.trim_start_matches(p)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/ezstring.rs:762:32 [INFO] [stdout] | [INFO] [stdout] 762 | self.from_slice(self.0.trim_right_matches(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 762 - self.from_slice(self.0.trim_right_matches(p)) [INFO] [stdout] 762 + self.from_slice(self.0.trim_end_matches(p)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> adapters::Wrappable for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 16 - impl<'a> adapters::Wrappable for &'a str { [INFO] [stdout] 16 + impl adapters::Wrappable for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `from_*` usually take no `self` [INFO] [stdout] --> src/ezstring.rs:453:23 [INFO] [stdout] | [INFO] [stdout] 453 | fn from_slice<'a>(&self, s: &'a str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | fn from_slice<'a>(&self, s: &'a str) -> Self { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 453 - fn from_slice<'a>(&self, s: &'a str) -> Self { [INFO] [stdout] 453 + fn from_slice(&self, s: &str) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/ezstring.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | &*self.0 [INFO] [stdout] | ^^^^^^^^ help: try: `&self.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of inherent method `to_string(&self) -> String` for type `ezstring::EZString` [INFO] [stdout] --> src/ezstring.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | / pub fn to_string(&self) -> String { [INFO] [stdout] 540 | | (*self.0).clone() [INFO] [stdout] 541 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: implement trait `Display` for type `ezstring::EZString` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string [INFO] [stdout] = note: `#[warn(clippy::inherent_to_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/ezstring.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 834 | &*self.0 [INFO] [stdout] | ^^^^^^^^ help: try: `&self.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/ezstring.rs:877:6 [INFO] [stdout] | [INFO] [stdout] 877 | impl<'a, 'b> Add<&'a str> for &'b EZString { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 877 - impl<'a, 'b> Add<&'a str> for &'b EZString { [INFO] [stdout] 877 + impl Add<&str> for &EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b, 'c [INFO] [stdout] --> src/ezstring.rs:883:6 [INFO] [stdout] | [INFO] [stdout] 883 | impl<'a, 'b, 'c> Add<&'a str> for &'c &'b EZString { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 883 - impl<'a, 'b, 'c> Add<&'a str> for &'c &'b EZString { [INFO] [stdout] 883 + impl Add<&str> for &&EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/ezstring.rs:890:6 [INFO] [stdout] | [INFO] [stdout] 890 | impl<'a, 'b> Add<&'a EZString> for &'b String { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 890 - impl<'a, 'b> Add<&'a EZString> for &'b String { [INFO] [stdout] 890 + impl Add<&EZString> for &String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> adapters::Wrappable for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 16 - impl<'a> adapters::Wrappable for &'a str { [INFO] [stdout] 16 + impl adapters::Wrappable for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b, 'c [INFO] [stdout] --> src/ezstring.rs:896:6 [INFO] [stdout] | [INFO] [stdout] 896 | impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b String { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 896 - impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b String { [INFO] [stdout] 896 + impl Add<&EZString> for &&String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b, 'c [INFO] [stdout] --> src/ezstring.rs:902:6 [INFO] [stdout] | [INFO] [stdout] 902 | impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b str { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 902 - impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b str { [INFO] [stdout] 902 + impl Add<&EZString> for &&str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:909:6 [INFO] [stdout] | [INFO] [stdout] 909 | impl<'a> Add<&'a str> for EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 909 - impl<'a> Add<&'a str> for EZString { [INFO] [stdout] 909 + impl Add<&str> for EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:917:6 [INFO] [stdout] | [INFO] [stdout] 917 | impl<'a, T: AsRef + ?Sized> AddAssign<&'a T> for EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 917 - impl<'a, T: AsRef + ?Sized> AddAssign<&'a T> for EZString { [INFO] [stdout] 917 + impl + ?Sized> AddAssign<&T> for EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ezstring.rs:919:30 [INFO] [stdout] | [INFO] [stdout] 919 | *self.deref_mut() += &other.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `other.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:936:6 [INFO] [stdout] | [INFO] [stdout] 936 | impl<'a> PartialEq for &'a EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 936 - impl<'a> PartialEq for &'a EZString { [INFO] [stdout] 936 + impl PartialEq for &EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:941:6 [INFO] [stdout] | [INFO] [stdout] 941 | impl<'a> PartialEq for &'a EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 941 - impl<'a> PartialEq for &'a EZString { [INFO] [stdout] 941 + impl PartialEq for &EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `from_*` usually take no `self` [INFO] [stdout] --> src/ezstring.rs:453:23 [INFO] [stdout] | [INFO] [stdout] 453 | fn from_slice<'a>(&self, s: &'a str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | fn from_slice<'a>(&self, s: &'a str) -> Self { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 453 - fn from_slice<'a>(&self, s: &'a str) -> Self { [INFO] [stdout] 453 + fn from_slice(&self, s: &str) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/ezstring.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | &*self.0 [INFO] [stdout] | ^^^^^^^^ help: try: `&self.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implementation of inherent method `to_string(&self) -> String` for type `ezstring::EZString` [INFO] [stdout] --> src/ezstring.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 539 | / pub fn to_string(&self) -> String { [INFO] [stdout] 540 | | (*self.0).clone() [INFO] [stdout] 541 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: implement trait `Display` for type `ezstring::EZString` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string [INFO] [stdout] = note: `#[warn(clippy::inherent_to_string)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/ezstring.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 834 | &*self.0 [INFO] [stdout] | ^^^^^^^^ help: try: `&self.0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/ezstring.rs:877:6 [INFO] [stdout] | [INFO] [stdout] 877 | impl<'a, 'b> Add<&'a str> for &'b EZString { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 877 - impl<'a, 'b> Add<&'a str> for &'b EZString { [INFO] [stdout] 877 + impl Add<&str> for &EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b, 'c [INFO] [stdout] --> src/ezstring.rs:883:6 [INFO] [stdout] | [INFO] [stdout] 883 | impl<'a, 'b, 'c> Add<&'a str> for &'c &'b EZString { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 883 - impl<'a, 'b, 'c> Add<&'a str> for &'c &'b EZString { [INFO] [stdout] 883 + impl Add<&str> for &&EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/ezstring.rs:890:6 [INFO] [stdout] | [INFO] [stdout] 890 | impl<'a, 'b> Add<&'a EZString> for &'b String { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 890 - impl<'a, 'b> Add<&'a EZString> for &'b String { [INFO] [stdout] 890 + impl Add<&EZString> for &String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b, 'c [INFO] [stdout] --> src/ezstring.rs:896:6 [INFO] [stdout] | [INFO] [stdout] 896 | impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b String { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 896 - impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b String { [INFO] [stdout] 896 + impl Add<&EZString> for &&String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b, 'c [INFO] [stdout] --> src/ezstring.rs:902:6 [INFO] [stdout] | [INFO] [stdout] 902 | impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b str { [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 902 - impl<'a, 'b, 'c> Add<&'a EZString> for &'c &'b str { [INFO] [stdout] 902 + impl Add<&EZString> for &&str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:909:6 [INFO] [stdout] | [INFO] [stdout] 909 | impl<'a> Add<&'a str> for EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 909 - impl<'a> Add<&'a str> for EZString { [INFO] [stdout] 909 + impl Add<&str> for EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:917:6 [INFO] [stdout] | [INFO] [stdout] 917 | impl<'a, T: AsRef + ?Sized> AddAssign<&'a T> for EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 917 - impl<'a, T: AsRef + ?Sized> AddAssign<&'a T> for EZString { [INFO] [stdout] 917 + impl + ?Sized> AddAssign<&T> for EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ezstring.rs:919:30 [INFO] [stdout] | [INFO] [stdout] 919 | *self.deref_mut() += &other.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: change this to: `other.as_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:936:6 [INFO] [stdout] | [INFO] [stdout] 936 | impl<'a> PartialEq for &'a EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 936 - impl<'a> PartialEq for &'a EZString { [INFO] [stdout] 936 + impl PartialEq for &EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/ezstring.rs:941:6 [INFO] [stdout] | [INFO] [stdout] 941 | impl<'a> PartialEq for &'a EZString { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 941 - impl<'a> PartialEq for &'a EZString { [INFO] [stdout] 941 + impl PartialEq for &EZString { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/test.rs:360:70 [INFO] [stdout] | [INFO] [stdout] 360 | fn split2<'a, P: Into>>(s: &EZString, sep: P) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 360 | fn split2<'a, P: Into>>(s: &EZString, sep: P) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | consume(&ea + &erb); [INFO] [stdout] | ^^^^ help: change this to: `erb` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | consume(&ea + &src); [INFO] [stdout] | ^^^^ help: change this to: `src` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of right operand [INFO] [stdout] --> tests/test.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | consume(&ea + &ld); [INFO] [stdout] | ^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the right value directly: `ld` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] = note: `#[warn(clippy::op_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | consume(&ea + &ld); [INFO] [stdout] | ^^^ help: change this to: `ld` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of left operand [INFO] [stdout] --> tests/test.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | consume(&src + &ea); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use the left value directly: `src` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of right operand [INFO] [stdout] --> tests/test.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | consume(&sc + &erb); [INFO] [stdout] | ^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | help: use the right value directly: `erb` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | consume(&sc + &erb); [INFO] [stdout] | ^^^^ help: change this to: `erb` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needlessly taken reference of both operands [INFO] [stdout] --> tests/test.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | consume(&src + &erb); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] help: use the values directly [INFO] [stdout] | [INFO] [stdout] 44 - consume(&src + &erb); [INFO] [stdout] 44 + consume(src + erb); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | consume(&src + &erb); [INFO] [stdout] | ^^^^ help: change this to: `erb` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | consume(&ld + &erb); [INFO] [stdout] | ^^^^ help: change this to: `erb` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taken reference of right operand [INFO] [stdout] --> tests/test.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | consume(&ea + &erb + &sc + &src + &ld); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the right value directly: `ld` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | consume(&ea + &erb + &sc + &src + &ld); [INFO] [stdout] | ^^^^ help: change this to: `erb` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | consume(&ea + &erb + &sc + &src + &ld); [INFO] [stdout] | ^^^^ help: change this to: `src` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | consume(&ea + &erb + &sc + &src + &ld); [INFO] [stdout] | ^^^ help: change this to: `ld` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taken reference of right operand [INFO] [stdout] --> tests/test.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | consume(&ld + &erb + &ld); [INFO] [stdout] | ^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the right value directly: `ld` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | consume(&ld + &erb + &ld); [INFO] [stdout] | ^^^^ help: change this to: `erb` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | consume(&ld + &erb + &ld); [INFO] [stdout] | ^^^ help: change this to: `ld` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/test.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(!(a >= b)); [INFO] [stdout] | ^^^^^^^^^ help: try: `(a < b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/test.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | assert!(!(a >= b)); [INFO] [stdout] | ^^^^^^^^^ help: try: `(a < b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> tests/test.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | consume_ref(*rr); [INFO] [stdout] | ^^^ help: try: `rr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:342:10 [INFO] [stdout] | [INFO] [stdout] 342 | fstr(&r); [INFO] [stdout] | ^^ help: change this to: `r` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test.rs:344:16 [INFO] [stdout] | [INFO] [stdout] 344 | fstringref(&r); [INFO] [stdout] | ^^ help: change this to: `r` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "45c9f3d22bacb233c97e54a0c66c5eb5b732270b6070373ab6471ca14058f3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c9f3d22bacb233c97e54a0c66c5eb5b732270b6070373ab6471ca14058f3c7", kill_on_drop: false }` [INFO] [stdout] 45c9f3d22bacb233c97e54a0c66c5eb5b732270b6070373ab6471ca14058f3c7