Skip to content

Dart analyzer terminating on its own #64320

Description

@pushp-hans

{"id":13,"jsonrpc":"2.0","result":[]}
[1:44:19 PM] [Analyzer] [Info] <== Content-Length: 664
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_import","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_import"},"message":"The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.\nTry removing the import directive.","range":{"end":{"character":24,"line":2},"start":{"character":7,"line":2}},"severity":3,"source":"dart"}],"uri":"file:///C:/Users/PushpHans/Documents/GitHub/poms-mobile-flutter/mobile-flutter/lib/modules/dispatches/features/dispatches/presentaion/ui/dispatches_screen.dart"}}
[1:44:19 PM] [Analyzer] [Info] <== Content-Length: 1061
Content-Type: application/vscode-jsonrpc; charset=utf-8
[1:44:19 PM] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unused_local_variable","codeDescription":{"href":"https://dart.dev/diagnostics/unused_local_variable"},"message":"The value of the local variable 'farm' isn't used.\nTry removing the variable or using it.","range":{"end":{"character":16,"line":64},"start":{"character":12,"line":64}},"severity":2,"source":"dart"},{"code":"use_build_context_synchronously","codeDescription":{"href":"https://dart.dev/diagnostics/use_build_context_synchronously"},"message":"Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check.\nGuard a 'State.context' use with a 'mounted' check on the State, and other BuildContext use with a 'mounted' check on the BuildContext.","range":{"end":{"char…
[1:44:19 PM] [Analyzer] [Info] <== Content-Length: 1690
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"use_build_context_synchronously","codeDescription":{"href":"https://dart.dev/diagnostics/use_build_context_synchronously"},"message":"Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check.\nGuard a 'State.context' use with a 'mounted' check on the State, and other BuildContext use with a 'mounted' check on the BuildContext.","range":{"end":{"character":64,"line":826},"start":{"character":57,"line":826}},"severity":3,"source":"dart"},{"code":"use_build_context_synchronously","codeDescription":{"href":"https://dart.dev/diagnostics/use_build_context_synchronously"},"message":"Don't use …
[1:44:20 PM] [Analyzer] [Info] <== Content-Length: 2921
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_non_null_assertion","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_non_null_assertion"},"message":"The '!' will have no effect because the receiver can't be null.\nTry removing the '!' operator.","range":{"end":{"character":40,"line":533},"start":{"character":39,"line":533}},"severity":2,"source":"dart"},{"code":"unnecessary_non_null_assertion","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_non_null_assertion"},"message":"The '!' will have no effect because the receiver can't be null.\nTry removing the '!' operator.","range":{"end":{"character":20,"line":588},"…
[1:44:20 PM] [Analyzer] [Info] <== Content-Length: 565
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_underscores","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_underscores"},"message":"Unnecessary use of multiple underscores.\nTry using '_'.","range":{"end":{"character":32,"line":164},"start":{"character":30,"line":164}},"severity":3,"source":"dart"}],"uri":"file:///C:/Users/PushpHans/Documents/GitHub/poms-mobile-flutter/mobile-flutter/lib/modules/hatchery/features/laying_male/presentation/ui/male_laying_daily_entries_screen.dart"}}
[1:44:20 PM] [Analyzer] [Info] <== Content-Length: 686
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_import","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_import"},"message":"The import of 'package:flutter/services.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.\nTry removing the import directive.","range":{"end":{"character":38,"line":1},"start":{"character":7,"line":1}},"severity":3,"source":"dart"}],"uri":"file:///C:/Users/PushpHans/Documents/GitHub/poms-mobile-flutter/mobile-flutter/lib/modules/inventory/features/office_inventory/presentation/ui/feed_inventory_screen.dart"}}
[1:44:20 PM] [Analyzer] [Info] <== Content-Length: 683
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_import","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_import"},"message":"The import of 'package:flutter/services.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.\nTry removing the import directive.","range":{"end":{"character":38,"line":1},"start":{"character":7,"line":1}},"severity":3,"source":"dart"}],"uri":"file:///C:/Users/PushpHans/Documents/GitHub/poms-mobile-flutter/mobile-flutter/lib/modules/inventory/features/office_inventory/presentation/ui/medicine_inventory.dart"}}
[1:44:20 PM] [Analyzer] [Info] <== Content-Length: 689
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_import","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_import"},"message":"The import of 'package:flutter/services.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.\nTry removing the import directive.","range":{"end":{"character":38,"line":1},"start":{"character":7,"line":1}},"severity":3,"source":"dart"}],"uri":"file:///C:/Users/PushpHans/Documents/GitHub/poms-mobile-flutter/mobile-flutter/lib/modules/inventory/features/office_inventory/presentation/widgets/feed_inventory_card.dart"}}
[1:44:20 PM] [Analyzer] [Info] <== Content-Length: 693
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_import","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_import"},"message":"The import of 'package:flutter/services.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.\nTry removing the import directive.","range":{"end":{"character":38,"line":1},"start":{"character":7,"line":1}},"severity":3,"source":"dart"}],"uri":"file:///C:/Users/PushpHans/Documents/GitHub/poms-mobile-flutter/mobile-flutter/lib/modules/inventory/features/office_inventory/presentation/widgets/medicine_inventory_card.dart"}}
[1:44:27 PM] [DartToolingDaemon] [Info] DTD WebSocket connection closed
[1:44:27 PM] [DartToolingDaemon] [Error] Process C:\Users\PushpHans\flutter\bin\cache\dart-sdk\bin\dart.exe terminated! 4294967295, null
[1:44:27 PM] [DartToolingDaemon] [Info] DTD process exited (4294967295, null)
[1:44:27 PM] [DartToolingDaemon] [Warn] Prompting to reload: (The Dart Tooling Daemon process has terminated.) (actions: Restart Extension, Show Log)
[1:44:27 PM] [DartToolingDaemon] [Info] Process C:\Users\PushpHans\flutter\bin\cache\dart-sdk\bin\dart.exe is being disposed
[1:44:27 PM] [DartToolingDaemon] [Info] Process C:\Users\PushpHans\flutter\bin\cache\dart-sdk\bin\dart.exe skipped terminating because it had already exited
[1:44:27 PM] [DevTools] [Error] Process C:\Users\PushpHans\flutter\bin\cache\dart-sdk\bin\dart.exe terminated! 4294967295, null
[1:44:27 PM] [General] [Error] Dart DevTools exited with code 4294967295.
[1:44:27 PM] [Analyzer] [Warn] LSP Client closed (1 recent restarts recorded)
[1:44:27 PM] [Analyzer] [Info] Spawning C:\Users\PushpHans\flutter\bin\cache\dart-sdk\bin\dart.exe with args ["language-server","--protocol=lsp","--client-id=VS-Code","--client-version=3.142.0"]
[1:44:27 PM] [Analyzer] [Info] PID: 17660
[1:44:27 PM] [Analyzer] [Info] ==> Content-Length: 7217
[1:44:27 PM] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":18524,"clientInfo":{"name":"Antigravity IDE","version":"1.107.0"},"locale":"en","rootPath":"c:\Users\PushpHans\Documents\GitHub\poms-mobile-flutter\mobile-flutter","rootUri":"file:///C%3A/Users/PushpHans/Documents/GitHub/poms-mobile-flutter/mobile-flutter","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true},"metadataSupport":true,"snippetEditSupport":true},"configuration":true,"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"val…
[1:44:27 PM] [FlutterDaemon] [Warn] Prompting to reload: (The Flutter Daemon has terminated. Please review the log and file an issue on GitHub.) (actions: Restart Extension, Show Log)
[1:44:27 PM] [FlutterDaemon] [Error] Process C:\Users\PushpHans\flutter\bin\flutter.bat terminated! 4294967295, null
[1:44:27 PM] [Analyzer] [Info] Analysis server exited (4294967295, null)
[1:44:27 PM] [Analyzer] [Warn] Prompting to reload: (The Dart Analyzer has terminated. Please file an issue on GitHub with any error from the end of the log.) (actions: Restart Extension, Show Log)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions