This repository was archived by the owner on May 4, 2024. It is now read-only.
[Bug]: update rust version to 1.66.0 from 1.65.0 #1078
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Bug
When someone attempts to install the move-cli with cargo install --path language/tools/move-cli , it will fail with package toml_edit v0.19.15 cannot be built because it requires rustc 1.66.0 or newer, while the currently active rustc version is 1.65.0
More context: I am following the move tutoriall
To reproduce
- clone the repo
- cd and then
./scripts/dev_setup.sh -ypt cargo install --path language/tools/move-cli
Stack trace/error message
failed to compile `move-cli v0.1.0 (/Users/harshbajpai/Desktop/Projects/move/language/tools/move-cli)`, intermediate artifacts can be found at `/Users/harshbajpai/Desktop/Projects/move/target`
Caused by:
package `toml_edit v0.19.15` cannot be built because it requires rustc 1.66.0 or newer, while the currently active rustc version is 1.65.0
Either upgrade to rustc 1.66.0 or newer, or use
cargo update -p toml_edit@0.19.15 --precise ver
where `ver` is the latest version of `toml_edit` supporting rustc 1.65.0
Expected Behavior
The compilation should succeed.
System information
Please complete the following information:
- Mac M2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
fix(move-language#1078): fix move-cli installation
wrwg commentedon Oct 3, 2023
Please see #1076
ducthann commentedon Nov 15, 2023
In the rust-toolchain file, change '1.65.0' to '1.67.0' before installing. It should work.
dongowu commentedon Apr 17, 2024
I also encountered this situation today,change 1.66.0 or newer is ok ,