0

I am using cargo install cargo-contract --version 2.0.0-alpha.3 to install 2.0.0-alpha.3, I got error: failed to compile cargo-contract v2.0.0-alpha.3, intermediate artifacts can be found at /var/folders/q3/d699hkpx49xfy236ph7sltr40000gn/T/cargo-installPMiOKW error. Does cargo-contract Pre-release installation has issue?

enter image description here

1 Answer 1

2

Because some dependencies got updated (breaking changes).

You should use this to lock the dependencies version:

cargo install --force --locked cargo-contract --version 2.0.0-alpha.3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.