poa-bridge
poa-bridge copied to clipboard
facing issue while make with Rust version 1.29.0 for ethstore v0.2.0
Compiling ethstore v0.2.0 (http://github.com/paritytech/parity?rev=991f0ca#991f0cac) error[E0034]: multiple applicable items in scope --> /Users/sandeepkumar/.cargo/git/checkouts/parity-dc9825eb65b3adf1/991f0ca/ethstore/src/accounts_dir/memory.rs:33:45 | 33 | Ok(self.accounts.read().values().cloned().flatten().collect()) | ^^^^^^^ multiple flatten found | = note: candidate #1 is defined in an impl of the trait std::iter::Iterator for the type std::iter::Cloned<_> = note: candidate #2 is defined in an impl of the trait itertools::Itertools for the type _
error: aborting due to previous error
For more information about this error, try rustc --explain E0034. error: Could not compile ethstore. warning: build failed, waiting for other jobs to finish... error: build failed make: *** [target/release/bridge] Error 101
Seems to have been indirectly caused by the stabilization of std::iter::Iterator::flatten
(https://github.com/rust-lang/rust/pull/51511) and by using an outdated version of ethcore
in this repo.
It has already been fixed in parity-ethereum
here: https://github.com/paritytech/parity-ethereum/pull/8606
@phansch Seems there was no backport for 1.11.11 for this fix 😂
I have reverted my RUST version to 1.26.00 and it was compiling. Thanks