-
Notifications
You must be signed in to change notification settings - Fork 36
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
R-universe r-polars build fails because rust-polars is no longer backwards compatible with rustc 1.65.0 stable #208
Comments
why R-universe failsUpstream rust-polars has adopted crate argminmax 0.6.1 which shows to not be backwards compatible with rustc 1.65.0 stable but only 1.66 stable. The minimal previous minimal rustc version was 1.62 for polars. argminmax 0.6.1 currently needs rustc >= 1.66.0 to not give the following compiler error Compiling argminmax v0.6.1
thread 'rustc' panicked at 'assertion failed: key.param_env.is_const()', compiler/rustc_const_eval/src/const_eval/eval_queries.rs:270:5
stack backtrace:
0: 0x7f75faf69a43 - <std::sys_common::backtrace::_print::DisplayBacktrace as
.
.
. possible solutions (in likely preferred ordering):
other follow-up
|
Thanks for taking a look at this. Perhaps Debian testing will skip Rust 1.64 and 1.65, so this problem will be solved when we can build this package in CRAN machine anyway.
I too thought that the handling of SIMD disabled should be tested more. If someone wants to work on it, one way is to rewrite Cargo.toml by detecting the available Rust state by the |
R-universe build can run on 1.65.0 when setting |
seems to work alright now |
Related to #279 |
Debian testing migration to Rust 1.66 is in progress. However, Ubuntu is currently Rust 1.65, so if we consider binary installation with the Posit Package Manager, we will need to resolve this issue and support Rust 1.65. |
R-universe build fails
https://github.com/r-universe/rpolars/actions/runs/4884403053
I tried to downgrade to rust 1.65 stable locally, but I got no errors so far.Something with simd is mentioned in some of the compiler errrors, but not sure what it is about.EDIT: In a clean build I was able to reproduce the error by downgrading to rustc 1.65 stable
The text was updated successfully, but these errors were encountered: