Skip to content
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

Open

Description

@bajpai244

🐛 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

Activity

  1. added a commit that references this issue on Oct 3, 2023
  2. wrwg commented on Oct 3, 2023

    @wrwg
    Member

    Please see #1076

  3. reopened this on Oct 3, 2023
  4. ducthann commented on Nov 15, 2023

    @ducthann

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

  5. dongowu commented on Apr 17, 2024

    @dongowu

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions