anchor.diff:      usage(parser);
     }
   
  -  const postUrl = 'https://firestore.googleapis.com/v1/'
  -      'projects/dart-ci/databases/(default)/documents:runQuery';
  -
  -  final builder = options['builder'];
  +  builder = options['builder'];
     final buildNumber = options['build_number'];
     final table = builder.endsWith('-try') ? 'try_builds' : 'builds';
  -  final token = await File(options['auth_token']).readAsString();
  -  final client = http.Client();
  +  token = await File(options['auth_token']).readAsString();
  +  client = http.Client();
     final query = {
  -    "from": [
  -      {"collectionId": table}
  +    'from': [
  +      {'collectionId': table}
       ],
  -    "limit": 1,
  -    "where": {
  -      "compositeFilter": {
  -        "op": "AND",
  -        "filters": [
  +    'limit': 1,
  +    'where': {
  +      'compositeFilter': {
  +        'op': 'AND',
  +        'filters': [
             {
  -            "fieldFilter": {
  -              "field": {"fieldPath": "build_number"},
  -              "op": "EQUAL",
  -              "value": {"integerValue": buildNumber}
  +            'fieldFilter': {
  +              'field': {'fieldPath': 'build_number'},
  +              'op': 'EQUAL',
  +              'value': {'integerValue': buildNumber}
               }
             },
             {
  -            "fieldFilter": {
  -              "field": {"fieldPath": "builder"},
  -              "op": "EQUAL",
  -              "value": {"stringValue": builder}
  +            'fieldFilter': {
  +              'field': {'fieldPath': 'builder'},
  +              'op': 'EQUAL',
  +              'value': {'stringValue': builder}
               }
             }
           ]
         }
       }
     };
  -
  -  final json = jsonEncode({"structuredQuery": query});
  -  final headers = {
  -    'Authorization': 'Bearer $token',
  -    'Accept': 'application/json',
  -    'Content-Type': 'application/json'
  -  };
     for (int count = 0; count < numAttempts; ++count) {
       if (count > 0) {
         await Future.delayed(Duration(seconds: 10));
       }
  -    final response = await client.post(postUrl, headers: headers, body: json);
  +    final response = await runFirestoreQuery(query);
       if (response.statusCode == HttpStatus.ok) {
         final documents = jsonDecode(response.body);
         final document = documents.first['document'];
  
positive.code:             print('No unapproved new failures');
              if (activeFailures == true) {
                print('There are unapproved failures from previous builds');
              }
            } else {
              print('There are unapproved new failures on this build');
            }
            exit((success && (activeFailures != true)) ? 0 : 1);
          }
  
negative.code: import 'package:http/http.dart' as http;
  
  const numAttempts = 20;
  const queryUrl = 'https://firestore.googleapis.com/v1/'
      'projects/dart-ci/databases/(default)/documents:runQuery';
  String builder;
  String token;
  http.Client client;
  
  bool booleanFieldOrFalse(Map<String, dynamic> document, String field) {
    Map<String, dynamic> fieldObject = document['fields'][field];
  