Your terminal is currently in the
C:\Windows\system32 directory, but your
main.rs file is somewhere else, hence it fails. To change the current directory, you can use the
cd command, for example to go to your desktop:
You should first use it to go to the directory where you store the
main.rs file, and then you can compile the program.