{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2675","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2675/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2675/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2675/events","html_url":"https://github.com/rust-lang/cargo/issues/2675","id":154407413,"number":2675,"title":"Unused import errors","user":{"login":"petevine","id":12054457,"avatar_url":"https://avatars.githubusercontent.com/u/12054457?v=3","gravatar_id":"","url":"https://api.github.com/users/petevine","html_url":"https://github.com/petevine","followers_url":"https://api.github.com/users/petevine/followers","following_url":"https://api.github.com/users/petevine/following{/other_user}","gists_url":"https://api.github.com/users/petevine/gists{/gist_id}","starred_url":"https://api.github.com/users/petevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevine/subscriptions","organizations_url":"https://api.github.com/users/petevine/orgs","repos_url":"https://api.github.com/users/petevine/repos","events_url":"https://api.github.com/users/petevine/events{/privacy}","received_events_url":"https://api.github.com/users/petevine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-12T06:32:24Z","updated_at":"2016-07-10T21:46:04Z","closed_at":null,"body":"Never seen an error like this building cargo, probably related to invoking `cargo install cargo`:\r\n\r\n```shell\r\nCompiling cargo v0.10.0\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:28:5: 28:22 error: unused import\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:28 use std::error::Error;\r\n                                                                                     ^~~~~~~~~~~~~~~~~\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1:9: 1:15 note: lint level defined here\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1 #![deny(unused)]\r\n                                                                                        ^~~~~~\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_clean.rs:6:5: 6:25 error: unused import\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_clean.rs:6 use core::source::Source;\r\n                                                                                                ^~~~~~~~~~~~~~~~~~~~\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1:9: 1:15 note: lint level defined here\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/lib.rs:1 #![deny(unused)]\r\n                                                                                        ^~~~~~\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_install.rs:12:39: 12:47 error: unused import\r\n.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.10.0/src/cargo/ops/cargo_install.rs:12 use core::{SourceId, Source, Package, Registry, Dependency, PackageIdSpec};\r\n                                                                                                                                     ^~~~~~~~\r\n````\r\n\r\nand so on. Looks like too much linting but I doubt a compilation failure could have gone unnoticed. Is my rustc nightly \"bad\"?"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/231612759","html_url":"https://github.com/rust-lang/cargo/issues/2675#issuecomment-231612759","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2675","id":231612759,"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":"2016-07-10T21:46:04Z","updated_at":"2016-07-10T21:46:04Z","body":"This is likely fixed on master, and is also normally just a benign error that you can fix by switching rustc. "}}
{"actor":{"display_login":"alexcrichton"}}