{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1669","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1669/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1669/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1669/events","html_url":"https://github.com/rust-lang/cargo/issues/1669","id":83508636,"number":1669,"title":"Error on \"cargo run\", runs fine on second call ","user":{"login":"azerupi","id":7647338,"avatar_url":"https://avatars.githubusercontent.com/u/7647338?v=3","gravatar_id":"","url":"https://api.github.com/users/azerupi","html_url":"https://github.com/azerupi","followers_url":"https://api.github.com/users/azerupi/followers","following_url":"https://api.github.com/users/azerupi/following{/other_user}","gists_url":"https://api.github.com/users/azerupi/gists{/gist_id}","starred_url":"https://api.github.com/users/azerupi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azerupi/subscriptions","organizations_url":"https://api.github.com/users/azerupi/orgs","repos_url":"https://api.github.com/users/azerupi/repos","events_url":"https://api.github.com/users/azerupi/events{/privacy}","received_events_url":"https://api.github.com/users/azerupi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-01T13:50:37Z","updated_at":"2015-06-07T07:30:59Z","closed_at":null,"body":"Hi sometimes when I run `cargo run` I get an error.\r\nSometimes I get a little info:\r\n\r\n```\r\nCompiling rust-learn v0.0.1 (file:///home/mathieu/Programming/Rust/rust-learn)\r\nerror: failed to remove /home/mathieu/Programming/Rust/rust-learn/target/debug/math.o: No such file or directory (os error 2)\r\nerror: failed to remove /home/mathieu/Programming/Rust/rust-learn/target/debug/math.metadata.o: No such file or directory (os error 2)\r\nAn unknown error occurred\r\n```\r\n\r\nBut sometimes I just get: `An unknown error occurred` without explanation.\r\n\r\nThis happens only when the file has already been built and was modified. By calling `cargo run` a second time the error disappears (until next modification).\r\n\r\n```\r\n$ cargo --version\r\ncargo 0.2.0-nightly (ac61996 2015-05-17) (built 2015-05-17)\r\n```\r\nI am running on Arch Linux.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/109712014","html_url":"https://github.com/rust-lang/cargo/issues/1669#issuecomment-109712014","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1669","id":109712014,"user":{"login":"azerupi","id":7647338,"avatar_url":"https://avatars.githubusercontent.com/u/7647338?v=3","gravatar_id":"","url":"https://api.github.com/users/azerupi","html_url":"https://github.com/azerupi","followers_url":"https://api.github.com/users/azerupi/followers","following_url":"https://api.github.com/users/azerupi/following{/other_user}","gists_url":"https://api.github.com/users/azerupi/gists{/gist_id}","starred_url":"https://api.github.com/users/azerupi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azerupi/subscriptions","organizations_url":"https://api.github.com/users/azerupi/orgs","repos_url":"https://api.github.com/users/azerupi/repos","events_url":"https://api.github.com/users/azerupi/events{/privacy}","received_events_url":"https://api.github.com/users/azerupi/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T07:30:59Z","updated_at":"2015-06-07T07:30:59Z","body":"My apologies for my late response.\r\n\r\nSo I uninstalled the plugin I mentioned before, and don't seem to have any errors anymore. It's definitely the cause of all my problems. \r\n\r\nI even noticed that it spawned a new rustc process every time I saved.. At some point I had 13 rustc instances running in parallel saturating my processor"}}