https://forum.kicad.info/t/how-to-solve-this-problem/21206
https://forum.kicad.info/t/errtype-pin-connected-to-other-pins-but-not-driven-by-any-pin/16934
https://forum.kicad.info/t/pin-connected-to-other-pins-but-not-driven-by-any-pin/16788/21
https://forum.kicad.info/t/pin-not-driven-erc-error-with-common-mode-choke/22566
https://forum.kicad.info/t/error-pin-not-driven-error-use-of-flags/17002
https://forum.kicad.info/t/erc-gives-a-bunch-of-errors-for-multiple-ics-connected-to-spi-bus/12413/4
I hope this helps
p.s. Your GND and +5V are shortcircuit and the gate of your transistor is always grounded.