Add cargo build file, disable some warnings