{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1386","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1386/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1386/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1386/events","html_url":"https://github.com/rust-lang/cargo/issues/1386","id":60119121,"number":1386,"title":"cargo build/run unconditionally rebuilds the target","user":{"login":"crumblingstatue","id":1521976,"avatar_url":"https://avatars.githubusercontent.com/u/1521976?v=3","gravatar_id":"","url":"https://api.github.com/users/crumblingstatue","html_url":"https://github.com/crumblingstatue","followers_url":"https://api.github.com/users/crumblingstatue/followers","following_url":"https://api.github.com/users/crumblingstatue/following{/other_user}","gists_url":"https://api.github.com/users/crumblingstatue/gists{/gist_id}","starred_url":"https://api.github.com/users/crumblingstatue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crumblingstatue/subscriptions","organizations_url":"https://api.github.com/users/crumblingstatue/orgs","repos_url":"https://api.github.com/users/crumblingstatue/repos","events_url":"https://api.github.com/users/crumblingstatue/events{/privacy}","received_events_url":"https://api.github.com/users/crumblingstatue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-06T15:51:56Z","updated_at":"2015-03-06T20:57:36Z","closed_at":"2015-03-06T18:04:32Z","body":"Since a recent cargo update ( I don't know which ), `cargo build` / `cargo run` rebuilds my project unconditionally every time. It doesn't rebuild the dependencies, only the target.\r\n\r\nReproduction:\r\n```bash\r\ncargo new foo && cd foo && cargo build && cargo build\r\n```\r\n\r\nI expect that this would only rebuild foo once, but instead, this is the output:\r\n```\r\n   Compiling foo v0.0.1 (...)\r\n   Compiling foo v0.0.1 (...)\r\n```\r\n\r\nCargo version: `cargo 0.0.1-pre-nightly (dd7c7bd 2015-03-04) (built 2015-03-04)`\r\nRustc version: `rustc 1.0.0-nightly (b0746ff19 2015-03-05) (built 2015-03-06)`\r\nOS: `Linux 3.19.0-1-ARCH #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015 x86_64 GNU/Linux`"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/77634343","html_url":"https://github.com/rust-lang/cargo/issues/1386#issuecomment-77634343","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1386","id":77634343,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T20:57:36Z","updated_at":"2015-03-06T20:57:36Z","body":"It would indeed!"}}