I'm trying to build using anchor but there seems to be this error
error: package `toml_datetime v0.6.2` cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.62.0-dev
This is my current dependencies in cargo.toml file
[dependencies]
anchor-lang = "0.26.0"
mpl-token-metadata = { version="1.9.0", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "0.5.0", features = ["no-entrypoint"], optional = true }
spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"], optional = true }
anchor-spl = "0.26.0"
My environment solana: solana-cli 1.15.2 rustc: rustc 1.69.0 anchor: anchor-cli 0.27.0 cargo: cargo 1.69.0
Things I've tried:
- Adding
winnow = "=0.4.1"
to cargo.toml - changing solana-cli version to 1.14.10 and 1.14.18