{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/coverage/issues/107","repository_url":"https://api.github.com/repos/dart-lang/coverage","labels_url":"https://api.github.com/repos/dart-lang/coverage/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/coverage/issues/107/comments","events_url":"https://api.github.com/repos/dart-lang/coverage/issues/107/events","html_url":"https://github.com/dart-lang/coverage/issues/107","id":151310174,"number":107,"title":"Needs to be updated to support Dart 1.16 service protocol","user":{"login":"pulyaevskiy","id":441756,"avatar_url":"https://avatars.githubusercontent.com/u/441756?v=3","gravatar_id":"","url":"https://api.github.com/users/pulyaevskiy","html_url":"https://github.com/pulyaevskiy","followers_url":"https://api.github.com/users/pulyaevskiy/followers","following_url":"https://api.github.com/users/pulyaevskiy/following{/other_user}","gists_url":"https://api.github.com/users/pulyaevskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/pulyaevskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulyaevskiy/subscriptions","organizations_url":"https://api.github.com/users/pulyaevskiy/orgs","repos_url":"https://api.github.com/users/pulyaevskiy/repos","events_url":"https://api.github.com/users/pulyaevskiy/events{/privacy}","received_events_url":"https://api.github.com/users/pulyaevskiy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/coverage/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"kevmoo","id":17034,"avatar_url":"https://avatars.githubusercontent.com/u/17034?v=3","gravatar_id":"","url":"https://api.github.com/users/kevmoo","html_url":"https://github.com/kevmoo","followers_url":"https://api.github.com/users/kevmoo/followers","following_url":"https://api.github.com/users/kevmoo/following{/other_user}","gists_url":"https://api.github.com/users/kevmoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevmoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevmoo/subscriptions","organizations_url":"https://api.github.com/users/kevmoo/orgs","repos_url":"https://api.github.com/users/kevmoo/repos","events_url":"https://api.github.com/users/kevmoo/events{/privacy}","received_events_url":"https://api.github.com/users/kevmoo/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2016-04-27T06:38:21Z","updated_at":"2016-06-02T18:38:08Z","closed_at":"2016-06-02T18:38:08Z","body":"I haven't upgraded to 1.16 yet, but Travis builds suddenly started to fail with following error:\r\n\r\n```\r\n$ pub global run coverage:collect_coverage --port=8111 -o coverage.json --resume-isolates\r\nJSON-RPC error -32601 (method not found): Method not found\r\npackage:json_rpc_2/src/client.dart 99            Client.sendRequest\r\npackage:json_rpc_2/src/peer.dart 94              Peer.sendRequest\r\npackage:coverage/src/vm_service_client.dart 198  VMServiceClient.getCoverage.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                       Future.Future.microtask\r\npackage:coverage/src/vm_service_client.dart      VMServiceClient.getCoverage\r\npackage:coverage/src/collect.dart 41             _getAllCoverage.<async>\r\ndart:async                                       _SyncCompleter.complete\r\npackage:vm_service_client/src/isolate.dart 232   VMIsolateRef.load.<async>\r\ndart:async                                       _SyncCompleter.complete\r\npackage:vm_service_client/src/scope.dart 51      Scope.sendRequest.<async>\r\ndart:async                                       _SyncCompleter.complete\r\npackage:json_rpc_2/src/client.dart 178           Client._handleSingleResponse\r\npackage:json_rpc_2/src/client.dart 168           Client._handleResponse\r\ndart:async                                       _StreamController.add\r\npackage:json_rpc_2/src/peer.dart 117             Peer.listen.<fn>\r\n===== asynchronous gap ===========================\r\ndart:async                                       _asyncThenWrapperHelper\r\npackage:coverage/src/collect.dart                _getAllCoverage\r\npackage:coverage/src/collect.dart 26             collect.<async>\r\ndart:async                                       _SyncCompleter.complete\r\npackage:coverage/src/util.dart 39                retry.<async>.<fn>.<async>\r\ndart:async                                       _SyncCompleter.complete\r\npackage:coverage/src/vm_service_client.dart 90   VMServiceClient.connect.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                       _asyncThenWrapperHelper\r\npackage:coverage/src/collect.dart                collect\r\nhttp://localhost:52493/collect_coverage.dart 21  main.<async>.<fn>.<async>\r\n===== asynchronous gap ===========================\r\npackage:stack_trace                              Chain.capture\r\nhttp://localhost:52493/collect_coverage.dart 20  main.<async>\r\n```\r\n\r\nExample of a full build log: https://travis-ci.org/corsac-dart/bootstrap/builds/125995686\r\n\r\ncoverage package is enabled via `pub global activate` and the log shows that some packages are not latest version, e.g.:\r\n\r\n```\r\n$ pub global activate coverage\r\nResolving dependencies... (1.5s) \r\n+ args 0.13.4\r\n+ async 1.10.0\r\n+ collection 1.5.1\r\n+ coverage 0.7.3\r\n+ json_rpc_2 1.2.0 (2.0.1 available)\r\n+ logging 0.11.3\r\n+ path 1.3.9\r\n+ pub_semver 1.2.4\r\n+ source_span 1.2.2\r\n+ stack_trace 1.6.5\r\n+ vm_service_client 0.1.3 (0.2.0 available)\r\n```\r\n\r\nI'm wondering if that's the reason, and if we need an updated version of this package published with latest dependencies?"},"comment":{"url":"https://api.github.com/repos/dart-lang/coverage/issues/comments/223382815","html_url":"https://github.com/dart-lang/coverage/issues/107#issuecomment-223382815","issue_url":"https://api.github.com/repos/dart-lang/coverage/issues/107","id":223382815,"user":{"login":"cbracken","id":351029,"avatar_url":"https://avatars.githubusercontent.com/u/351029?v=3","gravatar_id":"","url":"https://api.github.com/users/cbracken","html_url":"https://github.com/cbracken","followers_url":"https://api.github.com/users/cbracken/followers","following_url":"https://api.github.com/users/cbracken/following{/other_user}","gists_url":"https://api.github.com/users/cbracken/gists{/gist_id}","starred_url":"https://api.github.com/users/cbracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbracken/subscriptions","organizations_url":"https://api.github.com/users/cbracken/orgs","repos_url":"https://api.github.com/users/cbracken/repos","events_url":"https://api.github.com/users/cbracken/events{/privacy}","received_events_url":"https://api.github.com/users/cbracken/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T18:38:08Z","updated_at":"2016-06-02T18:38:08Z","body":"Closed by 521c4e5df41a961cbd4ffdd8b45015b2c2daefdd. Released in [version 0.7.4](https://pub.dartlang.org/packages/coverage)."}}
{"actor":{"display_login":"cbracken"}}