0

I was compiling the runtime by cloning this source, https://github.com/szout/substrate-parachain-template, but at the moment I met this issue.

enter image description here

I tried to solve this issue by referencing these QAs, but none of them helped me.

Error Building Substrate contract Node(error[E0603]: module `group` is private) After switching Substrate dependencies to "polkadot-v0.9.23"

Node that was not modified fails to build

Substrate Node Template Build Error, syn::group private

So I added this phrase in the runtime/Cargo.toml to solve the issue, and it worked for me; syn = { version = "=1.0.82"}

'But after adding it, I faced another error like below while building the runtime.'

enter image description here

'Are here anyones who can guide me?'

6
  • Unfortunately, it didn't help me.
    – TinyDev
    Nov 4, 2022 at 9:46
  • You should provide more detail. Why it didn't help you? What is the new error? Nov 4, 2022 at 9:49
  • I have tried all instructions in the links I mentioned, but I could not solve the issue I'd faced. It seems the issue is related the open source's version, I guess, but am not sure.
    – TinyDev
    Nov 4, 2022 at 10:37
  • I tried to reset the parity-db version, to remove the checksum section in Cargo.lock file, but it didn't work while in the *.lock file being 2 "syn" parts.
    – TinyDev
    Nov 4, 2022 at 10:40
  • Did you read that post? You don't need to modify the lock file yourself. You just need to use the cargo update command to manage them. Nov 4, 2022 at 11:42

0

Browse other questions tagged or ask your own question.