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