Error compiling for board Arduino Uno.

Just like @Lc888 I use the Windows Store version of Arduino 1.8.9 (Windows Store v.1.8.21) and I can confirm that downloading the previous compiler from the board manager does help. Thank you!