#cargo install tauri-cli failing recently

6 messages · Page 1 of 1 (latest)

hallow cave
#

For the past 24 hours cargo install tauri-cli has began to fail on Ubuntu 18. Build machine is clean installed, as is rust. The error is:

error[E0599]: no method named `to_str` found for struct `log::kv::Value` in the current scope
   --> /root/.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 with a similar name: `to_cow_str`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `tauri-cli` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `tauri-cli v1.5.10`, intermediate artifacts can be found at `/tmp/cargo-installFdAUrt`.

What is the best way to resolve this?

azure cloud
#

is there a difference between cargo install tauri-cli and cargo install tauri-cli --locked ?

hallow cave
#

Yes! cargo install tauri-cli --locked worked 🙂

azure cloud
#

i opened an issue so we don't forget about, thanks for reporting it :)

cloud iris
#

I'm experiencing the same issue on Windows too