Brushfam / openbrush-contracts

https://openbrush.io
MIT License
25 stars 10 forks source link

Getting error while building the project #178

Open shivamo7 opened 5 months ago

shivamo7 commented 5 months ago

when i am doing cargo contract build in openbrush-contracts/ i am getting the following error `error: failed to parse manifest at /tmp/cargo-contract_HUNaAi/Cargo.toml

Caused by: the target openbrush is a binary and can't have any crate-types set (currenERROR: command ["/home/user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo", "build", "--color=always", "--target=wasm32-unknown-unknown", "-Zbuild-std=core,alloc", "--no-default-features", "--release", "--target-dir=/data/openbrush-contracts/target/ink", "--features", "ink/ink-debug"] exited with code 101`

can anyone help me in this issue. versions that i am currently using cargo-contract-contract 3.2.0-unknown-x86_64-unknown-linux-gnu rust stable-x86_64-unknown-linux-gnu (default) rustc 1.79.0 (129f3b996 2024-06-10)