main/rust: upgrade to 1.74.1
https://releases.rs/docs/1.74.0/
Cherry-picked from https://gitlab.alpinelinux.org/Celeste/aports/-/tree/rust-to-the-1.75 and adjusted
https://releases.rs/docs/1.74.0/
Cherry-picked from https://gitlab.alpinelinux.org/Celeste/aports/-/tree/rust-to-the-1.75 and adjusted