I was running my substrate-blockchain on dev mode. And it gave me this error.

enter image description here

  • cargo clean cargo update cargo build --release might help
    – Ganesh11
    May 19 at 1:56
  • Can you give any details about what you've changed and what version you are using? What version of polkadot does the substrate you're using correspond to (check the branches in Cargo.toml)? May 19 at 2:13

1 Answer 1


It was due to a different version of toml are present in the code. If the cargo tomls has version = "0.9.36" and some of the tomls have version ="0.9.41".That's why it is showing duplicate sections.

Your Answer

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

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