I'm new to solana programming with rust and I'm trying to runn the hello world example but I keep getting the below error:
> helloworld@0.0.1 build:program-rust
> cargo build-bpf --manifest-path=./src/program-rust/Cargo.toml --bpf-out-dir=dist/program
Failed to obtain package metadata: `cargo metadata` exited with an error: Updating crates.io index
error: failed to get `borsh` as a dependency of package `solana-bpf-helloworld v0.0.1 (/home/chubix/example-helloworld/src/program-rust)`
Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
network failure seems to have happened
if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
Caused by:
SSL error: received early EOF; class=Ssl (16); code=Eof (-20)