Repository: flutter
Issue: [flutter_tools] ProcessException crash during rsync, some files could not be transferred (code 23), "Versions/A/FlutterMacOS": No such file or directory
Labels: c: crash,tool,P2,team-tool,triaged-tool

On stable/2.10.3

```
Stdout:
building file list ... done
Versions/
Versions/Current -> A
Versions/A/
Versions/A/FlutterMacOS
Versions/A/Headers/
Versions/A/Headers/FlutterAppDelegate.h
Versions/A/Headers/FlutterBinaryMessenger.h
Versions/A/Headers/FlutterChannels.h
Versions/A/Headers/FlutterCodecs.h
Versions/A/Headers/FlutterDartProject.h
Versions/A/Headers/FlutterEngine.h
Versions/A/Headers/FlutterMacOS.h
Versions/A/Headers/FlutterMacros.h
Versions/A/Headers/FlutterPluginMacOS.h
Versions/A/Headers/FlutterPluginRegistrarMacOS.h
Versions/A/Headers/FlutterTexture.h
Versions/A/Headers/FlutterViewController.h
Versions/A/Modules/
Versions/A/Modules/module.modulemap
Versions/A/Resources/
Versions/A/Resources/Info.plist
Versions/A/Resources/icudtl.dat
Versions/A/_CodeSignature/
Versions/A/_CodeSignature/CodeResources

sent 44012360 bytes  received 436 bytes  29341864.00 bytes/sec
total size is 44005581  speedup is 1.00

Stderr:
rsync: stat "/Users/<USERNAME>/Developer/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/.FlutterMacOS.mPqDqp" failed: No such file or directory (2)
rsync: rename "/Users/<USERNAME>/Developer/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework/Versions/A/.FlutterMacOS.mPqDqp" -> "Versions/A/FlutterMacOS": No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /System/Volumes/Data/SWE/macOS/BuildRoots/533514bb11/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]

  Command: rsync -av --delete /var/folders/_p/8jlqz_td7z33rbqxl1nkwnzw0000gn/T/flutter_tools.bOi3kZ/flutter_FlutterMacOS.framework.zip.yWUyJR/Versions /Users/<USERNAME>/Developer/flutter/bin/cache/artifacts/engine/darwin-x64/FlutterMacOS.framework
  
at RunResult.throwException(process.dart:124)
at _DefaultProcessUtils.runSync(process.dart:411)
at _MacOSUtils.unzip(os.dart:454)
at EngineCachedArtifact.updateInner(cache.dart:919)
at <asynchronous gap>(async)
at CachedArtifact.update(cache.dart:812)
at <asynchronous gap>(async)
at Cache.updateAll(cache.dart:681)
at <asynchronous gap>(async)
at FlutterCommand.verifyThenRunCommand(flutter_command.dart:1271)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1161)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:209)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:281)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:229)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:62)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:94)
at <asynchronous gap>(async)
```