Warning police
clean up the last bit of warnings
auto merge of #6423 : cmr/rust/warnings, r=catamorphism