$ flutter pub run build_runner build -d
Deprecated. Use `dart run` instead.
Building package executable... (7.5s)
Built build_runner:build_runner.
[INFO] Generating build script completed, took 327ms
[WARNING] ../../../.pub-cache/hosted/pub.flutter-io.cn/super_annotations-0.7.1/lib/src/code_builder_string.dart:171:7: Error: The non-abstract class 'DartTypeVisitor' is missing implementations for these members:
- TypeVisitor.visitInvalidType
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class DartTypeVisitor extends TypeVisitor<String> {
^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/analyzer-5.13.0/lib/dart/element/type_visitor.dart:19:5: Context: 'TypeVisitor.visitInvalidType' is defined here.
R visitInvalidType(InvalidType type);
^^^^^^^^^^^^^^^^
[INFO] Precompiling build script... completed, took 1.0s
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.
Here is the output: