{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/27468","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/27468/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/27468/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/27468/events","html_url":"https://github.com/rust-lang/rust/issues/27468","id":98605554,"number":27468,"title":"Compiler outputs error in pieces, creating spaghetti output.","user":{"login":"muja","id":3709726,"avatar_url":"https://avatars.githubusercontent.com/u/3709726?v=3","gravatar_id":"","url":"https://api.github.com/users/muja","html_url":"https://github.com/muja","followers_url":"https://api.github.com/users/muja/followers","following_url":"https://api.github.com/users/muja/following{/other_user}","gists_url":"https://api.github.com/users/muja/gists{/gist_id}","starred_url":"https://api.github.com/users/muja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muja/subscriptions","organizations_url":"https://api.github.com/users/muja/orgs","repos_url":"https://api.github.com/users/muja/repos","events_url":"https://api.github.com/users/muja/events{/privacy}","received_events_url":"https://api.github.com/users/muja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-diagnostics","name":"A-diagnostics","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-02T12:09:08Z","updated_at":"2015-08-03T19:21:19Z","closed_at":null,"body":"Output:\r\n\r\n```\r\n$ cargo test -- --nocapture\r\n   Compiling unrar v0.1.0 (file:///Users/danyel/workspace/rust/unrar)\r\nsrc/archive.rs:151:17: 151:21src/archive.rs:151:17: 151:21  error: error: expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`\r\n\r\nsrc/archive.rssrc/archive.rs::151151                  Some(Err(error))                Some(Err(error))\r\n\r\n                                                                      ^~~~^~~~\r\n\r\nBuild failed, waiting for other jobs to finish...\r\nCould not compile `unrar`.\r\n\r\nTo learn more, run the command again with --verbose.\r\n\r\n$ cargo test -- --nocapture\r\n   Compiling unrar v0.1.0 (file:///Users/danyel/workspace/rust/unrar)\r\nsrc/archive.rs:151:17: 151:21 error: src/archive.rs:151:17: 151:21 expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`\r\nsrc/archive.rs:error: 151                 Some(Err(error))expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`\r\n\r\n                                   ^~~~src/archive.rs:\r\n151                 Some(Err(error))\r\n                                   ^~~~\r\nBuild failed, waiting for other jobs to finish...\r\nCould not compile `unrar`.\r\n\r\nTo learn more, run the command again with --verbose.\r\n\r\n$ cargo test -- --nocapture\r\n   Compiling unrar v0.1.0 (file:///Users/danyel/workspace/rust/unrar)\r\nsrc/archive.rs:151:17: 151:21 src/archive.rs:151:17: 151:21 error: expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`error:\r\nexpected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`\r\nsrc/archive.rs:151                 Some(Err(error))src/archive.rs\r\n:151                 Some(Err(error))\r\n                                   ^~~~\r\n^~~~\r\nBuild failed, waiting for other jobs to finish...\r\nCould not compile `unrar`.\r\n\r\nTo learn more, run the command again with --verbose.\r\n\r\n$ cargo test -- --nocapture\r\n   Compiling unrar v0.1.0 (file:///Users/danyel/workspace/rust/unrar)\r\nsrc/archive.rs:151:17: 151:21src/archive.rs:151:17: 151:21  error: error: expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `Some`\r\n\r\nsrc/archive.rssrc/archive.rs::151151                  Some(Err(error))                Some(Err(error))\r\n\r\n                                                                      ^~~~^~~~\r\n\r\nBuild failed, waiting for other jobs to finish...\r\nCould not compile `unrar`.\r\n\r\nTo learn more, run the command again with --verbose.\r\n```"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/127377264","html_url":"https://github.com/rust-lang/rust/issues/27468#issuecomment-127377264","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/27468","id":127377264,"user":{"login":"eddyb","id":77424,"avatar_url":"https://avatars.githubusercontent.com/u/77424?v=3","gravatar_id":"","url":"https://api.github.com/users/eddyb","html_url":"https://github.com/eddyb","followers_url":"https://api.github.com/users/eddyb/followers","following_url":"https://api.github.com/users/eddyb/following{/other_user}","gists_url":"https://api.github.com/users/eddyb/gists{/gist_id}","starred_url":"https://api.github.com/users/eddyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddyb/subscriptions","organizations_url":"https://api.github.com/users/eddyb/orgs","repos_url":"https://api.github.com/users/eddyb/repos","events_url":"https://api.github.com/users/eddyb/events{/privacy}","received_events_url":"https://api.github.com/users/eddyb/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T19:21:19Z","updated_at":"2015-08-03T19:21:19Z","body":"@Aatch that's exactly what's happening (cargo needs to build both a library and a test binary, AFAICT), and it's interleaving because there are multiple `write` calls per error, instead of a single one."}}