Nick Kyrgios got hot under the collar on a cold and wet first day of the French Open as he picked up a code violation on his way to a straight sets win.