Uploading to UNO R3 fails: "exit status 1"

This is my setup, input power of 12v, a 12v solenoid valve, and a safety relay