error[E0599]: no method named `to_str` found for struct `log::kv::Value` in the current scope
--> /home/username/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-1.5.10/src/lib.rs:132:29
|
132 | let action = action.to_str().unwrap();
| ^^^^^^
|
help: there is a method `to_string` with a similar name
|
132 | let action = action.to_string().unwrap();
| ~~~~~~~~~
For more information about this error, try `rustc --explain E0599`.
error: could not compile `tauri-cli` (lib) due to 1 previous error
error: failed to compile `tauri-cli v1.5.10`, intermediate artifacts can be found at `/tmp/cargo-installqOt30w`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Temporary solution:
Change nightly-2024-03-04 to stable in rust-toolchain file
Typing the command in the project root
won't install
tauri-cli
with rust nightlyError:
Temporary solution:
nightly-2024-03-04
tostable
inrust-toolchain
fileThere is an issue with the tauri-cli recently due to https://github.com/tauri-apps/tauri/pull/9034.
--locked
is used as a temporary solution.stable
back tonightly-2024-03-04
inrust-toolchain
file