Revert "[doc_checker] Improve output on error"

This reverts commit f11d94135061b16643d6766a8c7c2e2e8ff32db4.

Reason for revert:  When presubmit checked fxr/333071 patchset 12, docchecker threw an exception:
Unhandled exception:
NoSuchMethodError: The getter 'length' was called on null.
Receiver: null
Tried calling: length
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1      _StringBase.compareTo (dart:core-patch/string_patch.dart:287:29)
#2      Error.compareTo (package:doc_checker/errors.dart:36:23)
#3      Comparable.compare (dart:core/comparable.dart:95:55)
#4      ListMixin._compareAny (dart:collection/list.dart:347:23)
#5      Sort._insertionSort (dart:_internal/sort.dart:71:36)
#6      Sort._doSort (dart:_internal/sort.dart:60:7)
#7      Sort.sort (dart:_internal/sort.dart:35:5)
#8      ListMixin.sort (dart:collection/list.dart:341:10)
#9      main (file:///b/s/w/ir/k/topaz/tools/doc_checker/bin/main.dart:256:7)
<asynchronous suspension>
#10     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#11     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.


Original change's description:
> [doc_checker] Improve output on error
> 
> To ease reading errors we
> 
> * Order errors by location, grouping errors coming from the same file;
> * Print `location: error kind: error content`, which follows the typical
>   fomat used by tools such as linters or compilers.
> 
> New output
> 
>     //docs/development/internationalization/localizing_mods.md: Http link is broken: https://fuchsia.googlesource.com/experiences/+/refs/heads/master/examples/localized_flutter_app
>     //docs/development/languages/dart/mod_integration_testing.md: Http link is broken: https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod
>     //docs/development/languages/dart/mod_integration_testing.md: Http link is broken: https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod/BUILD.gn
>     //docs/development/languages/dart/mod_integration_testing.md: Http link is broken: https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod/lib/main.dart
>     //docs/development/languages/dart/mod_integration_testing.md: Http link is broken: https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod/test/driver_example_mod_test.dart
>     //docs/development/languages/dart/mod_integration_testing.md: Http link is broken: https://fuchsia.googlesource.com/topaz/+/master/examples/test/driver_example_mod/test/driver_example_mod_test.dart
>     //docs/development/languages/dart/mod_integration_testing.md: Http link is broken: https://fuchsia.googlesource.com/topaz/+/master/examples/test/driver_example_mod/meta/driver_example_mod_tests.cmx
>     //docs/development/languages/fidl/CONTRIBUTING.md: Http link is broken: https://chromium.googlesource.com/chromium/src/+/master/build/fuchsia/fidlgen_js/
>     //docs/development/languages/fidl/CONTRIBUTING.md: Http link is broken: https://chromium.googlesource.com/chromium/src/+/master/build/fuchsia/fidlgen_js/runtime/
>     //docs/gen/build_arguments.md: Http link is broken: https://llvm.org/docs/UndefinedBehaviorSanitizer.html
>     Found 10 error(s).
> 
> Old output
> 
>     Http link is broken      : https://chromium.googlesource.com/chromium/src/+/master/build/fuchsia/fidlgen_js/ (//docs/development/languages/fidl/CONTRIBUTING.md)
>     Http link is broken      : https://chromium.googlesource.com/chromium/src/+/master/build/fuchsia/fidlgen_js/runtime/ (//docs/development/languages/fidl/CONTRIBUTING.md)
>     Http link is broken      : https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod (//docs/development/languages/dart/mod_integration_testing.md)
>     Http link is broken      : https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod/BUILD.gn (//docs/development/languages/dart/mod_integration_testing.md)
>     Http link is broken      : https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod/lib/main.dart (//docs/development/languages/dart/mod_integration_testing.md)
>     Http link is broken      : https://fuchsia.googlesource.com/topaz/+/HEAD/examples/test/driver_example_mod/test/driver_example_mod_test.dart (//docs/development/languages/dart/mod_integration_testing.md)
>     Http link is broken      : https://fuchsia.googlesource.com/topaz/+/master/examples/test/driver_example_mod/test/driver_example_mod_test.dart (//docs/development/languages/dart/mod_integration_testing.md)
>     Http link is broken      : https://fuchsia.googlesource.com/topaz/+/master/examples/test/driver_example_mod/meta/driver_example_mod_tests.cmx (//docs/development/languages/dart/mod_integration_testing.md)
>     Http link is broken      : https://llvm.org/docs/UndefinedBehaviorSanitizer.html (//docs/gen/build_arguments.md)
>     Http link is broken      : https://fuchsia.googlesource.com/experiences/+/refs/heads/master/examples/localized_flutter_app (//docs/development/internationalization/localizing_mods.md)
>     Found 10 error(s).
> 
> Change-Id: Ifbdbdf4e9592e2bdc909bbe1f2274b3e56198415

TBR=pascallouis@google.com,ccherubino@google.com,wilkinsonclay@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I7422332d071d565ac7d4aa95e3e9d9946aef5d8a
2 files changed
tree: 948e9463c09d1c1a5a43c9f538deb8c53ef830a6
  1. .cargo/
  2. bin/
  3. bundles/
  4. examples/
  5. lib/
  6. packages/
  7. public/
  8. runtime/
  9. shell/
  10. tests/
  11. tools/
  12. .clang-format
  13. .gitignore
  14. AUTHORS
  15. BUILD.gn
  16. CONTRIBUTING.md
  17. LICENSE
  18. OWNERS
  19. PATENTS
  20. README.md
  21. rustfmt.toml
README.md

Topaz

Topaz augments system functionality by implementing interfaces defined by underlying layers. Topaz contains four major categories of software: modules, agents, shells, and runners.

For example, modules include the dashboard, and runners include the Web, Dart, and Flutter runners.

Removed Components

Looking for something that used to be in this repository? The list below provides a code location and sha that can be used to checkout dead code that has been removed. Please note, it is unlikely the code will build or work correctly shas are provided for reference only. Code can be checked out with:

    git checkout <sha> -- $FUCHSIA_DIR/<location>
  • topaz/app/chat: 9f6c31d2ceb8353f229a9ef6b53ba2386ff31867
  • topaz/app/color: 5a023ccb054104846e3e913951bcc7dc277d2274
  • topaz/app/contacts: 80378fe470817750188707de29237282892a3142
  • topaz/app/dashboard: 982984856fec7e45d295a6ca34bdd819b6760b72
  • topaz/app/documents: b5a3ee29b15414f232865128195d14bd8811ab02
  • topaz/app/image: 5e731a943a907cf960ecfbda1c391958f9093afa
  • topaz/app/link_viewer: 00fe1236c6851da5d54c625a8293561bb617804c
  • topaz/app/video: fc03877f787fc119140b900d476c4563bd04a529
  • topaz/app/spinning_cube: d51f6cdd4
  • topaz/bin/repl: fc25fb9b825f4100b316c4d5135156ef05e0dc4b
  • topaz/examples/bluetooth: f4287c5ae0e9b099983121b41be66e1994b83a02
  • topaz/examples/tictactoe: 07fd955f4
  • topaz/tools/dartfmt_extras: acc1f05718af2bcfbba3317a456f82b67eec4e42
  • topaz/tools/mod: acc1f05718af2bcfbba3317a456f82b67eec4e42
  • topaz/tools/widget_explorer: acc1f05718af2bcfbba3317a456f82b67eec4e42
  • topaz/examples/bluetooth: f4287c5ae0e9b099983121b41be66e1994b83a02
  • topaz/bin/repl: fc25fb9b825f4100b316c4d5135156ef05e0dc4b
  • topaz/examples/tictactoe: 07fd955f4
  • topaz/examples/ui/hello_mod: 07fd955f4
  • topaz/examples/ui/sketchy_flutter: 07fd955f4
  • topaz/examples/ui/text_flutter: 07fd955f4
  • topaz/examples/ui: 1f4faa076
  • topaz/lib/keyboard: 8f7fb8a
  • topaz/public/lib/agent: 79a60c5d377ed3a55a87d999292036243ff21446
  • topaz/public/lib/config: f489f45e6883df6e3be578342b4e739928adcf77
  • topaz/public/lib/context: f489f45e6883df6e3be578342b4e739928adcf77
  • topaz/public/lib/mod: 75067a620790d76515c3824321eca335a6aa6bab
  • topaz/public/lib/app_driver: 0196bf704f
  • topaz/public/lib/fuchsia_driver: b34f97387
  • topaz/public/lib/decomposition: b34f97387
  • topaz/public/lib/module_resolver: 2e13a4929
  • topaz/public/lib/user: 62cc03e
  • topaz/lib/setui/settings: 4009b4a
  • topaz/public/lib/schemas: e5810dfa1
  • topaz/public/lib/entity: e5810dfa1
  • topaz/public/lib/component: e5810dfa1
  • topaz/shell/keyboard: 8f7fb8a
  • public/lib/app/dart: 12404bc
  • examples/fidl/echo_client_dart: 12404bc
  • examples/fidl/echo_server_dart: 12404bc
  • examples/fidl/fidl_bindings_performance: 12404bc