Rust warnings

Changes for the latest batch of rust changes:
* new lint group behavior
* get_ref deprecation