anchor.diff:          if (result.rest.length > 1) {
             version = result.rest[1];
           }
  -        final String pubHostedUrl = result['hosted-url'];
           if (pubHostedUrl != defaultHostedUrl && version == null) {
             _printHelp(
                 errorMessage:
                     'Version must be specified when using --hosted-url option.');
             return;
           }
  -        final options = InspectOptions(
  -          verbosity: verbosity,
  -          pubHostedUrl: pubHostedUrl,
  -        );
  -        var analyzer = await PackageAnalyzer.create(
  -          pubCacheDir: tempPath,
  -          flutterDir: result['flutter-sdk'] as String,
  -        );
           summary = await analyzer.inspectPackage(package,
               version: version, options: options);
         } else if (source == 'path') {
  
positive.code:                   'To remove this message, use `--no-warning`.');
            await Future.delayed(const Duration(seconds: 15));
          }
  
          var analyzer = await PackageAnalyzer.create(pubCacheDir: tempPath);
          summary = await analyzer.inspectDir(absolutePath);
        }
        print(prettyJson(summary));
      } catch (e, stack) {
  
negative.code:   var tempPath = await tempDir.resolveSymbolicLinks();
  
    try {
      final String pubHostedUrl = result['hosted-url'];
      final analyzer = await PackageAnalyzer.create(
        pubCacheDir: tempPath,
        flutterDir: result['flutter-sdk'] as String,
      );
      final options = InspectOptions(
        verbosity: verbosity,
        pubHostedUrl: pubHostedUrl,
      );
      try {
        Summary summary;
        if (source == 'hosted') {
  