DRC error means Design Rule check related error sorry but I am using protues 8 but I think power pins nets are by default is VCC/VDD so you need to change the net name which you using for pin 31 which is #00025 so change the net name of your pin 40 to #00025 that solve your problem.
To change name you can go in schematic and click controller go in properties and click on hidden pins you see there pin 40 named as VCC changed it to #00025 then no error would be their.