They only have to read you your rights when pertaining to questioning. If they didn't need to question you they can arrest you without giving you your miranda rights.