Error When installing Anchor using avm install latest
#3239
Labels
avm
duplicate
This issue or pull request already exists
installation error
Issues related to installation errors
error[E0282]: type annotations needed for
Box<_>
--> /home/ht0k/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.29/src/format_description/parse/mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
= note: this is an inference error on crate
time
caused by an API change in Rust 1.80.0; updatetime
to version>=0.3.35
by callingcargo update
Compiling solana-security-txt v1.1.1
Compiling unicode-segmentation v1.10.1
Compiling heck v0.3.3
Compiling console v0.15.8
Compiling solana-vote-program v1.18.17
For more information about this error, try
rustc --explain E0282
.error: could not compile
time
(lib) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
error: failed to compile
anchor-cli v0.30.1 (https://github.com/coral-xyz/anchor?tag=v0.30.1#e6d7dafe)
, intermediate artifacts can be found at/tmp/cargo-installswRPCY
.The text was updated successfully, but these errors were encountered: