{"action":"closed","issue":{"url":"https://api.github.com/repos/redox-os/extrautils/issues/14","repository_url":"https://api.github.com/repos/redox-os/extrautils","labels_url":"https://api.github.com/repos/redox-os/extrautils/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/redox-os/extrautils/issues/14/comments","events_url":"https://api.github.com/repos/redox-os/extrautils/issues/14/events","html_url":"https://github.com/redox-os/extrautils/issues/14","id":166143486,"number":14,"title":"Can't build after termion update","user":{"login":"Powersource","id":1427063,"avatar_url":"https://avatars.githubusercontent.com/u/1427063?v=3","gravatar_id":"","url":"https://api.github.com/users/Powersource","html_url":"https://github.com/Powersource","followers_url":"https://api.github.com/users/Powersource/followers","following_url":"https://api.github.com/users/Powersource/following{/other_user}","gists_url":"https://api.github.com/users/Powersource/gists{/gist_id}","starred_url":"https://api.github.com/users/Powersource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Powersource/subscriptions","organizations_url":"https://api.github.com/users/Powersource/orgs","repos_url":"https://api.github.com/users/Powersource/repos","events_url":"https://api.github.com/users/Powersource/events{/privacy}","received_events_url":"https://api.github.com/users/Powersource/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-18T17:06:23Z","updated_at":"2016-07-19T20:34:36Z","closed_at":"2016-07-19T20:34:36Z","body":"Rolling back this commit https://github.com/redox-os/extrautils/commit/63c35e277b74b8841386cae1fd8e91099200858f makes compiling work again. If I'd make a guess you updated termion locally but didn't commit it.\r\n\r\nA bit off topic but as a rust noob I wonder, `controls` is type `Read` but you can run `.keys()` on it even if as far as I can see, `io::Read` doesn't provide that.\r\n\r\n```\r\nme@pc[rust/extrautils]% cargo build --verbose\r\n       Fresh libc v0.2.11\r\n       Fresh extra v0.1.0 (https://github.com/redox-os/libextra.git#3946ef27)\r\n       Fresh termion v0.1.0 (https://github.com/Ticki/termion.git#119cbda7)\r\n   Compiling extrautils v0.1.0 (file:///mnt/hdd/home/me/prj/rust/extrautils)\r\n     Running `rustc src/bin/less.rs --crate-name less --crate-type bin -g --out-dir /mnt/hdd/home/me/prj/rust/extrautils/target/debug --emit=dep-info,link -L dependency=/mnt/hdd/home/me/prj/rust/extrautils/target/debug -L dependency=/mnt/hdd/home/me/prj/rust/extrautils/target/debug/deps --extern termion=/mnt/hdd/home/me/prj/rust/extrautils/target/debug/deps/libtermion-9a7f1bec54791087.rlib --extern extra=/mnt/hdd/home/me/prj/rust/extrautils/target/debug/deps/libextra-dbb0bf05fff66118.rlib`\r\nsrc/bin/less.rs:181:17: 181:23 error: no method named `unwrap` found for type `termion::Key` in the current scope \r\nsrc/bin/less.rs:181         match c.unwrap() {\r\n                                    ^~~~~~\r\nerror: aborting due to previous error \r\nerror: Could not compile `extrautils`.\r\n\r\nCaused by:\r\n  Process didn't exit successfully: `rustc src/bin/less.rs --crate-name less --crate-type bin -g --out-dir /mnt/hdd/home/me/prj/rust/extrautils/target/debug --emit=dep-info,link -L dependency=/mnt/hdd/home/me/prj/rust/extrautils/target/debug -L dependency=/mnt/hdd/home/me/prj/rust/extrautils/target/debug/deps --extern termion=/mnt/hdd/home/me/prj/rust/extrautils/target/debug/deps/libtermion-9a7f1bec54791087.rlib --extern extra=/mnt/hdd/home/me/prj/rust/extrautils/target/debug/deps/libextra-dbb0bf05fff66118.rlib` (exit code: 101)\r\nme@pc[rust/extrautils]% cargo --version\r\ncargo 0.13.0-nightly (15c1cd2 2016-07-17)\r\nme@pc[rust/extrautils]% rustc --version\r\nrustc 1.12.0-nightly (34f35ed29 2016-07-17)\r\n```"}}
{"actor":{"display_login":"Powersource"}}