logos icon indicating copy to clipboard operation
logos copied to clipboard

OpenEthereum compile error: could not compile logos-derive due to 3 previous errors

Open dhcn opened this issue 3 years ago • 3 comments

.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

dhcn avatar Sep 13 '21 09:09 dhcn

Hi @dhcn have you resolved this isssue? Bump into it as well :disappointed:

zhiburt avatar Oct 09 '21 16:10 zhiburt

Allegedly, found a solution here https://github.com/openethereum/openethereum/issues/442#issuecomment-866849332

zhiburt avatar Oct 09 '21 20:10 zhiburt

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 😞

dhcn avatar Oct 14 '21 12:10 dhcn