All Questions
3 questions
3
votes
3
answers
607
views
could not find `__client_accounts_contributor` in the crate root
Attempting to 'anchor build' a project and running into errors with the #[program] macro. Unsure exactly what could be causing these. Tried reading the compiler error index but it didnt seem to help ...
1
vote
1
answer
43
views
How to solve the cargo build-sbf error?
I have just started with rust and solana.
Firstly, I created a solana program using the command:
cargo init hello_world --lib
everything ran fine, and then i read from the official docs, to build i ...
1
vote
1
answer
294
views
"package solana-program v1.18.7 cannot be built" error [duplicate]
I have a new Rust project that gives the following error when I compile it.
package `solana-program v1.18.7` cannot be built because it requires rustc 1.72.0 or newer, while the currently active rustc ...