Does not install with cargo - Windows 10, rust 1.62
Closed this issue · 1 comments
KPLauritzen commented
Describe the bug
When trying to install on a Windows machine, I get an error and the installation is aborted
To Reproduce
Steps to reproduce the behavior:
cargo install gex
- The installation ends with the following error:
error[E0658]: use of unstable library feature 'toowned_clone_into': recently added
--> C:\Users\xxx\.cargo\registry\src\github.com-1ecc6299db9ec823\gex-0.3.7\src\minibuffer.rs:115:34
|
115 | ... .clone_into(&mut command);
| ^^^^^^^^^^
|
= note: see issue #41263 <https://github.com/rust-lang/rust/issues/41263> for more information
error[E0658]: use of unstable library feature 'toowned_clone_into': recently added
--> C:\Users\xxx\.cargo\registry\src\github.com-1ecc6299db9ec823\gex-0.3.7\src\minibuffer.rs:125:34
|
125 | ... .clone_into(&mut command);
| ^^^^^^^^^^
|
= note: see issue #41263 <https://github.com/rust-lang/rust/issues/41263> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `gex` due to 2 previous errors
Additional context
$ cargo --version
# cargo 1.62.0 (a748cf5a3 2022-06-08)
Operating system: Windows 10
Piturnah commented
I would suggest to try using a newer toolchain - this error is arising because clone_into
was stabilized in 1.63.