Power Flags, ERC and Diodes

You did not include the cache lib nor did you include your personal libs. I can therefore not really check your project. Project and libary setup for sharing and collaboration (for sharing on the forum the section about read only sharing is enough)

I however have a guess about what is going on. KiCad sometimes reports the pin not driven error on the wrong pin. In reality it should point to the power symbol itself but for some reason points to some other pin on the same net. See https://gitlab.com/kicad/code/kicad/issues/2594