Skip to content
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
@ghost

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

  1. git clone https://github.com/paritytech/parity
  2. cd parity
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    F3-annoyance 💩The client behaves within expectations, however this “expected behaviour” itself is at issue.M0-build 🏗Building and build system.P9-somedaymaybe 🌞Issue might be worth doing eventually.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions