{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2615","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2615/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2615/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2615/events","html_url":"https://github.com/rust-lang/cargo/issues/2615","id":150683676,"number":2615,"title":"cargo update hangs forever","user":{"login":"maximih","id":2771485,"avatar_url":"https://avatars.githubusercontent.com/u/2771485?v=3","gravatar_id":"","url":"https://api.github.com/users/maximih","html_url":"https://github.com/maximih","followers_url":"https://api.github.com/users/maximih/followers","following_url":"https://api.github.com/users/maximih/following{/other_user}","gists_url":"https://api.github.com/users/maximih/gists{/gist_id}","starred_url":"https://api.github.com/users/maximih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximih/subscriptions","organizations_url":"https://api.github.com/users/maximih/orgs","repos_url":"https://api.github.com/users/maximih/repos","events_url":"https://api.github.com/users/maximih/events{/privacy}","received_events_url":"https://api.github.com/users/maximih/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-24T17:46:39Z","updated_at":"2016-04-24T18:32:10Z","closed_at":null,"body":"I update to latest nightly and I have issues building my project. It seems `cargo update` hangs when updating `Cargo.lock`. Here is the output of strace after I manually removed the existing `Cargo.lock`:\r\n\r\n```\r\n...\r\nmadvise(0x7f4e9cb73000, 28672, MADV_DONTNEED) = 0\r\nopen(\"/cs/max/tools/test/Cargo.lock\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/cs/max/tools/test/Cargo.lock\", O_RDWR|O_CREAT|O_CLOEXEC, 0666) = 3\r\nioctl(3, FIOCLEX)                       = 0\r\nflock(3, LOCK_EX|LOCK_NB \r\n```\r\n\r\nIn hangs forever after the `flock` call.\r\n\r\nVersions:\r\n```\r\ncargo 0.11.0-nightly (867627c 2016-04-21)\r\nrustc 1.10.0-nightly (b5ba5923f 2016-04-21)\r\n```\r\n\r\nDetails about the system where I am trying this:\r\n\r\n```\r\nLinux <removed> 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n# cat /etc/redhat-release\r\nRed Hat Enterprise Linux Server release 6.4 (Santiago)\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/214020273","html_url":"https://github.com/rust-lang/cargo/issues/2615#issuecomment-214020273","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2615","id":214020273,"user":{"login":"maximih","id":2771485,"avatar_url":"https://avatars.githubusercontent.com/u/2771485?v=3","gravatar_id":"","url":"https://api.github.com/users/maximih","html_url":"https://github.com/maximih","followers_url":"https://api.github.com/users/maximih/followers","following_url":"https://api.github.com/users/maximih/following{/other_user}","gists_url":"https://api.github.com/users/maximih/gists{/gist_id}","starred_url":"https://api.github.com/users/maximih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximih/subscriptions","organizations_url":"https://api.github.com/users/maximih/orgs","repos_url":"https://api.github.com/users/maximih/repos","events_url":"https://api.github.com/users/maximih/events{/privacy}","received_events_url":"https://api.github.com/users/maximih/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T18:32:10Z","updated_at":"2016-04-24T18:32:10Z","body":"Might be some file system issue on my sytem. FWIW, it's an NFS mount. I will re-run it on a local partition and come back with the result."}}