[INFO] cloning repository https://github.com/miraclx/xbytes-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miraclx/xbytes-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiraclx%2Fxbytes-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiraclx%2Fxbytes-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 809b2b8c3b311e6b26420a4e6c9e73087e94900b [INFO] linting miraclx/xbytes-rs against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiraclx%2Fxbytes-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/miraclx/xbytes-rs [INFO] finished tweaking git repo https://github.com/miraclx/xbytes-rs [INFO] tweaked toml for git repo https://github.com/miraclx/xbytes-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/miraclx/xbytes-rs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding fraction v0.14.0 (available: v0.15.3) [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] Downloading crates ... [INFO] [stderr] Downloaded fraction v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 885c89b7f05a8dbc5a53b67ed6766221b86c4bde02c224c453fb70764b71a5c9 [INFO] running `Command { std: "docker" "start" "-a" "885c89b7f05a8dbc5a53b67ed6766221b86c4bde02c224c453fb70764b71a5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "885c89b7f05a8dbc5a53b67ed6766221b86c4bde02c224c453fb70764b71a5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "885c89b7f05a8dbc5a53b67ed6766221b86c4bde02c224c453fb70764b71a5c9", kill_on_drop: false }` [INFO] [stdout] 885c89b7f05a8dbc5a53b67ed6766221b86c4bde02c224c453fb70764b71a5c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2c48558f1aa93a0354c4405906d363b4c64caf86b5ac26ccfbb5d73f16fa4ba9 [INFO] running `Command { std: "docker" "start" "-a" "2c48558f1aa93a0354c4405906d363b4c64caf86b5ac26ccfbb5d73f16fa4ba9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking fraction v0.14.0 [INFO] [stderr] Checking xbytes v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: digits grouped inconsistently by underscores [INFO] [stdout] --> src/bytesize.rs:868:29 [INFO] [stdout] | [INFO] [stdout] 868 | Ok(ByteSize::of(43_456.2466, KIBI_BYTE)), [INFO] [stdout] | ^^^^^^^^^^^ help: consider: `43_456.246_6` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_digit_grouping [INFO] [stdout] = note: `#[warn(clippy::inconsistent_digit_grouping)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/bytesize.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | const Default = 0 << 0; [INFO] [stdout] | ^^^^^^ help: consider reducing it to: `0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/bytesize.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | const Default = 0 << 0; // 1 B, 2.13 KB, 1024.43 MiB [INFO] [stdout] | ^^^^^^ help: consider reducing it to: `0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious use of `/` in `Mul` impl [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | r.numer() / r.denom() [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bytesize.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | impl_ops!(@ { Mul::mul Div::div }); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_arithmetic_impl [INFO] [stdout] = note: `#[warn(clippy::suspicious_arithmetic_impl)]` on by default [INFO] [stdout] = note: this warning originates in the macro `i` which comes from the expansion of the macro `impl_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/bytesize.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | / impl PartialOrd for ByteSizeRepr { [INFO] [stdout] 338 | | #[inline] [INFO] [stdout] 339 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 340 | | (self.1, self.0).partial_cmp(&(other.1, other.0)) [INFO] [stdout] 341 | | } [INFO] [stdout] 342 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 339 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 340 - (self.1, self.0).partial_cmp(&(other.1, other.0)) [INFO] [stdout] 341 - } [INFO] [stdout] 339 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/bytesize.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | / if !matches!((value.len() - commas) % 3, 0) { parts.next() } else { None } [INFO] [stdout] 509 | | .map_or(true, |tip| tip.len() < 3) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 509 - .map_or(true, |tip| tip.len() < 3) [INFO] [stdout] 509 + .is_none_or(|tip| tip.len() < 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/prefix.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | let unit = match &{ [INFO] [stdout] | __________________________^ [INFO] [stdout] 172 | | #[cfg(not(feature = "case-insensitive"))] { s } [INFO] [stdout] 173 | | #[cfg(feature = "case-insensitive")] { [INFO] [stdout] 174 | | if !s.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 181 | | }[..] { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] = note: `#[warn(clippy::redundant_slicing)]` on by default [INFO] [stdout] help: use the original value instead [INFO] [stdout] | [INFO] [stdout] 171 ~ let unit = match { [INFO] [stdout] 172 + #[cfg(not(feature = "case-insensitive"))] { s } [INFO] [stdout] 173 + #[cfg(feature = "case-insensitive")] { [INFO] [stdout] 174 + if !s.is_empty() { [INFO] [stdout] 175 + let (first, rest) = s.split_at(1); [INFO] [stdout] 176 + format!("{}{}", first.to_uppercase(), rest.to_lowercase()) [INFO] [stdout] 177 + } else { [INFO] [stdout] 178 + s.to_string() [INFO] [stdout] 179 + } [INFO] [stdout] 180 + } [INFO] [stdout] 181 ~ } { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this manual char comparison can be written more succinctly [INFO] [stdout] --> src/unit.rs:517:33 [INFO] [stdout] | [INFO] [stdout] 517 | let index = s.rfind(|c| matches!(c, 'b' | 'B')).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['b', 'B']` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison [INFO] [stdout] = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/bytesize.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | const Default = 0 << 0; [INFO] [stdout] | ^^^^^^ help: consider reducing it to: `0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/bytesize.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | const Default = 0 << 0; // 1 B, 2.13 KB, 1024.43 MiB [INFO] [stdout] | ^^^^^^ help: consider reducing it to: `0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious use of `/` in `Mul` impl [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | r.numer() / r.denom() [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bytesize.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | impl_ops!(@ { Mul::mul Div::div }); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_arithmetic_impl [INFO] [stdout] = note: `#[warn(clippy::suspicious_arithmetic_impl)]` on by default [INFO] [stdout] = note: this warning originates in the macro `i` which comes from the expansion of the macro `impl_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/bytesize.rs:337:1 [INFO] [stdout] | [INFO] [stdout] 337 | / impl PartialOrd for ByteSizeRepr { [INFO] [stdout] 338 | | #[inline] [INFO] [stdout] 339 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 340 | | (self.1, self.0).partial_cmp(&(other.1, other.0)) [INFO] [stdout] 341 | | } [INFO] [stdout] 342 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 339 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 340 - (self.1, self.0).partial_cmp(&(other.1, other.0)) [INFO] [stdout] 341 - } [INFO] [stdout] 339 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/bytesize.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | / if !matches!((value.len() - commas) % 3, 0) { parts.next() } else { None } [INFO] [stdout] 509 | | .map_or(true, |tip| tip.len() < 3) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 509 - .map_or(true, |tip| tip.len() < 3) [INFO] [stdout] 509 + .is_none_or(|tip| tip.len() < 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/prefix.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | let unit = match &{ [INFO] [stdout] | __________________________^ [INFO] [stdout] 172 | | #[cfg(not(feature = "case-insensitive"))] { s } [INFO] [stdout] 173 | | #[cfg(feature = "case-insensitive")] { [INFO] [stdout] 174 | | if !s.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 181 | | }[..] { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] = note: `#[warn(clippy::redundant_slicing)]` on by default [INFO] [stdout] help: use the original value instead [INFO] [stdout] | [INFO] [stdout] 171 ~ let unit = match { [INFO] [stdout] 172 + #[cfg(not(feature = "case-insensitive"))] { s } [INFO] [stdout] 173 + #[cfg(feature = "case-insensitive")] { [INFO] [stdout] 174 + if !s.is_empty() { [INFO] [stdout] 175 + let (first, rest) = s.split_at(1); [INFO] [stdout] 176 + format!("{}{}", first.to_uppercase(), rest.to_lowercase()) [INFO] [stdout] 177 + } else { [INFO] [stdout] 178 + s.to_string() [INFO] [stdout] 179 + } [INFO] [stdout] 180 + } [INFO] [stdout] 181 ~ } { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | assert!(Kilo < Kibi && Kibi > Kilo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Kilo < Kibi` [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] --> src/prefix.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | assert!(Kibi < Mega && Mega > Kibi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Kibi < Mega` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | assert!(Mega < Mebi && Mebi > Mega); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Mega < Mebi` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | assert!(Mebi < Giga && Giga > Mebi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Mebi < Giga` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | assert!(Giga < Gibi && Gibi > Giga); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Giga < Gibi` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | assert!(Gibi < Tera && Tera > Gibi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Gibi < Tera` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | assert!(Tera < Tebi && Tebi > Tera); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Tera < Tebi` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | assert!(Tebi < Peta && Peta > Tebi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Tebi < Peta` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | assert!(Peta < Pebi && Pebi > Peta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Peta < Pebi` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | assert!(Pebi < Exa && Exa > Pebi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Pebi < Exa` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | assert!(Exa < Exbi && Exbi > Exa ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Exa < Exbi` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:267:42 [INFO] [stdout] | [INFO] [stdout] 267 | #[cfg(feature = "u128")] assert!(Exbi < Zetta && Zetta > Exbi ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Exbi < Zetta` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:268:42 [INFO] [stdout] | [INFO] [stdout] 268 | #[cfg(feature = "u128")] assert!(Zetta < Zebi && Zebi > Zetta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Zetta < Zebi` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:269:42 [INFO] [stdout] | [INFO] [stdout] 269 | #[cfg(feature = "u128")] assert!(Zebi < Yotta && Yotta > Zebi ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Zebi < Yotta` [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: this boolean expression can be simplified [INFO] [stdout] --> src/prefix.rs:270:42 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg(feature = "u128")] assert!(Yotta < Yobi && Yobi > Yotta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Yotta < Yobi` [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: this manual char comparison can be written more succinctly [INFO] [stdout] --> src/unit.rs:517:33 [INFO] [stdout] | [INFO] [stdout] 517 | let index = s.rfind(|c| matches!(c, 'b' | 'B')).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['b', 'B']` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison [INFO] [stdout] = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | assert!(Bit < Byte && Byte > Bit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Bit < Byte` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:664:17 [INFO] [stdout] | [INFO] [stdout] 664 | assert!(KILO_BIT < KIBI_BIT && KIBI_BIT > KILO_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `KILO_BIT < KIBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 665 | assert!(KIBI_BIT < KILO_BYTE && KILO_BYTE > KIBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `KIBI_BIT < KILO_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:666:17 [INFO] [stdout] | [INFO] [stdout] 666 | assert!(KILO_BYTE < KIBI_BYTE && KIBI_BYTE > KILO_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `KILO_BYTE < KIBI_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:667:17 [INFO] [stdout] | [INFO] [stdout] 667 | assert!(KIBI_BYTE < MEGA_BIT && MEGA_BIT > KIBI_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `KIBI_BYTE < MEGA_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | assert!(MEGA_BIT < MEBI_BIT && MEBI_BIT > MEGA_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `MEGA_BIT < MEBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:669:17 [INFO] [stdout] | [INFO] [stdout] 669 | assert!(MEBI_BIT < MEGA_BYTE && MEGA_BYTE > MEBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `MEBI_BIT < MEGA_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | assert!(MEGA_BYTE < MEBI_BYTE && MEBI_BYTE > MEGA_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `MEGA_BYTE < MEBI_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:671:17 [INFO] [stdout] | [INFO] [stdout] 671 | assert!(MEBI_BYTE < GIGA_BIT && GIGA_BIT > MEBI_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `MEBI_BYTE < GIGA_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:672:17 [INFO] [stdout] | [INFO] [stdout] 672 | assert!(GIGA_BIT < GIBI_BIT && GIBI_BIT > GIGA_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GIGA_BIT < GIBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 673 | assert!(GIBI_BIT < GIGA_BYTE && GIGA_BYTE > GIBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GIBI_BIT < GIGA_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | assert!(GIGA_BYTE < GIBI_BYTE && GIBI_BYTE > GIGA_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GIGA_BYTE < GIBI_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | assert!(GIBI_BYTE < TERA_BIT && TERA_BIT > GIBI_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GIBI_BYTE < TERA_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | assert!(TERA_BIT < TEBI_BIT && TEBI_BIT > TERA_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `TERA_BIT < TEBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:677:17 [INFO] [stdout] | [INFO] [stdout] 677 | assert!(TEBI_BIT < TERA_BYTE && TERA_BYTE > TEBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `TEBI_BIT < TERA_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | assert!(TERA_BYTE < TEBI_BYTE && TEBI_BYTE > TERA_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `TERA_BYTE < TEBI_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | assert!(TEBI_BYTE < PETA_BIT && PETA_BIT > TEBI_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `TEBI_BYTE < PETA_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | assert!(PETA_BIT < PEBI_BIT && PEBI_BIT > PETA_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `PETA_BIT < PEBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:681:17 [INFO] [stdout] | [INFO] [stdout] 681 | assert!(PEBI_BIT < PETA_BYTE && PETA_BYTE > PEBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `PEBI_BIT < PETA_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:682:17 [INFO] [stdout] | [INFO] [stdout] 682 | assert!(PETA_BYTE < PEBI_BYTE && PEBI_BYTE > PETA_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `PETA_BYTE < PEBI_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:683:17 [INFO] [stdout] | [INFO] [stdout] 683 | assert!(PEBI_BYTE < EXA_BIT && EXA_BIT > PEBI_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `PEBI_BYTE < EXA_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 684 | assert!(EXA_BIT < EXBI_BIT && EXBI_BIT > EXA_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `EXA_BIT < EXBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:685:17 [INFO] [stdout] | [INFO] [stdout] 685 | assert!(EXBI_BIT < EXA_BYTE && EXA_BYTE > EXBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `EXBI_BIT < EXA_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:686:17 [INFO] [stdout] | [INFO] [stdout] 686 | assert!(EXA_BYTE < EXBI_BYTE && EXBI_BYTE > EXA_BYTE ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `EXA_BYTE < EXBI_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:688:42 [INFO] [stdout] | [INFO] [stdout] 688 | #[cfg(feature = "u128")] assert!(EXBI_BYTE < ZETTA_BIT && ZETTA_BIT > EXBI_BYTE ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `EXBI_BYTE < ZETTA_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:689:42 [INFO] [stdout] | [INFO] [stdout] 689 | #[cfg(feature = "u128")] assert!(ZETTA_BIT < ZEBI_BIT && ZEBI_BIT > ZETTA_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ZETTA_BIT < ZEBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:690:42 [INFO] [stdout] | [INFO] [stdout] 690 | #[cfg(feature = "u128")] assert!(ZEBI_BIT < ZETTA_BYTE && ZETTA_BYTE > ZEBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ZEBI_BIT < ZETTA_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:691:42 [INFO] [stdout] | [INFO] [stdout] 691 | #[cfg(feature = "u128")] assert!(ZETTA_BYTE < ZEBI_BYTE && ZEBI_BYTE > ZETTA_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ZETTA_BYTE < ZEBI_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:692:42 [INFO] [stdout] | [INFO] [stdout] 692 | #[cfg(feature = "u128")] assert!(ZEBI_BYTE < YOTTA_BIT && YOTTA_BIT > ZEBI_BYTE ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ZEBI_BYTE < YOTTA_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:693:42 [INFO] [stdout] | [INFO] [stdout] 693 | #[cfg(feature = "u128")] assert!(YOTTA_BIT < YOBI_BIT && YOBI_BIT > YOTTA_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `YOTTA_BIT < YOBI_BIT` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:694:42 [INFO] [stdout] | [INFO] [stdout] 694 | #[cfg(feature = "u128")] assert!(YOBI_BIT < YOTTA_BYTE && YOTTA_BYTE > YOBI_BIT ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `YOBI_BIT < YOTTA_BYTE` [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: this boolean expression can be simplified [INFO] [stdout] --> src/unit.rs:695:42 [INFO] [stdout] | [INFO] [stdout] 695 | #[cfg(feature = "u128")] assert!(YOTTA_BYTE < YOBI_BYTE && YOBI_BYTE > YOTTA_BYTE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `YOTTA_BYTE < YOBI_BYTE` [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] running `Command { std: "docker" "inspect" "2c48558f1aa93a0354c4405906d363b4c64caf86b5ac26ccfbb5d73f16fa4ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c48558f1aa93a0354c4405906d363b4c64caf86b5ac26ccfbb5d73f16fa4ba9", kill_on_drop: false }` [INFO] [stdout] 2c48558f1aa93a0354c4405906d363b4c64caf86b5ac26ccfbb5d73f16fa4ba9