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
The aptos-core source code(aptos-core/.rust-toolchain) specifies which rust-toolchain to use. When building the aptos-node1.28 binary, rust-toolchain version 1.66.0 is required, but 1.64.0 is set in the source code. Changing this value to 1.66.0 should fix the problem.
🐛 Bug
To reproduce
Code snippet to reproduce
Stack trace/error message
Expected Behavior
System information
Please complete the following information:
Additional context
Solution