Flutter HEAD-HEAD-HEAD bot sometimes fails on "flutter analyze" step with the following error:
▌09:00:27▐ Sample code...
▌09:00:27▐ RUNNING: cd .; bin/cache/dart-sdk/bin/dart /b/s/w/ir/cache/builder/flutter/dev/bots/analyze_sample_code.dart
Found 365 snippet code blocks, 43 sample code sections, and 225 dartpad sections.
Unhandled exception:
packages/flutter/lib/src/material/switch_list_tile.dart:79: Error: Unable to create sample for packages/flutter/lib/src/material/switch_list_tile.dart:79 (using input from /b/s/w/ir/x/t/flutter_analyze_sample_code.IVDKPE/sample.packages.flutter.lib.src.material.switch_list_tile.79.input):
Cannot delete file, path = '/home/chrome-bot/.pub-cache/bin/snippets' (OS Error: No such file or directory, errno = 2)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ERROR: Last command exited with 255 (expected: zero).
Command: bin/cache/dart-sdk/bin/dart /b/s/w/ir/cache/builder/flutter/dev/bots/analyze_sample_code.dart
Relative working directory: .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━