pub fn check_endpoints( module: &Module, candid_path: Option<&Path>, hidden_path: Option<&Path>, ) -> Result<()>