Skip to content

no method named 'lock' found for struct 'Stderr' in the current scope #2

@lorenzodelia125

Description

@lorenzodelia125

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"] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions