{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/27405","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/27405/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/27405/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/27405/events","html_url":"https://github.com/dart-lang/sdk/issues/27405","id":178235125,"number":27405,"title":"Cannot run Analysis Server benchmark on Flutter code","user":{"login":"scheglov","id":384794,"avatar_url":"https://avatars.githubusercontent.com/u/384794?v=3","gravatar_id":"","url":"https://api.github.com/users/scheglov","html_url":"https://github.com/scheglov","followers_url":"https://api.github.com/users/scheglov/followers","following_url":"https://api.github.com/users/scheglov/following{/other_user}","gists_url":"https://api.github.com/users/scheglov/gists{/gist_id}","starred_url":"https://api.github.com/users/scheglov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheglov/subscriptions","organizations_url":"https://api.github.com/users/scheglov/orgs","repos_url":"https://api.github.com/users/scheglov/repos","events_url":"https://api.github.com/users/scheglov/events{/privacy}","received_events_url":"https://api.github.com/users/scheglov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-analyzer","name":"area-analyzer","color":"c7def8"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/P1%20high","name":"P1 high","color":"eb6420"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type:%20bug","name":"Type: bug","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"bwilkerson","id":5840555,"avatar_url":"https://avatars.githubusercontent.com/u/5840555?v=3","gravatar_id":"","url":"https://api.github.com/users/bwilkerson","html_url":"https://github.com/bwilkerson","followers_url":"https://api.github.com/users/bwilkerson/followers","following_url":"https://api.github.com/users/bwilkerson/following{/other_user}","gists_url":"https://api.github.com/users/bwilkerson/gists{/gist_id}","starred_url":"https://api.github.com/users/bwilkerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwilkerson/subscriptions","organizations_url":"https://api.github.com/users/bwilkerson/orgs","repos_url":"https://api.github.com/users/bwilkerson/repos","events_url":"https://api.github.com/users/bwilkerson/events{/privacy}","received_events_url":"https://api.github.com/users/bwilkerson/received_events","type":"User","site_admin":false},"assignees":[{"login":"bwilkerson","id":5840555,"avatar_url":"https://avatars.githubusercontent.com/u/5840555?v=3","gravatar_id":"","url":"https://api.github.com/users/bwilkerson","html_url":"https://github.com/bwilkerson","followers_url":"https://api.github.com/users/bwilkerson/followers","following_url":"https://api.github.com/users/bwilkerson/following{/other_user}","gists_url":"https://api.github.com/users/bwilkerson/gists{/gist_id}","starred_url":"https://api.github.com/users/bwilkerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwilkerson/subscriptions","organizations_url":"https://api.github.com/users/bwilkerson/orgs","repos_url":"https://api.github.com/users/bwilkerson/repos","events_url":"https://api.github.com/users/bwilkerson/events{/privacy}","received_events_url":"https://api.github.com/users/bwilkerson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-21T03:16:06Z","updated_at":"2016-09-21T16:24:29Z","closed_at":"2016-09-21T16:24:28Z","body":"Not sure why, but it fails in linter.\r\n\r\n@pq \r\n\r\n```\r\n/Users/scheglov/Applications/dart-sdk/bin/dart --ignore-unrecognized-flags --checked --enable-vm-service:63435 --trace_service_pause_events /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analysis_server/benchmark/perf/benchmark_flutter.dart /Users/scheglov/Source/flutter flutter-memory-initialAnalysis-1\r\nObservatory listening on http://127.0.0.1:63435\r\nUnhandled exception:\r\nTask failed: GenerateLintsTask for source /Users/scheglov/Source/flutter/packages/flutter/lib/src/animation/tween.dart\r\nUnexpected exception while performing GenerateLintsTask for source /Users/scheglov/Source/flutter/packages/flutter/lib/src/animation/tween.dart\r\n#0      AnalysisTask._safelyPerform (package:analyzer/task/model.dart:351:7)\r\n#1      AnalysisTask.perform (package:analyzer/task/model.dart:238:7)\r\n#2      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284:10)\r\n#3      AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:255:11)\r\n#4      AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package:analyzer/src/context/context.dart:1243:27)\r\n#5      _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:212:15)\r\n#6      AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1241:50)\r\n#7      PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:355:37)\r\n#8      AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:893:17)\r\n#9      Future.Future.<anonymous closure> (dart:async/future.dart:118)\r\n#10     _rootRun (dart:async/zone.dart:1146)\r\n#11     _CustomZone.run (dart:async/zone.dart:1026)\r\n#12     _CustomZone.runGuarded (dart:async/zone.dart:924)\r\n#13     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)\r\n#14     _rootRun (dart:async/zone.dart:1150)\r\n#15     _CustomZone.run (dart:async/zone.dart:1026)\r\n#16     _CustomZone.runGuarded (dart:async/zone.dart:924)\r\n#17     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)\r\n#18     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:16)\r\n#19     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)\r\n#20     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)\r\n#21     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)\r\n\r\nCaused by type 'TypeParameterElementImpl' is not a subtype of type 'ClassElement' of 'element' where\r\n  TypeParameterElementImpl is from package:analyzer/src/dart/element/element.dart\r\n  ClassElement is from package:analyzer/dart/element/element.dart\r\n\r\n#0      DartTypeUtilities.implementsInterface (package:linter/src/util/dart_type_utilities.dart:42:33)\r\n#1      _isSubscription (package:linter/src/rules/cancel_subscriptions.dart:60:58)\r\n#2      _buildVariableReporter.<anonymous closure>.<anonymous closure> (package:linter/src/util/leak_detector_visitor.dart:36:42)\r\n#3      Iterable.any (dart:core/iterable.dart:337)\r\n#4      _buildVariableReporter.<anonymous closure> (package:linter/src/util/leak_detector_visitor.dart:36:12)\r\n#5      Object&ListMixin.forEach (dart:collection/list.dart:63)\r\n#6      LeakDetectorVisitor.visitFieldDeclaration (package:linter/src/util/leak_detector_visitor.dart:151:27)\r\n#7      DelegatingAstVisitor.visitFieldDeclaration.<anonymous closure> (package:analyzer/dart/ast/visitor.dart:396:47)\r\n#8      List.forEach (dart:core-patch/growable_array.dart:258)\r\n#9      DelegatingAstVisitor.visitFieldDeclaration (package:analyzer/dart/ast/visitor.dart:396:16)\r\n#10     FieldDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:4301:15)\r\n#11     NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7728:20)\r\n#12     ClassDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1916:13)\r\n#13     DelegatingAstVisitor.visitClassDeclaration (package:analyzer/dart/ast/visitor.dart:224:10)\r\n#14     ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1848:15)\r\n#15     NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7728:20)\r\n#16     CompilationUnitImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:2447:21)\r\n#17     DelegatingAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:252:10)\r\n#18     CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2440:15)\r\n#19     GenerateLintsTask.internalPerform (package:analyzer/src/task/dart.dart:3274:10)\r\n#20     AnalysisTask._safelyPerform (package:analyzer/task/model.dart:339:9)\r\n#21     AnalysisTask.perform (package:analyzer/task/model.dart:238:7)\r\n#22     AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284:10)\r\n#23     AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:255:11)\r\n#24     AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package:analyzer/src/context/context.dart:1243:27)\r\n#25     _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:212:15)\r\n#26     AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1241:50)\r\n#27     PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:355:37)\r\n#28     AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:893:17)\r\n#29     Future.Future.<anonymous closure> (dart:async/future.dart:118)\r\n#30     _rootRun (dart:async/zone.dart:1146)\r\n#31     _CustomZone.run (dart:async/zone.dart:1026)\r\n#32     _CustomZone.runGuarded (dart:async/zone.dart:924)\r\n#33     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)\r\n#34     _rootRun (dart:async/zone.dart:1150)\r\n#35     _CustomZone.run (dart:async/zone.dart:1026)\r\n#36     _CustomZone.runGuarded (dart:async/zone.dart:924)\r\n#37     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)\r\n#38     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:16)\r\n#39     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)\r\n#40     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)\r\n#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)\r\n\r\n\r\n#0      DefaultFailureHandler.fail (package:unittest/src/matcher/expect.dart:117:5)\r\n#1      fail (package:unittest/src/matcher/expect.dart:103:18)\r\n#2      AnalysisServerMemoryUsageTest.setUp.<anonymous closure> (file:///Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analysis_server/benchmark/perf/memory_tests.dart:64:7)\r\n#3      _RootZone.runUnaryGuarded (dart:async/zone.dart:1338)\r\n#4      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)\r\n#5      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:268)\r\n#6      _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:386)\r\n#7      _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:261)\r\n#8      _AsBroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:488)\r\n#9      _RootZone.runUnaryGuarded (dart:async/zone.dart:1338)\r\n#10     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)\r\n#11     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:268)\r\n#12     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:768)\r\n#13     _StreamController._add (dart:async/stream_controller.dart:635)\r\n#14     _StreamController.add (dart:async/stream_controller.dart:581)\r\n#15     IntegrationTestMixin.dispatchNotification (file:///Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analysis_server/test/integration/integration_test_methods.dart:1682:24)\r\n#16     Server.listenToOutput.<anonymous closure> (file:///Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analysis_server/test/integration/integration_tests.dart:555:30)\r\n#17     _RootZone.runUnaryGuarded (dart:async/zone.dart:1338)\r\n#18     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)\r\n#19     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:268)\r\n#20     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:67)\r\n#21     _EventSinkWrapper.add (dart:async/stream_transformers.dart:14)\r\n#22     _StringAdapterSink.add (dart:convert/string_conversion.dart:256)\r\n#23     _LineSplitterSink._addLines (dart:convert/line_splitter.dart:158)\r\n#24     _LineSplitterSink.addSlice (dart:convert/line_splitter.dart:133)\r\n#25     StringConversionSinkMixin.add (dart:convert/string_conversion.dart:180)\r\n#26     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:119)\r\n#27     _RootZone.runUnaryGuarded (dart:async/zone.dart:1338)\r\n#28     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)\r\n#29     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:268)\r\n#30     _SinkTransformerStreamSubscription._add (dart:async/stream_transformers.dart:67)\r\n#31     _EventSinkWrapper.add (dart:async/stream_transformers.dart:14)\r\n#32     _StringAdapterSink.add (dart:convert/string_conversion.dart:256)\r\n#33     _StringAdapterSink.addSlice (dart:convert/string_conversion.dart:260)\r\n#34     _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:336)\r\n#35     _Utf8ConversionSink.add (dart:convert/string_conversion.dart:329)\r\n#36     _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:92)\r\n#37     _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:119)\r\n#38     _RootZone.runUnaryGuarded (dart:async/zone.dart:1338)\r\n#39     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)\r\n#40     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:268)\r\n#41     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:768)\r\n#42     _StreamController._add (dart:async/stream_controller.dart:635)\r\n#43     _StreamController.add (dart:async/stream_controller.dart:581)\r\n#44     _Socket._onData (dart:io-patch/socket_patch.dart:1666)\r\n#45     _RootZone.runUnaryGuarded (dart:async/zone.dart:1338)\r\n#46     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)\r\n#47     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:268)\r\n#48     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:768)\r\n#49     _StreamController._add (dart:async/stream_controller.dart:635)\r\n#50     _StreamController.add (dart:async/stream_controller.dart:581)\r\n#51     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1233)\r\n#52     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:766)\r\n#53     _microtaskLoop (dart:async/schedule_microtask.dart:41)\r\n#54     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)\r\n#55     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)\r\n#56     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)\r\n\r\nProcess finished with exit code 255\r\n```"}}
{"actor":{"display_login":"bwilkerson"}}