anchor.diff:  import 'package:analyzer/source/sdk_ext.dart';
   import 'package:analyzer/src/dart/sdk/sdk.dart';
   import 'package:analyzer/src/generated/engine.dart';
  -import 'package:analyzer/src/generated/error.dart';
  +import 'package:analyzer/src/generated/error.dart'; // ignore: deprecated_member_use
   import 'package:analyzer/src/generated/java_io.dart';
   import 'package:analyzer/src/generated/sdk.dart';
   import 'package:analyzer/src/generated/source.dart';
  
positive.code:     return errors.isEmpty ? new Future.value() : new Future.error(new ExitCode(1));
    }
  
  
    Map<String, List<Folder>> _createPackageFilePackageMap(Packages packages) {
      Map<String, List<Folder>> m = {};
      Map<String, Uri> packageMap = packages.asMap();
  
negative.code:       packages = _discoverPackagespec(project.dir);
        resolvers.add(new SdkExtUriResolver(_createPackageFilePackageMap(packages)));
      } else if (project.packageDir.existsSync()) {
        // ignore: deprecated_member_use
        new PackageUriResolver([new JavaFile(project.packagePath)]);
        resolvers.add(new SdkExtUriResolver(_createPackagesFolderPackageMap(project)));
      }
  