This project (Unhaunter) uses Bevy 0.16 and Rust 2024 Edition.
You will need a new installation of rust that has the 2024 Edition, the best way is to update it via rustup.rs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
You will also need to install the required libraries for Bevy.
sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0