{"action":"created","issue":{"url":"https://api.github.com/repos/PistonDevelopers/piston-examples/issues/169","labels_url":"https://api.github.com/repos/PistonDevelopers/piston-examples/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/PistonDevelopers/piston-examples/issues/169/comments","events_url":"https://api.github.com/repos/PistonDevelopers/piston-examples/issues/169/events","html_url":"https://github.com/PistonDevelopers/piston-examples/issues/169","id":59472685,"number":169,"title":"Could not compile `gl_generator`.","user":{"login":"ivanceras","id":7972655,"avatar_url":"https://avatars.githubusercontent.com/u/7972655?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanceras","html_url":"https://github.com/ivanceras","followers_url":"https://api.github.com/users/ivanceras/followers","following_url":"https://api.github.com/users/ivanceras/following{/other_user}","gists_url":"https://api.github.com/users/ivanceras/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanceras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanceras/subscriptions","organizations_url":"https://api.github.com/users/ivanceras/orgs","repos_url":"https://api.github.com/users/ivanceras/repos","events_url":"https://api.github.com/users/ivanceras/events{/privacy}","received_events_url":"https://api.github.com/users/ivanceras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T12:03:08Z","updated_at":"2015-03-03T09:23:24Z","closed_at":null,"body":"I'm trying to run the examples but I always get these errors.\r\n\r\n\r\nSteps to reproduce:\r\n\r\n```\r\n$git clone https://github.com/PistonDevelopers/piston-examples`\r\n$cd piston-examples/paint\r\n$cargo build\r\n```\r\nrust and cargo version\r\n```\r\n$rustc -V\r\nrustc 1.0.0-dev (610d1695d 2015-02-25) (built 2015-02-26)\r\n\r\n$cargo -V\r\ncargo 0.0.1-pre (5773064 2015-02-25) (built 2015-02-26)\r\n```\r\n\r\nError log\r\n```\r\n      ^~~~~~\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1:9: 1:21 note: lint level defined here\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1 #![deny(missing_docs)]\r\n                                                                                  ^~~~~~~~~~~~\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:40:10: 40:16 error: missing documentation for an associated type\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:40     type Result;\r\n                                                                                    ^~~~~~\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1:9: 1:21 note: lint level defined here\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1 #![deny(missing_docs)]\r\n                                                                                  ^~~~~~~~~~~~\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:59:10: 59:14 error: missing documentation for an associated type\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:59     type Data;\r\n                                                                                    ^~~~\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1:9: 1:21 note: lint level defined here\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1 #![deny(missing_docs)]\r\n                                                                                  ^~~~~~~~~~~~\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:60:10: 60:16 error: missing documentation for an associated type\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:60     type Object;\r\n                                                                                    ^~~~~~\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1:9: 1:21 note: lint level defined here\r\n/home/lee/.cargo/git/checkouts/quack-5c2e81a611f5edcd/master/src/lib.rs:1 #![deny(missing_docs)]\r\n                                                                                  ^~~~~~~~~~~~\r\nerror: aborting due to 4 previous errors\r\nCould not compile `gl_generator`.\r\n```"},"comment":{"url":"https://api.github.com/repos/PistonDevelopers/piston-examples/issues/comments/76912183","html_url":"https://github.com/PistonDevelopers/piston-examples/issues/169#issuecomment-76912183","issue_url":"https://api.github.com/repos/PistonDevelopers/piston-examples/issues/169","id":76912183,"user":{"login":"ivanceras","id":7972655,"avatar_url":"https://avatars.githubusercontent.com/u/7972655?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanceras","html_url":"https://github.com/ivanceras","followers_url":"https://api.github.com/users/ivanceras/followers","following_url":"https://api.github.com/users/ivanceras/following{/other_user}","gists_url":"https://api.github.com/users/ivanceras/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanceras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanceras/subscriptions","organizations_url":"https://api.github.com/users/ivanceras/orgs","repos_url":"https://api.github.com/users/ivanceras/repos","events_url":"https://api.github.com/users/ivanceras/events{/privacy}","received_events_url":"https://api.github.com/users/ivanceras/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T09:23:24Z","updated_at":"2015-03-03T09:23:24Z","body":"I did a cargo update, but new error comes up.\r\n\r\n```\r\n                                  ^~~~~~~~\r\n/home/lee/.cargo/git/checkouts/image-f4d4ca6613133df7/master/src/ppm/encoder.rs:93:32: 93:40 error: mismatched types:\r\n expected `usize`,\r\n    found `u32`\r\n(expected usize,\r\n    found u32) [E0308]\r\n/home/lee/.cargo/git/checkouts/image-f4d4ca6613133df7/master/src/ppm/encoder.rs:93         GrayA(n)   => 2u16.pow(n as u32) - 1,\r\n                                                                                                                  ^~~~~~~~\r\n/home/lee/.cargo/git/checkouts/image-f4d4ca6613133df7/master/src/ppm/encoder.rs:94:32: 94:40 error: mismatched types:\r\n expected `usize`,\r\n    found `u32`\r\n(expected usize,\r\n    found u32) [E0308]\r\n/home/lee/.cargo/git/checkouts/image-f4d4ca6613133df7/master/src/ppm/encoder.rs:94         RGBA(n)    => 2u16.pow(n as u32) - 1\r\n                                                                                                                  ^~~~~~~~\r\nerror: aborting due to 5 previous errors\r\nBuild failed, waiting for other jobs to finish...\r\nCould not compile `image`.\r\n\r\n```"}}