error: there is no argument named `game_type`
--> /Users/username/.cargo/registry/src/github.com-1ecc6299db9ec823/cl-wordle-0.1.4/src/bin/wordle/game.rs:300:27
|
300 | write!(f, "Wordle {game_type} {score}/6",)?;
| ^^^^^^^^^^^
error: there is no argument named `score`
--> /Users/username/.cargo/registry/src/github.com-1ecc6299db9ec823/cl-wordle-0.1.4/src/bin/wordle/game.rs:300:39
|
300 | write!(f, "Wordle {game_type} {score}/6",)?;
| ^^^^^^^
error: failed to compile `cl-wordle v0.1.4`, intermediate artifacts can be found at `/var/folders/9z/lyskqf9117j49qnlgjmh5p340000gn/T/cargo-installu6UsVg`
Caused by:
could not compile `cl-wordle` due to 2 previous errors
cargo 1.56.0
MacOS Monterey 12.1
SOLUTION: Do not use Homebrew to install Rust. It will be a non-latest unsupported version.
When running the command
cargo install cl-wordle
:cargo 1.56.0 MacOS Monterey 12.1
SOLUTION: Do not use Homebrew to install Rust. It will be a non-latest unsupported version.