Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facing issue while make with Rust version 1.29.0 for ethstore v0.2.0 #118

Open
sandeep1116 opened this issue Sep 16, 2018 · 3 comments
Open

Comments

@sandeep1116
Copy link

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

@phansch
Copy link

phansch commented Sep 17, 2018

Seems to have been indirectly caused by the stabilization of std::iter::Iterator::flatten (rust-lang/rust#51511) and by using an outdated version of ethcore in this repo.

It has already been fixed in parity-ethereum here: openethereum/parity-ethereum#8606

@ghost
Copy link

ghost commented Sep 17, 2018

@phansch Seems there was no backport for 1.11.11 for this fix 😂

@sandeep1116
Copy link
Author

I have reverted my RUST version to 1.26.00 and it was compiling. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants