dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.2k stars 1.57k forks source link

Analysis server terminates with `export` after `part` #56899

Open MariosKoni opened 1 day ago

MariosKoni commented 1 day ago

My analyzer keeps getting terminated. It used to do that sometimes but it usually restarts itself and everything's fine. However, today, some hours into the shift, it started getting terminated and after five times it remained shut down. This means I can't continue my work properly. I tried this fix, seems the issue seemed the same but it didn't work. I have also tried removing everything related to dart in user folder, no luck there either. The log is the following:

[4:46:48 μ.μ.] [FlutterDaemon] [Info] <== [{"id":"30","result":{"platforms":[],"platformTypes":{"web":{"isSupported":false,"reasons":[{"reasonText":"the Web platform is not enabled for this project","fixText":"Run \"flutter create --platforms=web .\" in your application directory","fixCode":"create"}]},"android":{"isSupported":false,"reasons":[{"reasonText":"the Android platform is not enabled for this project","fixText":"Run \"flutter create --platforms=android .\" in your application directory","fixCode":"create"}]},"ios":{"isSupp…
[4:46:48 μ.μ.] [FlutterDaemon] [Info] <== [{"id":"31","result":{"platforms":[],"platformTypes":{"web":{"isSupported":false,"reasons":[{"reasonText":"the Web platform is not enabled for this project","fixText":"Run \"flutter create --platforms=web .\" in your application directory","fixCode":"create"}]},"android":{"isSupported":false,"reasons":[{"reasonText":"the Android platform is not enabled for this project","fixText":"Run \"flutter create --platforms=android .\" in your application directory","fixCode":"create"}]},"ios":{"isSupp…
[4:46:48 μ.μ.] [General] [Info] Supported platforms for the workspace are android, ios
[4:46:48 μ.μ.] [FlutterDaemon] [Info] <== [{"event":"device.added","params":{"id":"macos","name":"macOS","platform":"darwin","emulator":false,"category":"desktop","platformType":"macos","ephemeral":false,"emulatorId":null,"sdk":"macOS 15.0.1 24A348 darwin-arm64","capabilities":{"hotReload":true,"hotRestart":true,"screenshot":false,"fastStart":false,"flutterExit":true,"hardwareRendering":true,"startPaused":true}}}]
[4:46:48 μ.μ.] [General] [Info] Returning cached promise for getSupportedPlatforms()
[4:46:48 μ.μ.] [General] [Info] Returning cached promise for getSupportedPlatforms()
[4:46:48 μ.μ.] [FlutterDaemon] [Info] <== [{"id":"2","result":[{"id":"apple_ios_simulator","name":"iOS Simulator","category":"mobile","platformType":"ios"},{"id":"Pixel_8_API_35","name":"Pixel 8 API 35","category":"mobile","platformType":"android"}]}]
[4:46:48 μ.μ.] [General] [Info] Returning cached promise for getSupportedPlatforms()
[4:46:48 μ.μ.] [FlutterDaemon] [Info] <== [{"event":"device.added","params":{"id":"chrome","name":"Chrome","platform":"web-javascript","emulator":false,"category":"web","platformType":"web","ephemeral":false,"emulatorId":null,"sdk":"Google Chrome 129.0.6668.100","capabilities":{"hotReload":true,"hotRestart":true,"screenshot":false,"fastStart":false,"flutterExit":false,"hardwareRendering":true,"startPaused":true}}}]
[4:46:48 μ.μ.] [General] [Info] Returning cached promise for getSupportedPlatforms()
[4:46:48 μ.μ.] [General] [Info] Returning cached promise for getSupportedPlatforms()
[4:46:51 μ.μ.] [General] [Info] Returning cached results for project search
[4:46:51 μ.μ.] [General] [Info] Returning cached results for project search
[4:46:53 μ.μ.] [Analyzer] [Info] <== Content-Length: 97
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:46:53 μ.μ.] [Analyzer] [Info] <== {"id":4,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"ANALYZING"}}
[4:46:53 μ.μ.] [Analyzer] [Info] ==> Content-Length: 72
[4:46:53 μ.μ.] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":4,"result":null,"clientRequestTime":1729000013143}
[4:46:53 μ.μ.] [Analyzer] [Info] <== Content-Length: 1544
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:46:53 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"undefined_class","codeDescription":{"href":"https://dart.dev/diagnostics/undefined_class"},"message":"Undefined class 'UserRepository'.\nTry changing the name to the name of an existing class, or creating a class with the name 'UserRepository'.","range":{"end":{"character":38,"line":2},"start":{"character":24,"line":2}},"severity":1,"source":"dart"},{"code":"mixin_super_class_constraint_non_interfac…
[4:46:53 μ.μ.] [Analyzer] [Info] <== Content-Length: 197
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:46:53 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"dart/textDocument/publishClosingLabels","params":{"labels":[],"uri":"file:///Users/marios/flutter_app/packages/user_repository/lib/src/use_cases/user_bio_use_case.dart"}}
[4:46:53 μ.μ.] [Analyzer] [Info] <== Content-Length: 1460
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"dart/textDocument/publishOutline","params":{"outline":{"children":[{"children":[{"codeRange":{"end":{"character":67,"line":3},"start":{"character":2,"line":3}},"element":{"kind":"METHOD","name":"updateBio","parameters":"(String? bio)","range":{"end":{"character":24,"line":3},"start":{"character":15,"line":3}},"returnType":"Future<void>"},"range":{"end":{"character":67,"line":3},"start"…
[4:46:53 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"dart/textDocument/publishFlutterOutline","params":{"outline":{"children":[{"children":[{"codeRange":{"end":{"character":67,"line":3},"start":{"character":2,"line":3}},"dartElement":{"kind":"METHOD","name":"updateBio","parameters":"(String? bio)","range":{"end":{"character":24,"line":3},"start":{"character":15,"line":3}},"returnType":"Future<void>"},"kind":"DART_ELEMENT","range":{"end":{"character":67,"line":3},"start":{"character":2,"line":3}}},{"codeRange":{"end":…
[4:46:53 μ.μ.] [Analyzer] [Info] <== Content-Length: 118
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:46:53 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"$/progress","params":{"token":"ANALYZING","value":{"kind":"begin","title":"Analyzing…"}}}
[4:47:07 μ.μ.] [General] [Info] Returning cached results for project search
[4:47:07 μ.μ.] [DevTools] [Info] ==> {"id":"1","method":"vscode.extensions.discover","params":{"rootPaths":["/Users/marios/flutter_app","/Users/marios/flutter_app/packages/adyen","/Users/marios/flutter_app/packages/chat_repository","/Users/marios/flutter_app/packages/downloader","/Users/marios/flutter_app/packages/facebook_deeplinks","/Users/marios/flutter_app/packages/feedback_repository","/Users/marios/flutter_app/packages/find_ad_repository","/Users/marios/flutter_app/packages/google_places_client","/Users/marios/flutter_app…
[4:47:07 μ.μ.] [DevTools] [Info] <== {"id":"1","result":{"/Users/marios/flutter_app":{"extensions":[],"parseErrors":[]},"/Users/marios/flutter_app/packages/adyen":{"extensions":[],"parseErrors":[]},"/Users/marios/flutter_app/packages/chat_repository":{"extensions":[],"parseErrors":[]},"/Users/marios/flutter_app/packages/downloader":{"extensions":[],"parseErrors":[]},"/Users/marios/flutter_app/packages/facebook_deeplinks":{"extensions":[],"parseErrors":[]},"/Users/marios/flutter_app/packages/feedback_repository":{"extensions":[]…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 737
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(marios): Delete this getter along with","range":{"end":{"character":48,"line":147},"start":{"character":5,"line":147}},"severity":3,"source":"dart"},{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports …
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 835
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"directives_ordering","codeDescription":{"href":"https://dart.dev/lints/directives_ordering"},"message":"Place 'package:' imports before relative imports.\nTry sorting the directives.","range":{"end":{"character":52,"line":7},"start":{"character":0,"line":7}},"severity":3,"source":"dart"},{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"mess…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 1124
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"avoid_dynamic_calls","codeDescription":{"href":"https://dart.dev/lints/avoid_dynamic_calls"},"message":"Method invocation or property access on a 'dynamic' target.\nTry giving the target a type.","range":{"end":{"character":54,"line":72},"start":{"character":41,"line":72}},"severity":3,"source":"dart"},{"code":"avoid_dynamic_calls","codeDescription":{"href":"https://dart.dev/lints/avoid_dynamic_call…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 505
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":133,"line":293},"start":{"character":80,"line":293}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/core/data/models/dynamic_attribut…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 544
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":1},"start":{"character":7,"line":1}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 363
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): Remove this after some months. This is only for user","range":{"end":{"character":78,"line":15},"start":{"character":11,"line":15}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/core/data/models/place.dart"}}
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 538
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":2},"start":{"character":7,"line":2}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 457
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_lambdas","codeDescription":{"href":"https://dart.dev/lints/unnecessary_lambdas"},"message":"Closure should be a tearoff.\nTry using a tearoff rather than a closure.","range":{"end":{"character":72,"line":35},"start":{"character":35,"line":35}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/core/data/models/listing.dart"}}
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 569
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(marios): Remove when the new SYI will be the default one","range":{"end":{"character":70,"line":34},"start":{"character":9,"line":34}},"severity":3,"source":"dart"},{"code":"todo","message":"TODO(marios): Remove once we deprecate the default OS image picker","range":{"end":{"character":75,"line":36},"start":{"character":9,"line":36}},"severity":3,"source":"dart"}],"uri":"file:/…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 540
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":2},"start":{"character":7,"line":2}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 549
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":3},"start":{"character":7,"line":3}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 555
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":0},"start":{"character":7,"line":0}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 1514
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"no_leading_underscores_for_local_identifiers","codeDescription":{"href":"https://dart.dev/lints/no_leading_underscores_for_local_identifiers"},"message":"The local variable '_min' starts with an underscore.\nTry renaming the variable to not start with an underscore.","range":{"end":{"character":12,"line":491},"start":{"character":8,"line":491}},"severity":3,"source":"dart"},{"code":"prefer_final_loc…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 482
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"avoid_dynamic_calls","codeDescription":{"href":"https://dart.dev/lints/avoid_dynamic_calls"},"message":"Method invocation or property access on a 'dynamic' target.\nTry giving the target a type.","range":{"end":{"character":60,"line":103},"start":{"character":44,"line":103}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/core/data/models/sell_product.dart"}}
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 1170
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO: Deprecate after old search flow is gone","range":{"end":{"character":50,"line":702},"start":{"character":5,"line":702}},"severity":3,"source":"dart"},{"code":"todo","message":"TODO: Deprecate after old search flow is gone","range":{"end":{"character":50,"line":758},"start":{"character":5,"line":758}},"severity":3,"source":"dart"},{"code":"flutter_style_todos","codeDescription"…
[4:47:09 μ.μ.] [Analyzer] [Info] <== Content-Length: 1143
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:09 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":87,"line":34},"start":{"character":80,"line":34}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/…
[4:47:10 μ.μ.] [Analyzer] [Info] <== Content-Length: 988
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:10 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"no_leading_underscores_for_local_identifiers","codeDescription":{"href":"https://dart.dev/lints/no_leading_underscores_for_local_identifiers"},"message":"The local variable '_selectedCategory' starts with an underscore.\nTry renaming the variable to not start with an underscore.","range":{"end":{"character":27,"line":107},"start":{"character":10,"line":107}},"severity":3,"source":"dart"},{"code":"no…
[4:47:10 μ.μ.] [Analyzer] [Info] <== Content-Length: 1049
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:10 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(marios): Uncomment this when ready (another iteration)","range":{"end":{"character":82,"line":210},"start":{"character":23,"line":210}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple …
[4:47:10 μ.μ.] [Analyzer] [Info] <== Content-Length: 362
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:10 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(marios): Refactor this to be more simple","range":{"end":{"character":48,"line":5},"start":{"character":3,"line":5}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/sell/syi/listeners/on_image_added_listener.dart"}}
[4:47:10 μ.μ.] [Analyzer] [Info] <== Content-Length: 534
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:10 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":82,"line":426},"start":{"character":80,"line":426}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/chat/transportation_request/vi…
[4:47:10 μ.μ.] [Analyzer] [Info] <== Content-Length: 1768
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:10 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":4},"start":{"character":7,"line":4}},"severity":1,"source":"dart"},{"…
[4:47:10 μ.μ.] [Analyzer] [Info] <== Content-Length: 2261
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:10 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":61,"line":5},"start":{"character":7,"line":5}},"severity":1,"source":"dart"},{"code":"u…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 1439
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":3},"start":{"character":7,"line":3}},"severity":1,"source":"dart"},{"…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 4361
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":4},"start":{"character":7,"line":4}},"severity":1,"source":"dart"},{"…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 1778
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":4},"start":{"character":7,"line":4}},"severity":1,"source":"dart"},{"…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 381
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(marios): Probably convert it to a bottom sheet","range":{"end":{"character":68,"line":97},"start":{"character":17,"line":97}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/discovery/product_page/views/widgets/favorite_button.dart"}}
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 1446
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":6},"start":{"character":7,"line":6}},"severity":1,"source":"dart"},{"…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 554
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":94,"line":60},"start":{"character":80,"line":60}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/discovery/discounts/views/widget…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 557
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":94,"line":62},"start":{"character":80,"line":62}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/discovery/discounts/views/widget…
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":84,"line":57},"start":{"character":80,"line":57}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/discovery/discounts/views/widget…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 984
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"no_leading_underscores_for_local_identifiers","codeDescription":{"href":"https://dart.dev/lints/no_leading_underscores_for_local_identifiers"},"message":"The local variable '_min' starts with an underscore.\nTry renaming the variable to not start with an underscore.","range":{"end":{"character":14,"line":34},"start":{"character":10,"line":34}},"severity":3,"source":"dart"},{"code":"no_leading_unders…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 1424
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":3},"start":{"character":7,"line":3}},"severity":1,"source":"dart"},{"…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 2374
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":5},"start":{"character":7,"line":5}},"severity":1,"source":"dart"},{"…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 1436
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":2},"start":{"character":7,"line":2}},"severity":1,"source":"dart"},{"…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 1180
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":88,"line":175},"start":{"character":80,"line":175}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.de…
[4:47:11 μ.μ.] [Analyzer] [Info] <== Content-Length: 475
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:11 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_null_checks","codeDescription":{"href":"https://dart.dev/lints/unnecessary_null_checks"},"message":"Unnecessary use of a null check ('!').\nTry removing the null check.","range":{"end":{"character":77,"line":133},"start":{"character":76,"line":133}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/user/password_page/password_page.dart"}}
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 1421
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":5},"start":{"character":7,"line":5}},"severity":1,"source":"dart"},{"…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 2199
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":21},"start":{"character":7,"line":21}},"severity":1,"source":"dart"},…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 357
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): revisit this","range":{"end":{"character":32,"line":59},"start":{"character":5,"line":59}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/escrow/order/buyer_timeline/shipment_approval/pending.dart"}}
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 676
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): revisit this","range":{"end":{"character":32,"line":66},"start":{"character":5,"line":66}},"severity":3,"source":"dart"},{"code":"comment_references","codeDescription":{"href":"https://dart.dev/lints/comment_references"},"message":"The referenced name isn't visible in scope.\nTry adding an import for the referenced name.","range":{"end":{"character":31,"line":67},"sta…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 515
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":84,"line":28},"start":{"character":80,"line":28}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/escrow/order/buyer_timeline/ship…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 518
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":85,"line":192},"start":{"character":80,"line":192}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/escrow/order/buyer_timeline/sh…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 853
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":82,"line":118},"start":{"character":80,"line":118}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.de…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 835
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":85,"line":90},"start":{"character":80,"line":90}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 690
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): revisit this","range":{"end":{"character":32,"line":46},"start":{"character":5,"line":46}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character"…
[4:47:12 μ.μ.] [Analyzer] [Info] <== Content-Length: 366
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:12 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): revisit this","range":{"end":{"character":32,"line":44},"start":{"character":5,"line":44}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/escrow/order/seller_timeline/payment/payment_release_scheduled.dart"}}
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 846
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":96,"line":31},"start":{"character":80,"line":31}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 1519
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":88,"line":92},"start":{"character":80,"line":92}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 2512
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":86,"line":195},"start":{"character":80,"line":195}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.de…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 531
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":116,"line":200},"start":{"character":80,"line":200}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/escrow/request_payment/views/…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 518
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":95,"line":45},"start":{"character":80,"line":45}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/escrow/perform_payment/widgets/p…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 516
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":99,"line":104},"start":{"character":80,"line":104}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/escrow/buy_it_now/widgets/ship…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 576
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"library_private_types_in_public_api","codeDescription":{"href":"https://dart.dev/lints/library_private_types_in_public_api"},"message":"Invalid use of a private type in a public API.\nTry making the private type public, or making the API that uses the private type also be private.","range":{"end":{"character":18,"line":8},"start":{"character":2,"line":8}},"severity":3,"source":"dart"}],"uri":"file:/…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 2374
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): We should handle in other way","range":{"end":{"character":51,"line":73},"start":{"character":7,"line":73}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 521
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":99,"line":81},"start":{"character":80,"line":81}},"severity":3,"source":"dart"}],…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 601
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"library_private_types_in_public_api","codeDescription":{"href":"https://dart.dev/lints/library_private_types_in_public_api"},"message":"Invalid use of a private type in a public API.\nTry making the private type public, or making the API that uses the private type also be private.","range":{"end":{"character":29,"line":42},"start":{"character":2,"line":42}},"severity":3,"source":"dart"}],"uri":"file…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 1543
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":82,"line":307},"start":{"character":80,"line":307}},"severity":3,"source":"dart"},{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.de…
[4:47:13 μ.μ.] [Analyzer] [Info] <== Content-Length: 1829
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:13 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"uri_does_not_exist","codeDescription":{"href":"https://dart.dev/diagnostics/uri_does_not_exist"},"message":"Target of URI doesn't exist: 'package:user_actions_repository/user_actions_repository.dart'.\nTry creating the file referenced by the URI, or try using a URI for a file that does exist.","range":{"end":{"character":69,"line":4},"start":{"character":7,"line":4}},"severity":1,"source":"dart"},{"…
[4:47:14 μ.μ.] [Analyzer] [Info] <== Content-Length: 522
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:14 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":94,"line":326},"start":{"character":80,"line":326}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/boosts/boosted_ads/views/boost…
[4:47:14 μ.μ.] [Analyzer] [Info] <== Content-Length: 391
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:14 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): Remove in the next release after BOOYA 2.0 release.","range":{"end":{"character":71,"line":9},"start":{"character":5,"line":9}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/boosts/boosted_ads_payment/constants/package_types.dart"}}
[4:47:14 μ.μ.] [Analyzer] [Info] <== Content-Length: 396
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:14 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): Remove in the next release after BOOYA 2.0 release.","range":{"end":{"character":75,"line":52},"start":{"character":9,"line":52}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/lib/app/boosts/boosted_ads_payment/views/steps/order_overview.dart"}}
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 660
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"deprecated_member_use","codeDescription":{"href":"https://dart.dev/diagnostics/deprecated_member_use"},"message":"'setExtra' is deprecated and shouldn't be used. Use Contexts instead. Additional data is deprecated in favor of structured Contexts and should be avoided when possible.\nTry replacing the use of the deprecated member with the replacement.","range":{"end":{"character":54,"line":42},"start…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 1264
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"require_trailing_commas","codeDescription":{"href":"https://dart.dev/lints/require_trailing_commas"},"message":"Missing a required trailing comma.","range":{"end":{"character":30,"line":9},"start":{"character":29,"line":9}},"severity":3,"source":"dart"},{"code":"require_trailing_commas","codeDescription":{"href":"https://dart.dev/lints/require_trailing_commas"},"message":"Missing a required trailing…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 3862
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unused_element","codeDescription":{"href":"https://dart.dev/diagnostics/unused_element"},"message":"The declaration '_$FileTokenDTOToJson' isn't referenced.\nTry removing the declaration of '_$FileTokenDTOToJson'.","range":{"end":{"character":41,"line":49},"start":{"character":21,"line":49}},"severity":3,"source":"dart"},{"code":"require_trailing_commas","codeDescription":{"href":"https://dart.dev/l…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 1316
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"avoid_positional_boolean_parameters","codeDescription":{"href":"https://dart.dev/lints/avoid_positional_boolean_parameters"},"message":"'bool' parameters should be named parameters.\nTry converting the parameter to a named parameter.","range":{"end":{"character":17,"line":8},"start":{"character":4,"line":8}},"severity":3,"source":"dart"},{"code":"no_leading_underscores_for_local_identifiers","codeDe…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 1248
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"require_trailing_commas","codeDescription":{"href":"https://dart.dev/lints/require_trailing_commas"},"message":"Missing a required trailing comma.","range":{"end":{"character":30,"line":9},"start":{"character":29,"line":9}},"severity":3,"source":"dart"},{"code":"require_trailing_commas","codeDescription":{"href":"https://dart.dev/lints/require_trailing_commas"},"message":"Missing a required trailing…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 378
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): Remove this after some months. This is only for user","range":{"end":{"character":78,"line":11},"start":{"character":11,"line":11}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/packages/vendora_api/lib/src/models/place.dart"}}
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 469
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"require_trailing_commas","codeDescription":{"href":"https://dart.dev/lints/require_trailing_commas"},"message":"Missing a required trailing comma.","range":{"end":{"character":38,"line":14},"start":{"character":37,"line":14}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/packages/vendora_api/lib/src/models/transportation_request_create_form.dart"}}
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 560
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"depend_on_referenced_packages","codeDescription":{"href":"https://dart.dev/lints/depend_on_referenced_packages"},"message":"The imported package 'flutter' isn't a dependency of the importing package.\nTry adding a dependency for 'flutter' in the 'pubspec.yaml' file.","range":{"end":{"character":38,"line":0},"start":{"cha…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 472
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_lambdas","codeDescription":{"href":"https://dart.dev/lints/unnecessary_lambdas"},"message":"Closure should be a tearoff.\nTry using a tearoff rather than a closure.","range":{"end":{"character":78,"line":33},"start":{"character":38,"line":33}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/packages/vendora_api/lib/src/models/listing.dart"}}
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 538
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"avoid_positional_boolean_parameters","codeDescription":{"href":"https://dart.dev/lints/avoid_positional_boolean_parameters"},"message":"'bool' parameters should be named parameters.\nTry converting the parameter to a named parameter.","range":{"end":{"character":16,"line":7},"start":{"character":4,"line":7}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/packages/vendora_api/…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 388
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"todo","message":"TODO(aggelos): Remove this after some months. This is only for user","range":{"end":{"character":78,"line":14},"start":{"character":11,"line":14}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/packages/vendora_api/lib/src/models/places_location.dart"}}
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 488
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_lambdas","codeDescription":{"href":"https://dart.dev/lints/unnecessary_lambdas"},"message":"Closure should be a tearoff.\nTry using a tearoff rather than a closure.","range":{"end":{"character":51,"line":12},"start":{"character":15,"line":12}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/packages/vendora_api/lib/src/models/category_filters_result.dart"}}
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 924
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"avoid_positional_boolean_parameters","codeDescription":{"href":"https://dart.dev/lints/avoid_positional_boolean_parameters"},"message":"'bool' parameters should be named parameters.\nTry converting the parameter to a named parameter.","range":{"end":{"character":17,"line":15},"start":{"character":4,"line":15}},"severity"…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 587
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"unnecessary_import","codeDescription":{"href":"https://dart.dev/diagnostics/unnecessary_import"},"message":"The import of '../models/models.dart' is unnecessary because all of the used elements are also provided by the import of '../../vendora_api.dart'.\nTry removing the import directive.","range":{"end":{"character":30,"line":5},"start":{"character":7,"line":5}},"severity":3,"source":"dart"}],"uri…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 562
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:16 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":2},"start":{"character":7,"line":2}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:16 μ.μ.] [Analyzer] [Info] <== Content-Length: 568
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":0},"start":{"character"…
[4:47:17 μ.μ.] [Analyzer] [Info] <== Content-Length: 567
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:17 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":9},"start":{"character":7,"line":9}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:17 μ.μ.] [Analyzer] [Info] <== Content-Length: 558
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:17 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"message":"Import of a library in the 'lib/src' directory of another package.\nTry importing a public library that exports this library, or removing the import.","range":{"end":{"character":51,"line":4},"start":{"character":7,"line":4}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter…
[4:47:18 μ.μ.] [Analyzer] [Info] <== Content-Length: 1552
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:18 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"undefined_class","codeDescription":{"href":"https://dart.dev/diagnostics/undefined_class"},"message":"Undefined class 'UserRepository'.\nTry changing the name to the name of an existing class, or creating a class with the name 'UserRepository'.","range":{"end":{"character":41,"line":2},"start":{"character":27,"line":2}},"severity":1,"source":"dart"},{"code":"mixin_super_class_constraint_non_interfac…
[4:47:19 μ.μ.] [Analyzer] [Info] <== Content-Length: 912
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:19 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"constant_identifier_names","codeDescription":{"href":"https://dart.dev/lints/constant_identifier_names"},"message":"The constant name 'excl_mark_1' isn't a lowerCamelCase identifier.\nTry changing the name to follow the lowerCamelCase style.","range":{"end":{"character":35,"line":373},"start":{"character":24,"line":373}},"severity":3,"source":"dart"},{"code":"constant_identifier_names","codeDescript…
[4:47:19 μ.μ.] [Analyzer] [Info] <== Content-Length: 522
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:19 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"lines_longer_than_80_chars","codeDescription":{"href":"https://dart.dev/lints/lines_longer_than_80_chars"},"message":"The line length exceeds the 80-character limit.\nTry breaking the line across multiple lines.","range":{"end":{"character":94,"line":94},"start":{"character":80,"line":94}},"severity":3,"source":"dart"}],"uri":"file:///Users/marios/flutter_app/packages/vendora_ui/lib/src/widgets/deco…
[4:47:19 μ.μ.] [Analyzer] [Info] <== Content-Length: 93
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:19 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"$/progress","params":{"token":"ANALYZING","value":{"kind":"end"}}}
[4:47:19 μ.μ.] [Analyzer] [Info] <== Content-Length: 97
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:19 μ.μ.] [Analyzer] [Info] <== {"id":5,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"ANALYZING"}}Content-Length: 835
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:19 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"directives_ordering","codeDescription":{"href":"https://dart.dev/lints/directives_ordering"},"message":"Place 'package:' imports before relative imports.\nTry sorting the directives.","range":{"end":{"character":52,"line":7},"start":{"character":0,"line":7}},"severity":3,"source":"dart"},{"code":"implementation_imports","codeDescription":{"href":"https://dart.dev/lints/implementation_imports"},"mess…
[4:47:19 μ.μ.] [Analyzer] [Info] ==> Content-Length: 72
[4:47:19 μ.μ.] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":5,"result":null,"clientRequestTime":1729000039713}
[4:47:19 μ.μ.] [Analyzer] [Info] <== Content-Length: 118
Content-Type: application/vscode-jsonrpc; charset=utf-8
[4:47:19 μ.μ.] [Analyzer] [Info] <== {"jsonrpc":"2.0","method":"$/progress","params":{"token":"ANALYZING","value":{"kind":"begin","title":"Analyzing…"}}}Content-Length: 93
Content-Type: application/vscode-jsonrpc; charset=utf-8

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"ANALYZING","value":{"kind":"end"}}}
[4:47:19 μ.μ.] [Analyzer] [Error] Unhandled exception:
Null check operator used on a null value
#0      MetadataResolver.visitExportDirective (package:analyzer/src/summary2/metadata_resolver.dart:110:17)
#1      ExportDirectiveImpl.accept (package:analyzer/src/dart/ast/ast.dart:6027:50)
#2      NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:13022:20)
#3      MetadataResolver.visitCompilationUnit (package:analyzer/src/summary2/metadata_resolver.dart:70:21)
#4      CompilationUnitImpl.accept (package:analyzer/src/dart…
[4:47:19 μ.μ.] [Analyzer] [Info] Spawning /Users/marios/Downloads/flutter/bin/cache/dart-sdk/bin/dart with args ["language-server","--protocol=lsp","--client-id=VS-Code","--client-version=3.98.1"]
[4:47:19 μ.μ.] [Analyzer] [Info]     PID: 4279
[4:47:19 μ.μ.] [Analyzer] [Info] ==> Content-Length: 6461
[4:47:19 μ.μ.] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":4121,"clientInfo":{"name":"Visual Studio Code","version":"1.94.2"},"locale":"en","rootPath":"/Users/marios/flutter_app","rootUri":"file:///Users/marios/flutter_app","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"confi… 

My Flutter doctor is the following:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 15.0.1 24A348 darwin-arm64, locale
    el-GR)
[✓] Android toolchain - develop for Android devices (Android SDK version
    35.0.0-rc3)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.94.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

My vs code dart exception version is 3.98.1

dart-github-bot commented 1 day ago

Summary: The user's Dart analyzer keeps terminating, preventing them from working. They've tried restarting the analyzer and removing Dart-related files from their user folder, but the issue persists. The analyzer logs show that it's receiving and processing requests, but then abruptly stops.

bwilkerson commented 1 day ago

@DanTup

MariosKoni commented 1 day ago

Found the solution, not a bug of the analyzer but a wrong import from me, most probably caused a recursive import and it overflowed the analyzer. I was importing a barrel file while declaring the file as a part.

DanTup commented 1 day ago

(Edit: I posted this before I saw your reply.. see reply below)

@MariosKoni are you able to share any code/project that triggers this? This same error came up in https://github.com/dart-lang/sdk/issues/54099 when pasting TypeScript into a Dart file, but could not be reproduced.

The error suggests something may be wrong with an export directive, but I haven't been able to trigger it with any kind of invalid code I could come up with. Could you review where you use export and see if there's anything unusual that could be causing this? Thanks!

DanTup commented 1 day ago

@MariosKoni do you know the code that triggered this? Even if your code is invalid, we should prevent the analysis server from terminating. Thanks!

MariosKoni commented 1 day ago

So, firstly I was importing a barrel file from another package import 'package:some_api/some_api.dart'; And after that, I was declaring part '../src/use_cases/use_cases.dart'; (a barrel file exporting all use cases)

What I should have done (and did) was that, I should have declared each part (each use case) for my repository and forget about exporting. It was bad coding from my side.

DanTup commented 23 hours ago

@MariosKoni thank you, I was able to reproduce it like this:

lib/my_app.dart

part 'use_cases.dart';

lib/use_cases.dart

part of 'my_app.dart';

export
[2:50:25 PM] [Analyzer] [Info] <== Content-Length: 97
Content-Type: application/vscode-jsonrpc; charset=utf-8
[2:50:25 PM] [Analyzer] [Error] [Null check operator used on a null value
#0      MetadataResolver.visitExportDirective (package:analyzer/src/summary2/metadata_resolver.dart:108:17)
#1      ExportDirectiveImpl.accept (package:analyzer/src/dart/ast/ast.dart:5789:50)
#2      NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:12583:20)
#3      MetadataResolver.visitCompilationUnit (package:analyzer/src/summary2/metadata_resolver.dart:68:21)
#4      CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:3607:50)
#5      LibraryBuilder.resolveMetadata (package:analyzer/src/summary2/library_builder.dart:733:24)
#6      Linker._resolveMetadata (package:analyzer/src/summary2/link.dart:457:15)
#7      Linker._buildOutlines (package:analyzer/src/summary2/link.dart:272:5)

I'll re-open this, because it's a bug that should be fixed.

DanTup commented 23 hours ago

@scheglov the fix might be as simple as changing the ! to ? here:

https://github.com/dart-lang/sdk/blob/11e1824d7aca613646da7de2f5f04876670eabdb/pkg/analyzer/lib/src/summary2/metadata_resolver.dart#L97-L103

But I'm not familiar with this code so I don't know if not being able to resetMetadataFlags() might impact anything else.