{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/39202","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/39202/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/39202/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/39202/events","html_url":"https://github.com/rust-lang/rust/pull/39202","id":202070442,"number":39202,"title":"Point to enclosing block/fn on nested unsafe","user":{"login":"estebank","id":1606434,"avatar_url":"https://avatars1.githubusercontent.com/u/1606434?v=3","gravatar_id":"","url":"https://api.github.com/users/estebank","html_url":"https://github.com/estebank","followers_url":"https://api.github.com/users/estebank/followers","following_url":"https://api.github.com/users/estebank/following{/other_user}","gists_url":"https://api.github.com/users/estebank/gists{/gist_id}","starred_url":"https://api.github.com/users/estebank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estebank/subscriptions","organizations_url":"https://api.github.com/users/estebank/orgs","repos_url":"https://api.github.com/users/estebank/repos","events_url":"https://api.github.com/users/estebank/events{/privacy}","received_events_url":"https://api.github.com/users/estebank/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jonathandturner","id":547158,"avatar_url":"https://avatars3.githubusercontent.com/u/547158?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathandturner","html_url":"https://github.com/jonathandturner","followers_url":"https://api.github.com/users/jonathandturner/followers","following_url":"https://api.github.com/users/jonathandturner/following{/other_user}","gists_url":"https://api.github.com/users/jonathandturner/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathandturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathandturner/subscriptions","organizations_url":"https://api.github.com/users/jonathandturner/orgs","repos_url":"https://api.github.com/users/jonathandturner/repos","events_url":"https://api.github.com/users/jonathandturner/events{/privacy}","received_events_url":"https://api.github.com/users/jonathandturner/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonathandturner","id":547158,"avatar_url":"https://avatars3.githubusercontent.com/u/547158?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathandturner","html_url":"https://github.com/jonathandturner","followers_url":"https://api.github.com/users/jonathandturner/followers","following_url":"https://api.github.com/users/jonathandturner/following{/other_user}","gists_url":"https://api.github.com/users/jonathandturner/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathandturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathandturner/subscriptions","organizations_url":"https://api.github.com/users/jonathandturner/orgs","repos_url":"https://api.github.com/users/jonathandturner/repos","events_url":"https://api.github.com/users/jonathandturner/events{/privacy}","received_events_url":"https://api.github.com/users/jonathandturner/received_events","type":"User","site_admin":false}],"milestone":null,"comments":26,"created_at":"2017-01-20T07:22:55Z","updated_at":"2017-03-06T21:31:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/39202","html_url":"https://github.com/rust-lang/rust/pull/39202","diff_url":"https://github.com/rust-lang/rust/pull/39202.diff","patch_url":"https://github.com/rust-lang/rust/pull/39202.patch"},"body":"When declaring nested unsafe blocks (`unsafe {unsafe {}}`) that trigger\r\nthe \"unnecessary `unsafe` block\" error, point out the enclosing `unsafe\r\nblock` or `unsafe fn` that makes it unnecessary.\r\n\r\n<img width=\"621\" alt=\"\" src=\"https://cloud.githubusercontent.com/assets/1606434/22139922/26ad468a-de9e-11e6-8884-2945be882ea8.png\">\r\n\r\nFixes #39144."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/284539515","html_url":"https://github.com/rust-lang/rust/pull/39202#issuecomment-284539515","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/39202","id":284539515,"user":{"login":"petrochenkov","id":5751617,"avatar_url":"https://avatars1.githubusercontent.com/u/5751617?v=3","gravatar_id":"","url":"https://api.github.com/users/petrochenkov","html_url":"https://github.com/petrochenkov","followers_url":"https://api.github.com/users/petrochenkov/followers","following_url":"https://api.github.com/users/petrochenkov/following{/other_user}","gists_url":"https://api.github.com/users/petrochenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/petrochenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrochenkov/subscriptions","organizations_url":"https://api.github.com/users/petrochenkov/orgs","repos_url":"https://api.github.com/users/petrochenkov/repos","events_url":"https://api.github.com/users/petrochenkov/events{/privacy}","received_events_url":"https://api.github.com/users/petrochenkov/received_events","type":"User","site_admin":false},"created_at":"2017-03-06T21:31:46Z","updated_at":"2017-03-06T21:31:46Z","body":"@alexcrichton \r\nThe error is\r\n```\r\nfailed to execute command: \"sh\" \"/checkout/src/liballoc_jemalloc/../jemalloc/configure\"\r\nerror: No such file or directory (os error 2)\r\n```\r\nThis doesn't look related to caching since it can't find source and not build results.\r\nThis looks like maybe `jemalloc` submodule is not checked out in time, so there's no `configure`, but this is not confirmed by logs.\r\nMoreover, `configure` seems to be in place just before running running the command:\r\n```\r\ncargo:rerun-if-changed=/checkout/src/liballoc_jemalloc/../jemalloc/configure\r\n```\r\ncwd doesn't seem to be used here, `CARGO_MANIFEST_DIR` is used instead.\r\nMaybe `configure` is a red herring and there's no `sh`? o_O\r\nMysterious."}}
{"actor":{"display_login":"petrochenkov"}}