{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2808","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2808/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2808/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2808/events","html_url":"https://github.com/rust-lang/cargo/issues/2808","id":162514763,"number":2808,"title":"Failed to mmap","user":{"login":"miedzinski","id":12597084,"avatar_url":"https://avatars.githubusercontent.com/u/12597084?v=3","gravatar_id":"","url":"https://api.github.com/users/miedzinski","html_url":"https://github.com/miedzinski","followers_url":"https://api.github.com/users/miedzinski/followers","following_url":"https://api.github.com/users/miedzinski/following{/other_user}","gists_url":"https://api.github.com/users/miedzinski/gists{/gist_id}","starred_url":"https://api.github.com/users/miedzinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miedzinski/subscriptions","organizations_url":"https://api.github.com/users/miedzinski/orgs","repos_url":"https://api.github.com/users/miedzinski/repos","events_url":"https://api.github.com/users/miedzinski/events{/privacy}","received_events_url":"https://api.github.com/users/miedzinski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-27T18:18:01Z","updated_at":"2016-06-27T20:03:44Z","closed_at":null,"body":"I can't install anything with cargo.\r\n\r\n```\r\n$ cargo install --verbose rustfmt\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\nerror: failed to fetch `https://github.com/rust-lang/crates.io-index`\r\n\r\nCaused by:\r\n  [2/-1] Failed to mmap. Could not write data: Invalid argument\r\n```\r\n\r\nor by putting dependency in `Cargo.toml`\r\n\r\n```\r\n$ cat Cargo.toml\r\n[package]\r\nname = \"test\"\r\nversion = \"0.1.0\"\r\nauthors = [\"test\"]\r\n\r\n[dependencies]\r\nrustfmt = \"0.5\"\r\n$ cargo build --verbose\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\nerror: Unable to update registry https://github.com/rust-lang/crates.io-index\r\n\r\nCaused by:\r\n  failed to fetch `https://github.com/rust-lang/crates.io-index`\r\n\r\nCaused by:\r\n  [2/-1] Failed to mmap. Could not write data: Invalid argument\r\n```\r\n\r\n```\r\n$ rustc --version\r\nrustc 1.9.0 (e4e8b6668 2016-05-18)\r\n$ cargo --version\r\ncargo 0.10.0-nightly (10ddd7d 2016-04-08)\r\n```\r\n\r\nI am running up-to-date Ubuntu 16.04 LTS."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/228858641","html_url":"https://github.com/rust-lang/cargo/issues/2808#issuecomment-228858641","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2808","id":228858641,"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-06-27T20:03:44Z","updated_at":"2016-06-27T20:03:44Z","body":"Whoa, haven't seen that one before! Are you perhaps running on a system that's running low on memory? It may be worth running `strace` as well to take a look at the parameters to the `mmap` call that's failing."}}
{"actor":{"display_login":"alexcrichton"}}