{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/25649","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/25649/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/25649/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/25649/events","html_url":"https://github.com/rust-lang/rust/issues/25649","id":78502464,"number":25649,"title":"Dining Philosophers example does not compile in Win64 1.0.0 beta build","user":{"login":"tlinderh","id":560121,"avatar_url":"https://avatars.githubusercontent.com/u/560121?v=3","gravatar_id":"","url":"https://api.github.com/users/tlinderh","html_url":"https://github.com/tlinderh","followers_url":"https://api.github.com/users/tlinderh/followers","following_url":"https://api.github.com/users/tlinderh/following{/other_user}","gists_url":"https://api.github.com/users/tlinderh/gists{/gist_id}","starred_url":"https://api.github.com/users/tlinderh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlinderh/subscriptions","organizations_url":"https://api.github.com/users/tlinderh/orgs","repos_url":"https://api.github.com/users/tlinderh/repos","events_url":"https://api.github.com/users/tlinderh/events{/privacy}","received_events_url":"https://api.github.com/users/tlinderh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-20T12:22:17Z","updated_at":"2015-05-20T15:07:08Z","closed_at":"2015-05-20T15:07:08Z","body":"I installed Rust from the Windows 64 bit beta build available from here:\r\nhttp://doc.rust-lang.org/book/installing-rust.html\r\n\r\nThe version rustc reports is: rustc 1.0.0-beta (9854143cb 2015-04-02) (built 2015-04-02)\r\nI installed it on a Win 7 machine.\r\n\r\nAttempting to compile the last couple versions of the dining philosophers code from the following example results in a compile error.\r\n\r\nLocation:\r\nhttp://doc.rust-lang.org/stable/book/dining-philosophers.html\r\n\r\nError:\r\n\r\n    src\\main.rs:61:18: 61:26 error: type `core::result::Result<(), Box<core::any::Any + Send>>` does not implement any method in scope named `unwrap`\r\n    src\\main.rs:61         h.join().unwrap();\r\n\r\nCode excerpt:\r\n\r\n      for h in handles {\r\n          h.join().unwrap();\r\n      }\r\n\r\nThe compile error can easily be worked around in this example by adding .ok() prior to the .unwrap() call, so for some result the core::result::Result<...> unwrap method is missing, not visible, or something like that (I only just started looking at rest yesterday morning.)\r\n\r\nNote that this code works fine in the 'Rust Playground' web application."}}