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
When I ran cargo install cargo-contract --version 2.0.0-rc.1 on macOS it gave the following error:
Compiling wasm-opt v0.111.0
error[E0432]: unresolved import `contract_build::metadata::METADATA_FILE`
--> /Users/luke/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-contract-2.0.0-rc.1/src/cmd/extrinsics/mod.rs:85:5
|
85 | use contract_build::metadata::METADATA_FILE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `METADATA_FILE` in `metadata`
For more information about this error, try `rustc --explain E0432`.
The following warnings were emitted during compilation:
warning: Git command failed with status: exit status: 128
warning: Could not find `.git/HEAD` searching from `/Users/luke/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-contract-2.0.0-rc.1` upwards!
error: could not compile `cargo-contract` due to previous error
error: failed to compile `cargo-contract v2.0.0-rc.1`, intermediate artifacts can be found at `/var/folders/69/n6p09m3d6t5d7tw5kn9f3kkm0000gq/T/cargo-installytfbPN`
The text was updated successfully, but these errors were encountered:
When I ran
cargo install cargo-contract --version 2.0.0-rc.1
on macOS it gave the following error:The text was updated successfully, but these errors were encountered: