fn create_repo_host_args<F>( url: &Url, query_pairs: &HashMap<String, String>, creator: F, ) -> Result<FlakeRef, FlakeRefError>where F: FnOnce(RepoHostParams) -> FlakeRef,