0

I'm following instructions in substrate document. I build contract flipper and get this error: enter image description here

How can I fix this error? Thanks

2
  • have you used latest nightly rust? Have a look this link you may find solution.
    – go11li
    Commented Sep 29, 2022 at 0:23
  • I use cargo +nightly-2022-08-15 test rather cargo +nightly test to test and cargo +nightly-2022-08-15 contract build to build rather cargo +nightly contract build today and it works for me. My cargo contract version cargo-contract 1.5.0-unknown-x86_64-apple-darwin and rustc 1.66.0-nightly (c0983a9aa 2022-10-12))
    – go11li
    Commented Oct 14, 2022 at 2:10

0

Browse other questions tagged or ask your own question.