{"action":"opened","issue":{"url":"https://api.github.com/repos/DaGenix/rust-crypto/issues/209","labels_url":"https://api.github.com/repos/DaGenix/rust-crypto/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/DaGenix/rust-crypto/issues/209/comments","events_url":"https://api.github.com/repos/DaGenix/rust-crypto/issues/209/events","html_url":"https://github.com/DaGenix/rust-crypto/issues/209","id":53525137,"number":209,"title":"Installation is broken due to obsolete syntax","user":{"login":"ginsent","id":1183629,"avatar_url":"https://avatars.githubusercontent.com/u/1183629?v=3","gravatar_id":"","url":"https://api.github.com/users/ginsent","html_url":"https://github.com/ginsent","followers_url":"https://api.github.com/users/ginsent/followers","following_url":"https://api.github.com/users/ginsent/following{/other_user}","gists_url":"https://api.github.com/users/ginsent/gists{/gist_id}","starred_url":"https://api.github.com/users/ginsent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginsent/subscriptions","organizations_url":"https://api.github.com/users/ginsent/orgs","repos_url":"https://api.github.com/users/ginsent/repos","events_url":"https://api.github.com/users/ginsent/events{/privacy}","received_events_url":"https://api.github.com/users/ginsent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-06T15:23:24Z","updated_at":"2015-01-06T15:23:24Z","closed_at":null,"body":"$ cargo build\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n   Compiling rustc-serialize v0.2.4\r\n   Compiling rust-crypto v0.2.10\r\nsrc\\rust-crypto\\blockmodes.rs:1029:15: 1029:16 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\blockmodes.rs:1029             op: |&mut RefReadBuffer, &mut RefWriteBuffer, bool|\r\n                                                 ^\r\nnote: use unboxed closures instead, no type annotation needed\r\nsrc\\rust-crypto\\blockmodes.rs:1031:24: 1031:25 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\blockmodes.rs:1031             next_in_len: || -> uint,\r\n                                                          ^\r\nsrc\\rust-crypto\\blockmodes.rs:1032:25: 1032:26 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\blockmodes.rs:1032             next_out_len: || -> uint,\r\n                                                           ^\r\nsrc\\rust-crypto\\blockmodes.rs:1150:20: 1150:21 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\blockmodes.rs:1150             new_enc: || -> E,\r\n                                                      ^\r\nsrc\\rust-crypto\\blockmodes.rs:1151:20: 1151:21 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\blockmodes.rs:1151             new_dec: || -> D) {\r\n                                                      ^\r\nsrc\\rust-crypto\\blockmodes.rs:1200:20: 1200:21 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\blockmodes.rs:1200             new_enc: || -> E,\r\n                                                      ^\r\nsrc\\rust-crypto\\blockmodes.rs:1201:20: 1201:21 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\blockmodes.rs:1201             new_dec: || -> D) {\r\n                                                      ^\r\nsrc\\rust-crypto\\cryptoutil.rs:252:43: 252:44 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\cryptoutil.rs:252     fn input(&mut self, input: &[u8], func: |&[u8]|);\r\n                                                                            ^\r\nnote: use unboxed closures instead, no type annotation needed\r\nsrc\\rust-crypto\\cryptoutil.rs:406:51: 406:52 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\cryptoutil.rs:406     fn standard_padding(&mut self, rem: uint, func: |&[u8]|);\r\n                                                                                    ^\r\nsrc\\rust-crypto\\cryptoutil.rs:410:51: 410:52 error: obsolete syntax: `|uint| -> bool` closure type syntax\r\nsrc\\rust-crypto\\cryptoutil.rs:410     fn standard_padding(&mut self, rem: uint, func: |&[u8]|) {\r\n                                                                                    ^\r\nerror: aborting due to 10 previous errors\r\nCould not compile `rust-crypto`.\r\n\r\nTo learn more, run the command again with --verbose."}}