Warnings generally apply before custodial interrogation. An arrest by itself does not require immediate warnings if questioning does not take place. Failure to warn may affect whether a statement is admissible; it does not automatically dismiss the charge.
When do police have to read me my Miranda rights?
Read more: Criminal defense