{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2403","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2403/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2403/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2403/events","html_url":"https://github.com/rust-lang/cargo/issues/2403","id":135179472,"number":2403,"title":"Cargo fails to update registry ","user":{"login":"Awarua-","id":5498590,"avatar_url":"https://avatars.githubusercontent.com/u/5498590?v=3","gravatar_id":"","url":"https://api.github.com/users/Awarua-","html_url":"https://github.com/Awarua-","followers_url":"https://api.github.com/users/Awarua-/followers","following_url":"https://api.github.com/users/Awarua-/following{/other_user}","gists_url":"https://api.github.com/users/Awarua-/gists{/gist_id}","starred_url":"https://api.github.com/users/Awarua-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Awarua-/subscriptions","organizations_url":"https://api.github.com/users/Awarua-/orgs","repos_url":"https://api.github.com/users/Awarua-/repos","events_url":"https://api.github.com/users/Awarua-/events{/privacy}","received_events_url":"https://api.github.com/users/Awarua-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-21T08:48:04Z","updated_at":"2016-02-21T08:48:04Z","closed_at":null,"body":"I get the follow error when running cargo install, upgrade and build commands\r\n\r\ncargo install -v racer\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\nfailed to fetch `https://github.com/rust-lang/crates.io-index`\r\n\r\nCaused by:\r\n  [4/-1] Corrupted loose reference file: HEAD\r\n"}}