1. clippy code 2. add fmt and clippy check in ci
On some windows machines can not execut netsh. Also this avoid black cmd window when using gui.