AUR build failure
Christopher876 opened this issue · comments
error[E0658]: use of unstable library feature 'is_terminal'
--> src/main.rs:12:35
|
12 | use std::io::{BufRead, BufReader, IsTerminal, stdout, Write};
| ^^^^^^^^^^
|
= note: see issue #98070 <https://github.com/rust-lang/rust/issues/98070> for more information
error[E0658]: use of unstable library feature 'is_terminal'
--> src/main.rs:214:17
|
214 | if !stdin().is_terminal()
| ^^^^^^^^^^^
|
= note: see issue #98070 <https://github.com/rust-lang/rust/issues/98070> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `kalc` due to 2 previous errors
==> ERROR: A failure occurred in build().
Seems like the use of is_terminal is unstable and as such it does not build anymore when is_terminal()
started getting used
the required rust version is 1.70 which is very likely the issue
Yeah that was it. Sorry about that. Didn’t think about upgrading my rust version since it had compiled before