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

Arrow 4.3 release: error[E0658]: use of unstable library feature 'partition_point': new API #456

Closed
alamb opened this issue Jun 14, 2021 · 1 comment
Labels

Comments

@alamb
Copy link
Contributor

alamb commented Jun 14, 2021

Describe the bug

When I upgraded my project via cargo update and it picked up https://crates.io/crates/arrow/4.3.0

I got the following error:

   Compiling tracker v0.1.0 (/Users/alamb/Software/influxdb_iox/tracker)
error[E0658]: use of unstable library feature 'partition_point': new API
  --> /Users/alamb/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.3.0/src/compute/kernels/partition.rs:88:14
   |
88 |             .partition_point(|idx| {
   |              ^^^^^^^^^^^^^^^
   |
   = note: see issue #73831 <https://github.com/rust-lang/rust/issues/73831> for more information

I expect no compilation error

@alamb alamb added the bug label Jun 14, 2021
@alamb
Copy link
Contributor Author

alamb commented Jun 14, 2021

It turns out my project had pinned the Rust toolchain to 1.51 and arrow now requires 1.52. Updating the rust-toolchain pin solves the problem

diff --git a/rust-toolchain b/rust-toolchain
index d2d62553..d4f82037 100644
--- a/rust-toolchain
+++ b/rust-toolchain
@@ -1 +1 @@
-1.51.0
\ No newline at end of file
+1.52.0
\ No newline at end of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant