anchor.diff:        // TODO: add meaningful message for missing documentation on dartdoc
         documentationSection: null,
       );
  +
  +/// Creates a report section when running dartdoc failed to produce content.
  +ReportSection _dartdocFailedSection(String abortMessage) {
  +  return ReportSection(
  +    id: ReportSectionId.documentation,
  +    title: documentationSectionTitle,
  +    grantedPoints: 0,
  +    maxPoints: 10,
  +    summary: renderSimpleSectionSummary(
  +      title: 'Failed to run dartdoc',
  +      description: abortMessage,
  +      grantedPoints: 0,
  +      maxPoints: 10,
  +    ),
  +    status: pana.ReportStatus.failed,
  +  );
  +}
  
positive.code: 
            // Resolve dependencies only for non-legacy package versions.
            if (!packageStatus.isLegacy) {
              depsResolved = await _resolveDependencies(
                  logger, toolEnv, job, pkgPath, usesFlutter, logFileOutput);
            } else {
              logFileOutput.write(
                  'Package version does not allow current SDK, skipping pub upgrade.\n\n');
  
negative.code:     PubDartdocData dartdocData;
  
      String reportStatus = ReportStatus.failed;
      String abortMessage;
      DartdocEntry entry;
      try {
        await withToolEnv(
  