Don't consume values unless there is a reason for doing so. Make sure that arguments which take ownership of a value do so intentionally. Search for .clone() in integration tests...