Did you set the Arduino IDE to compile for the right Arduino?
It should be set for the Arduino Uno.
When you opened the Arduino IDE, did you select a New window and then paste in the Solar Tracker ino code over the stock introduction in the New window?
I was able to get the Solar Tracker ino. to compile just fine on Arduino 1.8.9 IDE.