Cannot build ripgrep on Ubuntu: failed to parse manifest #3055
-
I cannot build ripgrep on Ubuntu:
How to fix? Searching for "failed to parse manifest" produces "There are no matching discussions.". |
Beta Was this translation helpful? Give feedback.
Answered by
BurntSushi
May 29, 2025
Replies: 2 comments 3 replies
-
You don't share your version of Cargo and rustc. My guess is that they are too old. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Which versions are needed to build ripgrep? Why doesn't ripgrep's "build process" check versions? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The minimum Rust version required is documented in the second sentence of the build instructions.
Cargo is supposed to do this because of the
rust-version
attribute, but thedebug
value ofnone
used by ripgrep requires Rust 1.71. And apparently Cargo chokes on that before it has a chance to give you a better error message.ripgrep generally tracks the stable version of Rust, so the MSRV of Rust 1.72 is already quite old by that standard. It's usually even newer than that. The philosophy here is that if you choose a Linux distro that specifically prioritizes stagnation by packaging older versions of software (in this case, multiple ye…