Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
41 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 ...
Saniddhya Dubey's user avatar
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 ...
mezzosoprano's user avatar
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 ...
Joey Meere's user avatar
  • 1,612