logos
logos copied to clipboard
OpenEthereum compile error: could not compile logos-derive due to 3 previous errors
.cargo/registry/src/github.com-1ecc6299db9ec823/logos-derive-0.7.7/src/lib.rs:55:20 | 55 | extras.insert(util::ident(&ext), |_| panic!("Only one #[extras] attribute can be declared.")); | ^^^^^^ ----------------- ----------------------------------------------------------- supplied 2 arguments | | | expected 1 argument | note: associated function defined here
.cargo/registry/src/github.com-1ecc6299db9ec823/logos-derive-0.7.7/src/lib.rs:89:23 | 89 | error.insert(variant, |_| panic!("Only one #[error] variant can be declared.")); | ^^^^^^ ------- -------------------------------------------------------- supplied 2 arguments | | | expected 1 argument | note: associated function defined here
.cargo/registry/src/github.com-1ecc6299db9ec823/logos-derive-0.7.7/src/lib.rs:93:21 | 93 | end.insert(variant, |_| panic!("Only one #[end] variant can be declared.")); | ^^^^^^ ------- ------------------------------------------------------ supplied 2 arguments | | | expected 1 argument | note: associated function defined here
Hi @dhcn have you resolved this isssue? Bump into it as well :disappointed:
Allegedly, found a solution here https://github.com/openethereum/openethereum/issues/442#issuecomment-866849332
I find the max available rust version for that compliation is 1.52
Hi @dhcn have you resolved this isssue? Bump into it as well 😞