arduino is not in sync

I am trying to upload a simple RGB led sketch to my arduino and it is stuck saying uploading. here is the code

#include <RGBLed.h>

RGBLed led(11, 10, 9, COMMON_CATHODE);

void setup() {

}

void loop() {

  // Set color to red
  led.setColor(RGBLed::RED);
  delay(1000);

  // Set color to green
  led.setColor(0, 255, 0);
  delay(1000);
  led.setColor(0, 0, 255);
  delay(1000);
}

the RX LED just blinks for a little bit and then it does nothing. What is wrong? Do i need a new arduino? do I need a new ATMEGA chip?
EDIT: here is what comes up on the output:

Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Uno"

Build options changed, rebuilding all
Sketch uses 1408 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 23 bytes (1%) of dynamic memory, leaving 2025 bytes for local variables. Maximum is 2048 bytes.

5 or so minutes later…

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc5
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.