I'm trying to compile a code that uses polars library. Actually, I narrowed down the example to just two lines:
use polars::prelude::*;
pub fn main() {}
My Cargo.toml
contains just one dependency: polars = { version = "x" }
. My system is M1 Mac Book Pro with OS 11.3.1
The compilation error is:
Compiling arrow2 v0.17.3
error[E0658]: generic associated types are unstable
--> /Users/dgront/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow2-0.17.3/src/array/dictionary/typed_iterator.rs:9:5
|
9 | / type IterValue<'this>
10 | | where
11 | | Self: 'this;
| |____________________^
|
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
error[E0658]: where clauses on associated types are unstable
--> /Users/dgront/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow2-0.17.3/src/array/dictionary/typed_iterator.rs:9:5
|
9 | / type IterValue<'this>
10 | | where
11 | | Self: 'this;
| |____________________^
|
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
error[E0658]: generic associated types are unstable
--> /Users/dgront/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow2-0.17.3/src/array/dictionary/typed_iterator.rs:24:5
|
24 | type IterValue<'a> = &'a str;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `arrow2` due to 3 previous errors