aptos-labs / aptos-core

Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better technology and user experience.
https://aptosfoundation.org
Other
6.18k stars 3.65k forks source link

[Bug] dev_setup.sh is failed In commit hash`942dc6d443af19403bf80ef83a4a405d8a89bfd5` #7360

Closed meetrick closed 1 year ago

meetrick commented 1 year ago

🐛 Bug

To reproduce

Code snippet to reproduce

scripts/dev_setup.sh

Stack trace/error message

Installing Rust......
info: This is the version for the rustup toolchain manager, not the rustc compiler.
warning: removing stray hash found at '/root/.rustup/update-hashes/1.64.0-x86_64-unknown-linux-gnu' in order to continue
info: syncing channel updates for '1.64.0-x86_64-unknown-linux-gnu'
info: latest update on 2022-09-22, rust version 1.64.0 (a55dd71d5 2022-09-19)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
info: The currently active `rustc` version is `rustc 1.64.0 (a55dd71d5 2022-09-19)`
Rustup is already installed, version: rustup 1.25.2 (17db695f1 2023-02-01)
1.64.0 rust toolchain already installed
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
    Updating crates.io index
  Installing cargo-nextest v0.9.51
error: failed to compile `cargo-nextest v0.9.51`, intermediate artifacts can be found at `/tmp/cargo-installeDbuyV`

Caused by:
  package `nextest-runner v0.37.0` cannot be built because it requires rustc 1.66 or newer, while the currently active rustc version is 1.64.0

Expected Behavior

info: checking for self-updates
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
    Updating crates.io index
  Installing cargo-nextest v0.9.51
   Compiling proc-macro2 v1.0.52

System information

Please complete the following information:

Additional context

Solution

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.