Rust upgrade privacy fixes