You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for your Solana course and for this repo! I encountered an issue with this Rust project. When I try to launch cargo-build-bpf command the building process fails with the error: no method named 'lock' found for struct 'Stderr' in the current scope. I don't have any idea on how to resolve it.
p.s. I would also share with you that before this issue I have had another one about getrandom who I solved adding this dependecy in cargo.toml file in according with Solana docs: getrandom = { version = "^0.1.6", features = ["dummy"] }
The text was updated successfully, but these errors were encountered:
lorenzodelia125
changed the title
no method named lock found for struct Stderr in the current scope
no method named 'lock' found for struct 'Stderr' in the current scope
Aug 11, 2022
Hey, cargo build-bpf seems to be deprecated. Why don't you try using cargo build-sbf instead. Works fine for me while building a solana program for deployment.
Hi, thanks for your Solana course and for this repo! I encountered an issue with this Rust project. When I try to launch
cargo-build-bpf
command the building process fails with the error:no method named 'lock' found for struct 'Stderr' in the current scope
. I don't have any idea on how to resolve it.p.s. I would also share with you that before this issue I have had another one about getrandom who I solved adding this dependecy in
cargo.toml
file in according with Solana docs:getrandom = { version = "^0.1.6", features = ["dummy"] }
The text was updated successfully, but these errors were encountered: