{"action":"opened","number":2504,"pull_request":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/2504","id":172563517,"html_url":"https://github.com/rust-lang-nursery/rustfmt/pull/2504","diff_url":"https://github.com/rust-lang-nursery/rustfmt/pull/2504.diff","patch_url":"https://github.com/rust-lang-nursery/rustfmt/pull/2504.patch","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2504","number":2504,"state":"open","locked":false,"title":"Fixing macOS Travis setup","user":{"login":"davidalber","id":933552,"avatar_url":"https://avatars3.githubusercontent.com/u/933552?v=4","gravatar_id":"","url":"https://api.github.com/users/davidalber","html_url":"https://github.com/davidalber","followers_url":"https://api.github.com/users/davidalber/followers","following_url":"https://api.github.com/users/davidalber/following{/other_user}","gists_url":"https://api.github.com/users/davidalber/gists{/gist_id}","starred_url":"https://api.github.com/users/davidalber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidalber/subscriptions","organizations_url":"https://api.github.com/users/davidalber/orgs","repos_url":"https://api.github.com/users/davidalber/repos","events_url":"https://api.github.com/users/davidalber/events{/privacy}","received_events_url":"https://api.github.com/users/davidalber/received_events","type":"User","site_admin":false},"body":"The macOS Travis build is broken. I believe the cause is [Homebrew changed the `python` formula to be Python 3](https://brew.sh/2018/01/19/homebrew-1.5.0/). Thus, when we try to `brew install python3` we are really trying install the `python` target, which is already (currently) Python 2 in the Travis image.\r\n\r\nI first tried fixing this by upgrading the `python` formula. This added a lot of time to the build, and wasn't quite working before I realized that `travis-cargo` does not care whether it's executing in a Python 2 or Python 3 interpreter. Thus, I just dropped the whole \"try to get a Python 3 virtual environment\" angle. Currently, this is running using Python 2, but I suspect that Travis will update the image sometime and it will then by Python 3.","created_at":"2018-03-02T17:46:13Z","updated_at":"2018-03-02T17:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/2504/commits","review_comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/2504/comments","review_comment_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2504/comments","statuses_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/statuses/b4caa875f22889982b38531893963443dc7a1c0e","head":{"label":"davidalber:fix-travis-python-setup","ref":"fix-travis-python-setup","sha":"b4caa875f22889982b38531893963443dc7a1c0e","user":{"login":"davidalber","id":933552,"avatar_url":"https://avatars3.githubusercontent.com/u/933552?v=4","gravatar_id":"","url":"https://api.github.com/users/davidalber","html_url":"https://github.com/davidalber","followers_url":"https://api.github.com/users/davidalber/followers","following_url":"https://api.github.com/users/davidalber/following{/other_user}","gists_url":"https://api.github.com/users/davidalber/gists{/gist_id}","starred_url":"https://api.github.com/users/davidalber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidalber/subscriptions","organizations_url":"https://api.github.com/users/davidalber/orgs","repos_url":"https://api.github.com/users/davidalber/repos","events_url":"https://api.github.com/users/davidalber/events{/privacy}","received_events_url":"https://api.github.com/users/davidalber/received_events","type":"User","site_admin":false},"repo":{"id":109235712,"name":"rustfmt","full_name":"davidalber/rustfmt","owner":{"login":"davidalber","id":933552,"avatar_url":"https://avatars3.githubusercontent.com/u/933552?v=4","gravatar_id":"","url":"https://api.github.com/users/davidalber","html_url":"https://github.com/davidalber","followers_url":"https://api.github.com/users/davidalber/followers","following_url":"https://api.github.com/users/davidalber/following{/other_user}","gists_url":"https://api.github.com/users/davidalber/gists{/gist_id}","starred_url":"https://api.github.com/users/davidalber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidalber/subscriptions","organizations_url":"https://api.github.com/users/davidalber/orgs","repos_url":"https://api.github.com/users/davidalber/repos","events_url":"https://api.github.com/users/davidalber/events{/privacy}","received_events_url":"https://api.github.com/users/davidalber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidalber/rustfmt","description":"Format Rust code","fork":true,"url":"https://api.github.com/repos/davidalber/rustfmt","forks_url":"https://api.github.com/repos/davidalber/rustfmt/forks","keys_url":"https://api.github.com/repos/davidalber/rustfmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidalber/rustfmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidalber/rustfmt/teams","hooks_url":"https://api.github.com/repos/davidalber/rustfmt/hooks","issue_events_url":"https://api.github.com/repos/davidalber/rustfmt/issues/events{/number}","events_url":"https://api.github.com/repos/davidalber/rustfmt/events","assignees_url":"https://api.github.com/repos/davidalber/rustfmt/assignees{/user}","branches_url":"https://api.github.com/repos/davidalber/rustfmt/branches{/branch}","tags_url":"https://api.github.com/repos/davidalber/rustfmt/tags","blobs_url":"https://api.github.com/repos/davidalber/rustfmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidalber/rustfmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidalber/rustfmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidalber/rustfmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidalber/rustfmt/statuses/{sha}","languages_url":"https://api.github.com/repos/davidalber/rustfmt/languages","stargazers_url":"https://api.github.com/repos/davidalber/rustfmt/stargazers","contributors_url":"https://api.github.com/repos/davidalber/rustfmt/contributors","subscribers_url":"https://api.github.com/repos/davidalber/rustfmt/subscribers","subscription_url":"https://api.github.com/repos/davidalber/rustfmt/subscription","commits_url":"https://api.github.com/repos/davidalber/rustfmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidalber/rustfmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidalber/rustfmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidalber/rustfmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidalber/rustfmt/contents/{+path}","compare_url":"https://api.github.com/repos/davidalber/rustfmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidalber/rustfmt/merges","archive_url":"https://api.github.com/repos/davidalber/rustfmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidalber/rustfmt/downloads","issues_url":"https://api.github.com/repos/davidalber/rustfmt/issues{/number}","pulls_url":"https://api.github.com/repos/davidalber/rustfmt/pulls{/number}","milestones_url":"https://api.github.com/repos/davidalber/rustfmt/milestones{/number}","notifications_url":"https://api.github.com/repos/davidalber/rustfmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidalber/rustfmt/labels{/name}","releases_url":"https://api.github.com/repos/davidalber/rustfmt/releases{/id}","deployments_url":"https://api.github.com/repos/davidalber/rustfmt/deployments","created_at":"2017-11-02T08:10:36Z","updated_at":"2017-11-02T08:10:38Z","pushed_at":"2018-03-02T17:23:00Z","git_url":"git://github.com/davidalber/rustfmt.git","ssh_url":"git@github.com:davidalber/rustfmt.git","clone_url":"https://github.com/davidalber/rustfmt.git","svn_url":"https://github.com/davidalber/rustfmt","homepage":null,"size":6656,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang-nursery:master","ref":"master","sha":"0325d7aabe69747735a7237e748b3c366c722e6c","user":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars1.githubusercontent.com/u/14631425?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"repo":{"id":31830551,"name":"rustfmt","full_name":"rust-lang-nursery/rustfmt","owner":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars1.githubusercontent.com/u/14631425?v=4","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang-nursery/rustfmt","description":"Format Rust code","fork":false,"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt","forks_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/forks","keys_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/teams","hooks_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/hooks","issue_events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/events","assignees_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/tags","blobs_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/languages","stargazers_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/stargazers","contributors_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/contributors","subscribers_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/subscribers","subscription_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/subscription","commits_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/merges","archive_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/downloads","issues_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/deployments","created_at":"2015-03-07T22:51:56Z","updated_at":"2018-03-02T10:33:39Z","pushed_at":"2018-03-02T14:21:39Z","git_url":"git://github.com/rust-lang-nursery/rustfmt.git","ssh_url":"git@github.com:rust-lang-nursery/rustfmt.git","clone_url":"https://github.com/rust-lang-nursery/rustfmt.git","svn_url":"https://github.com/rust-lang-nursery/rustfmt","homepage":null,"size":6685,"stargazers_count":1494,"watchers_count":1494,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":292,"mirror_url":null,"archived":false,"open_issues_count":159,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":292,"open_issues":159,"watchers":1494,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/2504"},"html":{"href":"https://github.com/rust-lang-nursery/rustfmt/pull/2504"},"issue":{"href":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2504"},"comments":{"href":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/2504/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/2504/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/2504/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang-nursery/rustfmt/statuses/b4caa875f22889982b38531893963443dc7a1c0e"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"davidalber"}}