Hi,
I’m a bit late.
I just had a similar bunch of errors.
What I found is that I defined the MCU macro wrong for my device (Fig 17 Ch 4.2.3).
In my case I’m using a STM32F030F4 and the wrong macro as STM32F030x4 correct one was STM32F030x6, as both devices are covered under the same MCU macro.
What helped me was being directed to system/include/cmsis/stm32XXxx.h