Problems with CLion compilation

I installed gcc compiler, but there are problems with compilation, I attach a log file. Screenshot of the settings window

-- The C compiler identification is GNU 8.1.0 -- The CXX compiler identification is GNU 8.1.0 -- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gcc.exe -- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gcc.exe -- broken CMake Error at C:/Program Files/JetBrains/CLion 2019.2.5/bin/cmake/win/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler

"C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/gcc.exe"

Is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/Users/Михаил/AppData/Local/Temp/cmake_check_environment/_build7259772169542546870/CMakeFiles/CMakeTmp

Run Build Command(s):C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/bin/mingw32-make.exe cmTC_cf198/fast && C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_cf198.dir\build.make CMakeFiles/cmTC_cf198.dir/build
mingw32-make.exe[1]: Entering directory 'C:/Users/╠шїршы/AppData/Local/Temp/cmake_check_environment/_build7259772169542546870/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cf198.dir/testCCompiler.c.obj
C:\PROGRA~1\MINGW-~1\X86_64~1.0-P\mingw64\bin\gcc.exe    -o CMakeFiles\cmTC_cf198.dir\testCCompiler.c.obj   -c C:\Users\╨Ь╨╕╤Е╨░╨╕╨╗\AppData\Local\Temp\cmake_check_environment\_build7259772169542546870\CMakeFiles\CMakeTmp\testCCompiler.c
gcc.exe: error: C:\Users\╨Ь╨╕╤Е╨░╨╕╨╗\AppData\Local\Temp\cmake_check_environment\_build7259772169542546870\CMakeFiles\CMakeTmp\testCCompiler.c: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
mingw32-make.exe[1]: *** [CMakeFiles\cmTC_cf198.dir\build.make:65: CMakeFiles/cmTC_cf198.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'C:/Users/╠шїршы/AppData/Local/Temp/cmake_check_environment/_build7259772169542546870/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [Makefile:120: cmTC_cf198/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:1 (project)

-- Configuring incomplete, errors occurred! See also "C:/Users/РњРеС...Р°РеР"/AppData/Local/Temp/cmake_check_environment/_build7259772169542546870/CMakeFiles/CMakeOutput.log". See also "C:/Users/РњРеС...Р°РеР"/AppData/Local/Temp/cmake_check_environment/_build7259772169542546870/CMakeFiles/CMakeError.log".

Error code: 1

 0
Author: Mikhail, 2020-03-21