Note that you only need to deal with PWR_FLAG for ERC. It’s not needed otherwise.
In the first image (1.png), nodes VBUS and VEXT may be marked as power. But they are separated from the marked node by D1 and Q1 respectively. While some components have their outputs normally used as power sources, it’s not a typical function of either the cathode of a diode or the source of a MOSFET. Therefore, if U2 requires VI to be a power node, it must be marked as such. Keep in mind this is not a simulation: ERC doesn’t know the purpose and function of those components. It just checks constraints, which you feed to it.
The error in the second image (2.png) about UART_RX is valid. ERC finds an error in your diagram: you have a pin that is not driven, despite it should be.