You have a motor connected directly to an Arduino pin. A motor will draw enough current to damage an Arduino pin. And if it survives that, when the motor is switched off, the reverse current/voltage generated by the motor will damage the Arduino because there is no flyback diode.