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
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
I'm trying to migrate project from rust 2018 to 2021, but it seems there're some problems on compiling.
Errors like
--> node/src/chain_specs/mod.rs:48:59
|
48 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ChainSpecGroup, ChainSpecExtension)]
| ^^^^^^^^^^^^^^ help: use `dyn`: `<dyn ChainSpecGroup>`
|
= note: this error originates in the derive macro `ChainSpecExtension` (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
Are you building master here? What commit is your Cargo.lock pointing to of Substrate dependencies?
If supported, I would think you need a very recent commit of this project to get the update you need, please try first to update to the HEAD of master 🙏
This actually looks like that one of the trait objects in the ChainSpecGroup derive macro did not use the proper dyn Trait syntax. It does require a fix on substrate. I'm going to try and reproduce this and send a PR soon.
I'm trying to migrate project from rust 2018 to 2021, but it seems there're some problems on compiling.
Errors like
The text was updated successfully, but these errors were encountered: