v Error: Pins of type Power output and Open collector are connected
Symbol #FLG02 Pin 1 [Power output, Line]
Symbol J2 Pin 10 [~{RESET}, Open collector, Line]
v Warning: Pins of type Power output and Bidirectional are connected
Symbol #FLG02 Pin 1 [Power output, Line]
Symbol U1 Pin 30 [PB7, Bidirectional, Line]
v Warning: Pins of type Power output and Bidirectional are connected
Symbol #FLG02 Pin 1 [Power output, Line]
Symbol U4 Pin 6 [SDA, Bidirectional, Line]
v Warning: Both GND and 12C SDA are attached to the same items; GND will be used in the netlist
Symbol #PWR04 Pin 1 [Power input, Line]
Label '12C_SDA '
Error 1 "Pins of type Power output and Open collector are connected"
Open collector connected to power output:
An open collector pin is a pin that can only pull what it is connected to, down.
1 That is why KiCAD is throwing an error.
Your /RESET line on the SWD connector is not connected to anything but the GND-pin. It should not be connected to GND, (that would hold the MCU in reset forever) but to the NRST pin on the STM32G4A1 - PG10 - Pin 4
2. This has a weak pull up inside the chip.
.
Warnings 1-3 "'Pins of type Power output and Bidirectional are connected' and 'Both GND and 12C SDA are attached to the same items; GND will be used in the netlist'"
All three warnings are related to the same problem but is reporting it in three different ways.
The connection between pin PB7 on U1 and the SDA pin on U4 has the I2C_SDA label on it, which has also in some way duplicated itself on to the /RESET line on pin 10 on J2. Remove the I2C_SDA label from the /RESET line, and all three warnings should go away.
The first two warnings are related to IO lines being connected to a power output pin - one report for U1 Pin 30 (one end of I2C SDA) and one report for U4 Pin 6 (the other end of I2C SDA) being connected to GND because of the misplaced label.
The final warning is the one that tells you that you have misplaced that SDA label - it's saying "you have one connection you have given two different names - GND and I2C_SDA", and that it will prioritize GND.
1 Read more in this question about open collectors
2 STM32G4A1 datasheet