fn transmit( gctx: &GlobalContext, ws: &Workspace<'_>, pkg: &Package, tarball: &File, registry: &mut Registry, registry_id: SourceId, dry_run: bool, ) -> CargoResult<()>