All Questions
2 questions
6
votes
1
answer
2k
views
How do I fix "package solana-program v1.18.0 cannot be built because it requires rustc 1.72.0 or newer"?
When building an onchain program with cargo build-sbf using solana-program v1.18, I get the following error:
error: package solana-program v1.18.0 cannot be built because it requires rustc 1.72.0 or ...
4
votes
3
answers
153
views
Unable to build a binary
Both anchor build and cargo-build-sbf throw:
Warning: cargo-build-bpf is deprecated. Please, use cargo-build-sbf
cargo-build-bpf child: /Users/usr1/solana/bin/cargo-build-sbf --arch bpf
error: package ...