This repository was archived by the owner on Nov 6, 2020. It is now read-only.
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
"multiple applicable items in scope" & "multiple flatten
found" (while compiling from source) #8211
Closed

Description
I'm running:
- Which Parity version?:
commit 8c02211 (HEAD -> master, tag: nightly, origin/master, origin/HEAD)
- Which operating system?:
Linux
- How installed?:
not yet, compiling from source...
steps to reproduce
- git clone https://github.com/paritytech/parity
- cd parity
- cargo build --release
error[E0034]: multiple applicable items in scope
--> /home/xftroxgpx/build/2nonpkgs/rust.stuff/parity/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
rustc 1.26.0-dev (4be5d360c 2018-03-23)
binary: rustc
commit-hash: 4be5d360cd8a9338d1408b3998874313240db395
commit-date: 2018-03-23
host: x86_64-unknown-linux-gnu
release: 1.26.0-dev
LLVM version: 6.0
cargo 1.26.0-dev (bcd0300f 2018-03-23)
release: 1.26.0
commit-hash: bcd0300f0e2b572e81fa17e88dcb927aa95d6b4e
commit-date: 2018-03-23