[INFO] cloning repository https://github.com/lhenkelm/pig-latin-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lhenkelm/pig-latin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flhenkelm%2Fpig-latin-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flhenkelm%2Fpig-latin-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab4f49bfdb61855c608a7503530c561bbcba019e [INFO] linting lhenkelm/pig-latin-rs against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flhenkelm%2Fpig-latin-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lhenkelm/pig-latin-rs [INFO] finished tweaking git repo https://github.com/lhenkelm/pig-latin-rs [INFO] tweaked toml for git repo https://github.com/lhenkelm/pig-latin-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lhenkelm/pig-latin-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] crate git repo https://github.com/lhenkelm/pig-latin-rs already has a lockfile, it will not be regenerated [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: unused manifest key: bin.0.src [INFO] [stderr] warning: unused manifest key: bin.1.src [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lipsum v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9565e9d289e8a2b6a0c20cb0521d5e340ddb35fc664a26320eddba434ac14970 [INFO] running `Command { std: "docker" "start" "-a" "9565e9d289e8a2b6a0c20cb0521d5e340ddb35fc664a26320eddba434ac14970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9565e9d289e8a2b6a0c20cb0521d5e340ddb35fc664a26320eddba434ac14970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9565e9d289e8a2b6a0c20cb0521d5e340ddb35fc664a26320eddba434ac14970", kill_on_drop: false }` [INFO] [stdout] 9565e9d289e8a2b6a0c20cb0521d5e340ddb35fc664a26320eddba434ac14970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0b231d0598cc63446767967c823d3758b0c59e48ac9f071b609d65054385b726 [INFO] running `Command { std: "docker" "start" "-a" "0b231d0598cc63446767967c823d3758b0c59e48ac9f071b609d65054385b726", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.src [INFO] [stderr] warning: unused manifest key: bin.1.src [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lipsum v0.9.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking pig_latin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if !(to > from) { [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `(to <= from)` [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: unneeded unit return type [INFO] [stdout] --> src/lib.rs:274:83 [INFO] [stdout] | [INFO] [stdout] 274 | fn apply_casing_like_inplace(text: &str, casing_of: &str, result: &mut String) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/lib.rs:343:79 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn translate_word_inplace(english_word: &str, translated: &mut String) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:344:60 [INFO] [stdout] | [INFO] [stdout] 344 | let byte_idx_cut_at = byte_idx_starting_consonants(&english_word); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `english_word` [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] --> src/lib.rs:347:43 [INFO] [stdout] | [INFO] [stdout] 347 | translate_word_starts_voweled(&english_word, translated); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `english_word` [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] --> src/lib.rs:350:52 [INFO] [stdout] | [INFO] [stdout] 350 | let temp = translate_word_starts_consonant(&english_word, byte_idx_cut_at); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `english_word` [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: unneeded unit return type [INFO] [stdout] --> src/lib.rs:362:82 [INFO] [stdout] | [INFO] [stdout] 362 | fn translate_word_starts_voweled(english_word: &str, translated: &mut String) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual case-insensitive ASCII comparison [INFO] [stdout] --> src/lib.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | if chars.next().unwrap().to_ascii_lowercase() == 'q' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ignore_case_cmp [INFO] [stdout] = note: `#[warn(clippy::manual_ignore_case_cmp)]` on by default [INFO] [stdout] help: consider using `.eq_ignore_ascii_case()` instead [INFO] [stdout] | [INFO] [stdout] 386 - if chars.next().unwrap().to_ascii_lowercase() == 'q' [INFO] [stdout] 386 + if chars.next().unwrap().eq_ignore_ascii_case(&'q') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual case-insensitive ASCII comparison [INFO] [stdout] --> src/lib.rs:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | && chars.next().unwrap().to_ascii_lowercase() == 'u' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ignore_case_cmp [INFO] [stdout] help: consider using `.eq_ignore_ascii_case()` instead [INFO] [stdout] | [INFO] [stdout] 387 - && chars.next().unwrap().to_ascii_lowercase() == 'u' [INFO] [stdout] 387 + && chars.next().unwrap().eq_ignore_ascii_case(&'u') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | if !(to > from) { [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `(to <= from)` [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: unneeded unit return type [INFO] [stdout] --> src/lib.rs:274:83 [INFO] [stdout] | [INFO] [stdout] 274 | fn apply_casing_like_inplace(text: &str, casing_of: &str, result: &mut String) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/lib.rs:343:79 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn translate_word_inplace(english_word: &str, translated: &mut String) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/lib.rs:344:60 [INFO] [stdout] | [INFO] [stdout] 344 | let byte_idx_cut_at = byte_idx_starting_consonants(&english_word); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `english_word` [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] --> src/lib.rs:347:43 [INFO] [stdout] | [INFO] [stdout] 347 | translate_word_starts_voweled(&english_word, translated); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `english_word` [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] --> src/lib.rs:350:52 [INFO] [stdout] | [INFO] [stdout] 350 | let temp = translate_word_starts_consonant(&english_word, byte_idx_cut_at); [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `english_word` [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: unneeded unit return type [INFO] [stdout] --> src/lib.rs:362:82 [INFO] [stdout] | [INFO] [stdout] 362 | fn translate_word_starts_voweled(english_word: &str, translated: &mut String) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual case-insensitive ASCII comparison [INFO] [stdout] --> src/lib.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | if chars.next().unwrap().to_ascii_lowercase() == 'q' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ignore_case_cmp [INFO] [stdout] = note: `#[warn(clippy::manual_ignore_case_cmp)]` on by default [INFO] [stdout] help: consider using `.eq_ignore_ascii_case()` instead [INFO] [stdout] | [INFO] [stdout] 386 - if chars.next().unwrap().to_ascii_lowercase() == 'q' [INFO] [stdout] 386 + if chars.next().unwrap().eq_ignore_ascii_case(&'q') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual case-insensitive ASCII comparison [INFO] [stdout] --> src/lib.rs:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | && chars.next().unwrap().to_ascii_lowercase() == 'u' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ignore_case_cmp [INFO] [stdout] help: consider using `.eq_ignore_ascii_case()` instead [INFO] [stdout] | [INFO] [stdout] 387 - && chars.next().unwrap().to_ascii_lowercase() == 'u' [INFO] [stdout] 387 + && chars.next().unwrap().eq_ignore_ascii_case(&'u') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(is_vowel(&'a'), 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] 418 - assert_eq!(is_vowel(&'a'), true); [INFO] [stdout] 418 + assert!(is_vowel(&'a')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(is_vowel(&'u'), 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] 419 - assert_eq!(is_vowel(&'u'), true); [INFO] [stdout] 419 + assert!(is_vowel(&'u')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | assert_eq!(is_vowel(&'k'), 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] 420 - assert_eq!(is_vowel(&'k'), false); [INFO] [stdout] 420 + assert!(!is_vowel(&'k')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(is_vowel(&'q'), 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] 421 - assert_eq!(is_vowel(&'q'), false); [INFO] [stdout] 421 + assert!(!is_vowel(&'q')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | assert_eq!(is_vowel(&'f'), 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] 422 - assert_eq!(is_vowel(&'f'), false); [INFO] [stdout] 422 + assert!(!is_vowel(&'f')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | assert_eq!(is_vowel(&' '), 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] 423 - assert_eq!(is_vowel(&' '), false); [INFO] [stdout] 423 + assert!(!is_vowel(&' ')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | assert_eq!(is_vowel(&'.'), 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] 424 - assert_eq!(is_vowel(&'.'), false); [INFO] [stdout] 424 + assert!(!is_vowel(&'.')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/lib.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | assert_eq!(is_vowel(&'7'), 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] 425 - assert_eq!(is_vowel(&'7'), false); [INFO] [stdout] 425 + assert!(!is_vowel(&'7')); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.07s [INFO] running `Command { std: "docker" "inspect" "0b231d0598cc63446767967c823d3758b0c59e48ac9f071b609d65054385b726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b231d0598cc63446767967c823d3758b0c59e48ac9f071b609d65054385b726", kill_on_drop: false }` [INFO] [stdout] 0b231d0598cc63446767967c823d3758b0c59e48ac9f071b609d65054385b726