rajasekarv / vega

A new arguably faster implementation of Apache Spark from scratch in Rust
Apache License 2.0
2.23k stars 207 forks source link

Compilation error: `error[E0034]: multiple applicable items in scope` #129

Closed amirulmenjeni closed 3 years ago

amirulmenjeni commented 3 years ago

As per the title, I got an error when trying to build the crate.

rustc --version:

rustc 1.52.0-nightly (e9920ef77 2021-02-11)

In src/rdd/rdd.rs:289:43:

error[E0034]: multiple applicable items in scope
    --> src/rdd/rdd.rs:289:43
     |
289  |         Ok(results?.into_iter().flatten().reduce(f))
     |                                           ^^^^^^ multiple `reduce` found
     |
amirulmenjeni commented 3 years ago

Closed because I was using the wrong rustc version.