[INFO] fetching crate boolean_checker 0.1.0... [INFO] linting boolean_checker-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate boolean_checker 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate boolean_checker 0.1.0 [INFO] finished tweaking crates.io crate boolean_checker 0.1.0 [INFO] tweaked toml for crates.io crate boolean_checker 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate boolean_checker 0.1.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] 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] 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] fcaf9543921c32fdbc21af5297b6be513838ae8ad8028b8e217418e8d2434427 [INFO] running `Command { std: "docker" "start" "-a" "fcaf9543921c32fdbc21af5297b6be513838ae8ad8028b8e217418e8d2434427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcaf9543921c32fdbc21af5297b6be513838ae8ad8028b8e217418e8d2434427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcaf9543921c32fdbc21af5297b6be513838ae8ad8028b8e217418e8d2434427", kill_on_drop: false }` [INFO] [stdout] fcaf9543921c32fdbc21af5297b6be513838ae8ad8028b8e217418e8d2434427 [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] 4b1ef3a6ad80a5298f9c39fdf6e3ba7daae207da163174f71c2e9beb3f1fa50a [INFO] running `Command { std: "docker" "start" "-a" "4b1ef3a6ad80a5298f9c39fdf6e3ba7daae207da163174f71c2e9beb3f1fa50a", kill_on_drop: false }` [INFO] [stderr] Checking boolean_checker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / if b == true && b != false && !b == false && !b != true { [INFO] [stdout] 3 | | true [INFO] [stdout] 4 | | } else { [INFO] [stdout] 5 | | false [INFO] [stdout] 6 | | } [INFO] [stdout] | |_____^ help: you can reduce it to: `b == true && b != false && !b == false && !b != true` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against true are unnecessary [INFO] [stdout] --> src/lib.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_comparison)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: inequality checks against false are unnecessary [INFO] [stdout] --> src/lib.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `b != false` [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: equality checks against false can be replaced by a negation [INFO] [stdout] --> src/lib.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b == true` [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: inequality checks against true can be replaced by a negation [INFO] [stdout] --> src/lib.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / if b == false && b != true && !b == true && !b != false { [INFO] [stdout] 11 | | true [INFO] [stdout] 12 | | } else { [INFO] [stdout] 13 | | false [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ help: you can reduce it to: `b == false && b != true && !b == true && !b != false` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against false can be replaced by a negation [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: inequality checks against true can be replaced by a negation [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b != true` [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: equality checks against true are unnecessary [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `b == false` [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: inequality checks against false are unnecessary [INFO] [stdout] --> src/lib.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / if b == true && b != false && !b == false && !b != true { [INFO] [stdout] 3 | | true [INFO] [stdout] 4 | | } else { [INFO] [stdout] 5 | | false [INFO] [stdout] 6 | | } [INFO] [stdout] | |_____^ help: you can reduce it to: `b == true && b != false && !b == false && !b != true` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against true are unnecessary [INFO] [stdout] --> src/lib.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_comparison)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: inequality checks against false are unnecessary [INFO] [stdout] --> src/lib.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `b != false` [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: equality checks against false can be replaced by a negation [INFO] [stdout] --> src/lib.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b == true` [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: inequality checks against true can be replaced by a negation [INFO] [stdout] --> src/lib.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | if b == true && b != false && !b == false && !b != true { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / if b == false && b != true && !b == true && !b != false { [INFO] [stdout] 11 | | true [INFO] [stdout] 12 | | } else { [INFO] [stdout] 13 | | false [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ help: you can reduce it to: `b == false && b != true && !b == true && !b != false` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against false can be replaced by a negation [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: inequality checks against true can be replaced by a negation [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^ help: try: `b != true` [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: equality checks against true are unnecessary [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `b == false` [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: inequality checks against false are unnecessary [INFO] [stdout] --> src/lib.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | if b == false && b != true && !b == true && !b != false { [INFO] [stdout] | ^^^^^^^^^^^ help: try: `!b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(true, is_true(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 23 - assert_eq!(true, is_true(true)); [INFO] [stdout] 23 + assert!(is_true(true)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(true, is_true(1 == 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 28 - assert_eq!(true, is_true(1 == 1)); [INFO] [stdout] 28 + assert!(is_true(1 == 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_ne!` with a literal bool [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | assert_ne!(false, is_true(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 33 - assert_ne!(false, is_true(true)); [INFO] [stdout] 33 + assert!(is_true(true)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_ne!` with a literal bool [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | assert_ne!(false, is_true(1 == 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 38 - assert_ne!(false, is_true(1 == 1)); [INFO] [stdout] 38 + assert!(is_true(1 == 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(true, is_false(false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 43 - assert_eq!(true, is_false(false)); [INFO] [stdout] 43 + assert!(is_false(false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(true, is_false(1 != 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 48 - assert_eq!(true, is_false(1 != 1)); [INFO] [stdout] 48 + assert!(is_false(1 != 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_ne!` with a literal bool [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | assert_ne!(true, is_false(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 53 - assert_ne!(true, is_false(true)); [INFO] [stdout] 53 + assert!(!is_false(true)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_ne!` with a literal bool [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | assert_ne!(false, is_false(1 != 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 58 - assert_ne!(false, is_false(1 != 1)); [INFO] [stdout] 58 + assert!(is_false(1 != 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "4b1ef3a6ad80a5298f9c39fdf6e3ba7daae207da163174f71c2e9beb3f1fa50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1ef3a6ad80a5298f9c39fdf6e3ba7daae207da163174f71c2e9beb3f1fa50a", kill_on_drop: false }` [INFO] [stdout] 4b1ef3a6ad80a5298f9c39fdf6e3ba7daae207da163174f71c2e9beb3f1fa50a