Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When installing Anchor using avm install latest #3239

Closed
Prashidha0O1 opened this issue Sep 11, 2024 · 3 comments
Closed

Error When installing Anchor using avm install latest #3239

Prashidha0O1 opened this issue Sep 11, 2024 · 3 comments
Labels
avm duplicate This issue or pull request already exists installation error Issues related to installation errors

Comments

@Prashidha0O1
Copy link

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; update time to version >=0.3.35 by calling cargo 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 error
warning: 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.

@Prashidha0O1
Copy link
Author

@acheroncrypto please, help me out here

@Serdnad
Copy link

Serdnad commented Sep 11, 2024

Take a look at #3236

@acheroncrypto acheroncrypto added duplicate This issue or pull request already exists avm installation error Issues related to installation errors labels Sep 11, 2024
@acheroncrypto
Copy link
Collaborator

Duplicate of #3126, #3158, #3164, #3169, #3173, #3198, #3202, #3236.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avm duplicate This issue or pull request already exists installation error Issues related to installation errors
Projects
None yet
Development

No branches or pull requests

3 participants