[INFO] cloning repository https://github.com/sharkked/wordle-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sharkked/wordle-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharkked%2Fwordle-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharkked%2Fwordle-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a2459bd56b5ce0172f461cbc482eba69496807a [INFO] linting sharkked/wordle-cli against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharkked%2Fwordle-cli" "/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/sharkked/wordle-cli [INFO] finished tweaking git repo https://github.com/sharkked/wordle-cli [INFO] tweaked toml for git repo https://github.com/sharkked/wordle-cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sharkked/wordle-cli 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/sharkked/wordle-cli 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] 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] Downloading crates ... [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded lru v0.12.1 [INFO] [stderr] Downloaded stability v0.1.1 [INFO] [stderr] Downloaded ratatui v0.25.0 [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] 855572188ad99e6c863f45a0cc2120dd21596c6da4e018ce8168767ab35ce45d [INFO] running `Command { std: "docker" "start" "-a" "855572188ad99e6c863f45a0cc2120dd21596c6da4e018ce8168767ab35ce45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "855572188ad99e6c863f45a0cc2120dd21596c6da4e018ce8168767ab35ce45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "855572188ad99e6c863f45a0cc2120dd21596c6da4e018ce8168767ab35ce45d", kill_on_drop: false }` [INFO] [stdout] 855572188ad99e6c863f45a0cc2120dd21596c6da4e018ce8168767ab35ce45d [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] 3673cdfe972b4647229535c2a05e051a33d7229dc041983e16e2681598e9c148 [INFO] running `Command { std: "docker" "start" "-a" "3673cdfe972b4647229535c2a05e051a33d7229dc041983e16e2681598e9c148", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking lru v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.25.0 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking wordle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/storage/share.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn save(&self, file: String, game: &Game) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/storage/share.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn save(&self, file: String, game: &Game) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/game.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(reqwest::get(url).await?.json::().await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 19 - Ok(reqwest::get(url).await?.json::().await?) [INFO] [stdout] 19 + reqwest::get(url).await?.json::().await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/game.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if !self.result.is_none() || self.guesses.len() >= 6 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.result.is_some()` [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: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/game.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn check_guess(&mut self, guess: &String, cache: &Cache) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 62 - pub fn check_guess(&mut self, guess: &String, cache: &Cache) -> Option> { [INFO] [stdout] 62 + pub fn check_guess(&mut self, guess: &str, cache: &Cache) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual check for common ascii range [INFO] [stdout] --> src/game.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | if guess.len() != 5 || !guess.bytes().all(|b| matches!(b, b'A'..=b'Z')) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check [INFO] [stdout] = note: `#[warn(clippy::manual_is_ascii_check)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 69 - if guess.len() != 5 || !guess.bytes().all(|b| matches!(b, b'A'..=b'Z')) { [INFO] [stdout] 69 + if guess.len() != 5 || !guess.bytes().all(|b: u8| b.is_ascii_uppercase()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enclosing `Ok` and `?` operator are unneeded [INFO] [stdout] --> src/game.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(reqwest::get(url).await?.json::().await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark [INFO] [stdout] = note: `#[warn(clippy::needless_question_mark)]` on by default [INFO] [stdout] help: remove the enclosing `Ok` and `?` operator [INFO] [stdout] | [INFO] [stdout] 19 - Ok(reqwest::get(url).await?.json::().await?) [INFO] [stdout] 19 + reqwest::get(url).await?.json::().await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/storage/cache.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | if forced || !fs::metadata(&self.allowed_words).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `fs::metadata(&self.allowed_words).is_err()` [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/storage/cache.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | if forced || !fs::metadata(&self.valid_words).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `fs::metadata(&self.valid_words).is_err()` [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 expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/storage/cache.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | file.write_all(&words_list.as_bytes())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `words_list.as_bytes()` [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/storage/cache.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | file.write_all(&words_list.as_bytes())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `words_list.as_bytes()` [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] --> src/game.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if !self.result.is_none() || self.guesses.len() >= 6 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.result.is_some()` [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: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/storage/cache.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn find_word(&self, word: &String) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 65 - pub fn find_word(&self, word: &String) -> Result { [INFO] [stdout] 65 + pub fn find_word(&self, word: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/game.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn check_guess(&mut self, guess: &String, cache: &Cache) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 62 - pub fn check_guess(&mut self, guess: &String, cache: &Cache) -> Option> { [INFO] [stdout] 62 + pub fn check_guess(&mut self, guess: &str, cache: &Cache) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual check for common ascii range [INFO] [stdout] --> src/game.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | if guess.len() != 5 || !guess.bytes().all(|b| matches!(b, b'A'..=b'Z')) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check [INFO] [stdout] = note: `#[warn(clippy::manual_is_ascii_check)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 69 - if guess.len() != 5 || !guess.bytes().all(|b| matches!(b, b'A'..=b'Z')) { [INFO] [stdout] 69 + if guess.len() != 5 || !guess.bytes().all(|b: u8| b.is_ascii_uppercase()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/storage/cache.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | if forced || !fs::metadata(&self.allowed_words).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `fs::metadata(&self.allowed_words).is_err()` [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/storage/cache.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | if forced || !fs::metadata(&self.valid_words).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `fs::metadata(&self.valid_words).is_err()` [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 expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/storage/cache.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | file.write_all(&words_list.as_bytes())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `words_list.as_bytes()` [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/storage/cache.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | file.write_all(&words_list.as_bytes())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `words_list.as_bytes()` [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: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/storage/cache.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn find_word(&self, word: &String) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 65 - pub fn find_word(&self, word: &String) -> Result { [INFO] [stdout] 65 + pub fn find_word(&self, word: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.08s [INFO] running `Command { std: "docker" "inspect" "3673cdfe972b4647229535c2a05e051a33d7229dc041983e16e2681598e9c148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3673cdfe972b4647229535c2a05e051a33d7229dc041983e16e2681598e9c148", kill_on_drop: false }` [INFO] [stdout] 3673cdfe972b4647229535c2a05e051a33d7229dc041983e16e2681598e9c148