error: cannot move out of type `hashmap::HashMap<K,V>`, which defines the `Drop` trait