Remove unused variable
Remove unused import in core
Remove unused imports in std
Remove unused import in librustc
auto merge of #5336 : ILyoan/rust/remove_unused, r=sanxiyn

Remove unused imports to get rid of warnings.