{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/32371","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/32371/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/32371/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/32371/events","html_url":"https://github.com/rust-lang/rust/pull/32371","id":142148400,"number":32371,"title":"Add the rustc version to the ICE message.","user":{"login":"nodakai","id":90726,"avatar_url":"https://avatars.githubusercontent.com/u/90726?v=3","gravatar_id":"","url":"https://api.github.com/users/nodakai","html_url":"https://github.com/nodakai","followers_url":"https://api.github.com/users/nodakai/followers","following_url":"https://api.github.com/users/nodakai/following{/other_user}","gists_url":"https://api.github.com/users/nodakai/gists{/gist_id}","starred_url":"https://api.github.com/users/nodakai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodakai/subscriptions","organizations_url":"https://api.github.com/users/nodakai/orgs","repos_url":"https://api.github.com/users/nodakai/repos","events_url":"https://api.github.com/users/nodakai/events{/privacy}","received_events_url":"https://api.github.com/users/nodakai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Aatch","id":342416,"avatar_url":"https://avatars.githubusercontent.com/u/342416?v=3","gravatar_id":"","url":"https://api.github.com/users/Aatch","html_url":"https://github.com/Aatch","followers_url":"https://api.github.com/users/Aatch/followers","following_url":"https://api.github.com/users/Aatch/following{/other_user}","gists_url":"https://api.github.com/users/Aatch/gists{/gist_id}","starred_url":"https://api.github.com/users/Aatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aatch/subscriptions","organizations_url":"https://api.github.com/users/Aatch/orgs","repos_url":"https://api.github.com/users/Aatch/repos","events_url":"https://api.github.com/users/Aatch/events{/privacy}","received_events_url":"https://api.github.com/users/Aatch/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-03-20T10:25:36Z","updated_at":"2016-03-21T04:35:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/32371","html_url":"https://github.com/rust-lang/rust/pull/32371","diff_url":"https://github.com/rust-lang/rust/pull/32371.diff","patch_url":"https://github.com/rust-lang/rust/pull/32371.patch"},"body":"The new message looks like\r\n\r\n```\r\nnote: the compiler unexpectedly panicked. this is a bug.\r\nnote: we would appreciate a bug report:\r\nnote:   https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports\r\nnote: version: 1.9.0-dev (3d7e519b7 2016-03-20)\r\nnote: run with `RUST_BACKTRACE=1` for a backtrace\r\n```\r\n\r\nWonder if the version string should appear the first. Any suggestions?"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/199117702","html_url":"https://github.com/rust-lang/rust/pull/32371#issuecomment-199117702","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/32371","id":199117702,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T04:35:08Z","updated_at":"2016-03-21T04:35:08Z","body":"In theory if this is an internal assertion error we may want actually dump a whole bunch of information. For example we could dump things like:\r\n\r\n* the entire output of `--version --verbose`\r\n* all command line arguments\r\n* a full backtrace by default\r\n\r\nWe may want to even go the extra mile and emit the information into a temporary file (e.g. `bug-report.md`) and ask that the file be directly uploaded to github (where the file may have more instructions). \r\n\r\nI guess what I'm getting at is that this probably isn't too helpful for readers of the message except during bug reports, and we could perhaps add a whole lot more contextual information to bug reports by default as well (without streaming it all to the console).\r\n\r\ncc @rust-lang/compiler \r\ncc @rust-lang/tools "}}