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

I can't compile a project with Compiling polars-io v0.38.2 error[E0658]: use of unstable library feature 'arc_unwrap_or_clone' #14988

Closed
2 tasks done
xsirio opened this issue Mar 11, 2024 · 3 comments
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars

Comments

@xsirio
Copy link

xsirio commented Mar 11, 2024

Checks

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of Polars.

Reproducible example

//it seems lazy package problem 
polars = {version="0.38.2",features =["lazy","parquet","dtype-datetime"]}

Log output

error[E0658]: use of unstable library feature 'arc_unwrap_or_clone'
  --> /Users/nicsir/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polars-lazy-0.38.2/src/physical_plan/executors/scan/csv.rs:21:18
   |
21 |             .map(Arc::unwrap_or_clone);
   |                  ^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #93610 <https://github.com/rust-lang/rust/issues/93610> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `polars-lazy` (lib) due to previous error

Issue description

trying to compiling a small program with lazy features. Compile error.

Expected behavior

successful compilation of polars-lazy lib...

Installed versions

polars = {version="0.38.2",features =["lazy","parquet","dtype-datetime"]}

@xsirio xsirio added bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars labels Mar 11, 2024
@xsirio xsirio changed the title I can't compile a project with Compiling polars-io v0.38.2 error[E0658]: use of unstable library feature 'arc_unwrap_or_clone' --> /Users/nicsir/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polars-lazy-0.38.2/src/physical_plan/executors/scan/csv.rs:21:18 I can't compile a project with Compiling polars-io v0.38.2 error[E0658]: use of unstable library feature 'arc_unwrap_or_clone' Mar 11, 2024
@evbo
Copy link

evbo commented Mar 11, 2024

Before the 0.38.2 release, polars 0.38.0 worked great but now every version of polars > 0.37.0 fails due to this.

@eitsupi
Copy link
Contributor

eitsupi commented Mar 12, 2024

Have you checked the issue link?

note: see issue #93610 rust-lang/rust#93610 for more information

The issue is fixed in Rust 1.76.0.
In the other words, MSRV is now 1.76.0. You have to update rustc.

Related issue #12112

@xsirio
Copy link
Author

xsirio commented Mar 12, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars
Projects
None yet
Development

No branches or pull requests

4 participants