move-language / move

Apache License 2.0
2.27k stars 690 forks source link

[Bug]: update rust version to 1.66.0 from 1.65.0 #1078

Open bajpai244 opened 1 year ago

bajpai244 commented 1 year ago

🐛 Bug

When someone attempts to install the move-cli with cargo install --path language/tools/move-cli , it will fail with packagetoml_edit v0.19.15cannot 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

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:

wrwg commented 1 year ago

Please see #1076

ducthann commented 1 year ago

In the rust-toolchain file, change '1.65.0' to '1.67.0' before installing. It should work.

dongowu commented 7 months ago

I also encountered this situation today,change 1.66.0 or newer is ok ,