How do I deal with this error: package `flate2 v1.1.2` cannot be built because it requires rustc 1.67.0 or newer, while the currently active rustc version is 1.63.0

⚓ Rust    📅 2025-08-31    👤 surdeus    👁️ 3      

surdeus

I have the O/S supplied version of rustc (and its libraries), which is 1.63.0. I am on a Raspberry Pi5, running Raspberry Pi OS 12 (Debian 12 / aarch64). I would rather not do something like install rustc 1.67, which I suspect would have to be built from sources and installed under /usr/local (and it would likely have all sorts of dependencies). The error message includes the vaguely helpful (maybe) that I can install an lower version of the offenting package, but how do I know what version I should install and what other packages will that "break"? Is this solvable? My goal is to use genpdf. But if there is another package for writing PDF files. Or maybe something else for generating some kind of formatted printout that will work with rustc 1.63.0.

6 posts - 5 participants

Read full topic

🏷️ Rust_feed