{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/33755","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/33755/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/33755/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/33755/events","html_url":"https://github.com/rust-lang/rust/issues/33755","id":155947679,"number":33755,"title":"ICE: unexpected panic.","user":{"login":"Aaronepower","id":4464295,"avatar_url":"https://avatars.githubusercontent.com/u/4464295?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaronepower","html_url":"https://github.com/Aaronepower","followers_url":"https://api.github.com/users/Aaronepower/followers","following_url":"https://api.github.com/users/Aaronepower/following{/other_user}","gists_url":"https://api.github.com/users/Aaronepower/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaronepower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaronepower/subscriptions","organizations_url":"https://api.github.com/users/Aaronepower/orgs","repos_url":"https://api.github.com/users/Aaronepower/repos","events_url":"https://api.github.com/users/Aaronepower/events{/privacy}","received_events_url":"https://api.github.com/users/Aaronepower/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-20T12:00:46Z","updated_at":"2016-05-20T12:00:46Z","closed_at":null,"body":"## [Source](https://github.com/Aaronepower/tokei/tree/bc83358d820a8912bd9f3b9fe1c33e3aacf301d2)\r\n\r\n\r\n\r\n### Rust and Cargo versions\r\n\r\n#### rustc\r\n```\r\nrustc 1.8.0 (db2939409 2016-04-11)\r\nbinary: rustc\r\ncommit-hash: db2939409db26ab4904372c82492cd3488e4c44e\r\ncommit-date: 2016-04-11\r\nhost: x86_64-pc-windows-gnu\r\nrelease: 1.8.0\r\n```\r\n\r\n#### cargo\r\n```\r\ncargo 0.9.0-nightly (8fc3fd8 2016-02-29)\r\n```\r\n\r\n### Cargo output\r\n```\r\n       Fresh log v0.3.6\r\n       Fresh strsim v0.4.0\r\n       Fresh bitflags v0.5.0\r\n       Fresh winapi v0.2.5\r\n       Fresh byteorder v0.3.13\r\n       Fresh serde v0.7.5\r\n       Fresh vec_map v0.6.0\r\n       Fresh unicode-width v0.1.3\r\n       Fresh rustc-serialize v0.3.19\r\n       Fresh unicode-xid v0.0.3\r\n       Fresh num-traits v0.1.32\r\n       Fresh winapi-build v0.1.1\r\n       Fresh yaml-rust v0.3.2\r\n       Fresh serde_cbor v0.3.3\r\n       Fresh ansi_term v0.7.2\r\n       Fresh glob v0.2.11\r\n       Fresh maplit v0.1.3\r\n       Fresh libc v0.2.11\r\n       Fresh num-integer v0.1.32\r\n       Fresh serde_yaml v0.2.4\r\n       Fresh num_cpus v0.2.12\r\n       Fresh clap v2.5.1\r\n       Fresh rand v0.3.14\r\n       Fresh num-iter v0.1.32\r\n       Fresh deque v0.3.1\r\n       Fresh num v0.1.32\r\n       Fresh kernel32-sys v0.2.1\r\n       Fresh rayon v0.3.1\r\n       Fresh serde_json v0.7.0\r\n       Fresh term v0.2.14\r\n       Fresh walkdir v0.1.5\r\n       Fresh syntex_syntax v0.32.0\r\n       Fresh quasi v0.10.0\r\n       Fresh syntex v0.32.0\r\n       Fresh aster v0.16.0\r\n       Fresh quasi_codegen v0.10.0\r\n       Fresh serde_codegen v0.7.5\r\n   Compiling tokei v2.0.0 (file:///G:/tokei)\r\n     Running `rustc src\\main.rs --crate-name tokei --crate-type bin -g --out-dir G:\\tokei\\target\\debug --emit=dep-info,link -L dependency=G:\\tokei\\target\\debug -L dependency=G:\\tokei\\target\\debug\\deps --extern serde_yaml=G:\\tokei\\target\\debug\\deps\\libserde_yaml-aec1cf0b96372d9b.rlib --extern glob=G:\\tokei\\target\\debug\\deps\\libglob-56b0dada2447425c.rlib --extern serde_cbor=G:\\tokei\\target\\debug\\deps\\libserde_cbor-099643e460b70304.rlib --extern maplit=G:\\tokei\\target\\debug\\deps\\libmaplit-24bbccea47e9bf98.rlib --extern rayon=G:\\tokei\\target\\debug\\deps\\librayon-f2cc48d422c3d63f.rlib --extern serde_json=G:\\tokei\\target\\debug\\deps\\libserde_json-68141e3d774cb4f5.rlib --extern clap=G:\\tokei\\target\\debug\\deps\\libclap-b8a8db4cb0937db3.rlib --extern serde=G:\\tokei\\target\\debug\\deps\\libserde-96ff8a07d3339467.rlib --extern walkdir=G:\\tokei\\target\\debug\\deps\\libwalkdir-5df1332c1498b319.rlib`\r\nG:\\tokei\\target\\debug\\build\\tokei-4ee2578cf16d545b\\out/main.rs:3283:54: 3283:65 error: mismatched types:\r\n expected `&mut collections::string::String`,\r\n    found `&mut collections::vec::Vec<_>`\r\n(expected struct `collections::string::String`,\r\n    found struct `collections::vec::Vec`) [E0308]\r\nG:\\tokei\\target\\debug\\build\\tokei-4ee2578cf16d545b\\out/main.rs:3283                         let _ = stdin.read_to_string(&mut buffer);\r\n                                                                                                                         ^~~~~~~~~~~\r\nsrc\\main.rs:13:1: 13:48 note: in this expansion of include!\r\nG:\\tokei\\target\\debug\\build\\tokei-4ee2578cf16d545b\\out/main.rs:3283:54: 3283:65 help: run `rustc --explain E0308` to see a detailed explanation\r\nerror: internal compiler error: unexpected panic\r\nnote: the compiler unexpectedly panicked. this is a bug.\r\nnote: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports\r\nthread 'rustc' panicked at 'index out of bounds: the len is 542 but the index is 544', ../src/libcollections\\vec.rs:1178\r\nstack backtrace:\r\n   0:         0x61cc34dc - strncmp\r\n   1:         0x61cc2b5c - strncmp\r\n   2:         0x61c84d6f - strncmp\r\n   3:         0x61c855cb - strncmp\r\n   4:         0x61cb8482 - strncmp\r\n   5:         0x61cd8258 - strncmp\r\n   6:         0x61cd845b - strncmp\r\n   7:         0x67f6213e - strncmp\r\n   8:         0x6804d53a - strncmp\r\n   9:         0x6804a86d - strncmp\r\n  10:         0x68046794 - strncmp\r\n  11:         0x6803bb2c - strncmp\r\n  12:          0x12f6a17 - strncmp\r\n  13:          0x1320c6f - strncmp\r\n  14:          0x131ff84 - strncmp\r\n  15:          0x1332114 - strncmp\r\n  16:          0x134785b - strncmp\r\n  17:          0x136d944 - strncmp\r\n  18:          0x136d9ee - strncmp\r\n  19:          0x136dd08 - strncmp\r\n  20:          0x12fcd13 - strncmp\r\n  21:          0x132de3b - strncmp\r\n  22:          0x13509ee - strncmp\r\n  23:          0x12fcfae - strncmp\r\n  24:          0x135089f - strncmp\r\n  25:          0x1375a6d - strncmp\r\n  26:          0x132e731 - strncmp\r\n  27:          0x13476c9 - strncmp\r\n  28:          0x136d944 - strncmp\r\n  29:          0x136d9ee - strncmp\r\n  30:          0x136dd08 - strncmp\r\n  31:          0x12fcd13 - strncmp\r\n  32:          0x135089f - strncmp\r\n  33:          0x1375a6d - strncmp\r\n  34:          0x132e731 - strncmp\r\n  35:          0x1342c99 - strncmp\r\n  36:          0x136dcdc - strncmp\r\n  37:          0x12fcd13 - strncmp\r\n  38:          0x12f3d90 - strncmp\r\n  39:          0x12f053d - strncmp\r\n  40:          0x12eb1a6 - strncmp\r\n  41:          0x12deb58 - strncmp\r\n  42:          0x12d5947 - strncmp\r\n  43:         0x6b34a430 - strncmp\r\n  44:         0x6b3488ac - strncmp\r\n  45:         0x6b3455f7 - strncmp\r\n  46:         0x6b317f4d - strncmp\r\n  47:         0x6b306226 - strncmp\r\n  48:         0x6b30376b - strncmp\r\n  49:         0x61caf9ba - strncmp\r\n  50:         0x6b30400c - strncmp\r\n  51:         0x61cc1209 - strncmp\r\n  52:     0x7fff379e8101 - strncmp\r\n\r\nCould not compile `tokei`.\r\n\r\nCaused by:\r\n  Process didn't exit successfully: `rustc src\\main.rs --crate-name tokei --crate-type bin -g --out-dir G:\\tokei\\target\\debug --emit=dep-info,link -L dependency=G:\\tokei\\target\\debug -L dependency=G:\\tokei\\target\\debug\\deps --extern serde_yaml=G:\\tokei\\target\\debug\\deps\\libserde_yaml-aec1cf0b96372d9b.rlib --extern glob=G:\\tokei\\target\\debug\\deps\\libglob-56b0dada2447425c.rlib --extern serde_cbor=G:\\tokei\\target\\debug\\deps\\libserde_cbor-099643e460b70304.rlib --extern maplit=G:\\tokei\\target\\debug\\deps\\libmaplit-24bbccea47e9bf98.rlib --extern rayon=G:\\tokei\\target\\debug\\deps\\librayon-f2cc48d422c3d63f.rlib --extern serde_json=G:\\tokei\\target\\debug\\deps\\libserde_json-68141e3d774cb4f5.rlib --extern clap=G:\\tokei\\target\\debug\\deps\\libclap-b8a8db4cb0937db3.rlib --extern serde=G:\\tokei\\target\\debug\\deps\\libserde-96ff8a07d3339467.rlib --extern walkdir=G:\\tokei\\target\\debug\\deps\\libwalkdir-5df1332c1498b319.rlib` (exit code: 101)\r\n```"}}
{"actor":{"display_login":"Aaronepower"}}