There's a merged pull request on the void-packages repository Rust 1.77 https://github.com/void-linux/void-packages/pull/49437 Description: #### Testing the changes - I tested the changes in this PR: **YES** Cargo 1.77 started using features from git2 0.18 that we currently patch back to 0.17 to accommodate libgit2 1.6: https://github.com/rust-lang/cargo/blob/3fe68eabf93cbf3772bbcad09a9206c783e2de3f/src/cargo/sources/git/utils.rs#L1108-L1110 The simplest way forward is probably to stop downgrading git2, but that requires merging https://github.com/void-linux/void-packages/pull/45976 first. Also had to manually disable optimized-compiler-builtins as they are incorrectly enabled by default: https://github.com/rust-lang/rust/pull/119556