error on power supply

Yes, those are just warnings, not fatal design errors.
If connected as desired, you can ignore them.
Often the +5V symbol is called an output, so connecting it to an actual source, like 7805 output, will result in that warning.