Skip to content
This repository has been 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

Open
bajpai244 opened this issue Oct 3, 2023 · 3 comments
Open

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

bajpai244 opened this issue Oct 3, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@bajpai244
Copy link

🐛 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 [email protected] --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
@bajpai244 bajpai244 added the bug Something isn't working label Oct 3, 2023
bajpai244 pushed a commit to bajpai244/move that referenced this issue Oct 3, 2023
@wrwg
Copy link
Member

wrwg commented Oct 3, 2023

Please see #1076

@wrwg wrwg closed this as completed Oct 3, 2023
@wrwg wrwg reopened this Oct 3, 2023
@ducthann
Copy link

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

@dongowu
Copy link

dongowu commented Apr 17, 2024

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants