Welp, it seemed a package problem. I deleted all firmware packages (for F1 series) and reinstalled them, then everything worked out. For STM32CubeIDE 1.3.0, I would suggest you not to unzip the package with IDE itself (doing so avoids some strange mi...
I think I got something very similar.When I tried to build my project for NUCLEO-F103RB, the first error is the absence of core_cm3.h (called by an #include statement in the file "stm32f103xb.h"). I guess that results from certain damage of firmware ...