{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49512","repository_url":"https://api.github.com/repos/Homebrew/homebrew-cask","labels_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49512/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49512/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49512/events","html_url":"https://github.com/Homebrew/homebrew-cask/issues/49512","id":340280262,"node_id":"MDU6SXNzdWUzNDAyODAyNjI=","number":49512,"title":"Error: No such file or directory @ rb_file_s_rename","user":{"login":"phdoerfler","id":163428,"node_id":"MDQ6VXNlcjE2MzQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/163428?v=4","gravatar_id":"","url":"https://api.github.com/users/phdoerfler","html_url":"https://github.com/phdoerfler","followers_url":"https://api.github.com/users/phdoerfler/followers","following_url":"https://api.github.com/users/phdoerfler/following{/other_user}","gists_url":"https://api.github.com/users/phdoerfler/gists{/gist_id}","starred_url":"https://api.github.com/users/phdoerfler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phdoerfler/subscriptions","organizations_url":"https://api.github.com/users/phdoerfler/orgs","repos_url":"https://api.github.com/users/phdoerfler/repos","events_url":"https://api.github.com/users/phdoerfler/events{/privacy}","received_events_url":"https://api.github.com/users/phdoerfler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T14:56:38Z","updated_at":"2018-07-11T16:46:37Z","closed_at":"2018-07-11T16:46:37Z","author_association":"NONE","body":"#### General troubleshooting steps\r\n\r\n- [X] I have retried my command with `--force` and the issue is still present.\r\n- [X] I have checked the instructions for [reporting bugs](https://github.com/Homebrew/homebrew-cask#reporting-bugs).\r\n  - [ ] None of the templates was appropriate for my issue, or I’m not sure.\r\n- [X] I ran `brew update-reset && brew update` and retried my command.\r\n- [X] I ran `brew doctor`, fixed as many issues as possible and retried my command.\r\n  - I have fixed zero of the issues reported there as they appear to be unrelated to this\r\n- [X] I understand that [if I ignore these instructions, my issue may be closed without review](https://github.com/Homebrew/homebrew-cask/blob/master/doc/faq/closing_issues_without_review.md).\r\n\r\n#### Description of issue\r\n\r\nI ran `brew cask upgrade --greedy && brew cask cleanup`. It failed:\r\n\r\n```\r\n==> Purging files for version latest of Cask miniconda\r\nError: uninitialized constant HashValidator::CaskError\r\nDid you mean?  ScanError\r\nFollow the instructions here:\r\n  https://github.com/Homebrew/homebrew-cask#reporting-bugs\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/utils/hash_validator.rb:5:in `assert_valid_keys'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:48:in `initialize'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:14:in `new'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:14:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/installer.rb:26:in `install_phase'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:176:in `block in install_artifacts'\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/set.rb:674:in `each'\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/set.rb:674:in `each'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:168:in `install_artifacts'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb:69:in `block in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb:32:in `each'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb:32:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:33:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:93:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:157:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:122:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'\r\n```\r\n\r\n#### Command that failed\r\n\r\n```\r\nbrew cask upgrade --greedy\r\n```\r\n\r\n#### Output of command with `--force --verbose --debug`\r\n\r\n```\r\n$ brew cask upgrade --greedy --force --verbose --debug\r\nAlias tip: cask upgrade --greedy --force --verbose --debug\r\n==> Determining which containers to use based on 'container :type'\r\n==> Upgrading 6 outdated packages, with result:\r\nminiconda latest, printopia 3.0.11, sourcetree 2.7.6a, suspicious-package 3.3.2, synergy 2.0.12,b1807-50472cde, visual-studio-code 1.25.0,0f080e5267e829de46638128001aeb7ca2d6d50e\r\n==> Started upgrade process for Cask miniconda\r\n==> Determining which containers to use based on 'container :type'\r\n==> Determining which containers to use based on 'container :type'\r\n==> Printing caveats\r\n==> Caveats\r\nTo use miniconda, you may need to add the /usr/local/miniconda3/bin directory\r\nto your PATH environment variable, eg (for bash shell):\r\n\r\n  export PATH=/usr/local/miniconda3/bin:\"$PATH\"\r\n\r\nCask miniconda installs files under /usr/local. The presence of such\r\nfiles can cause warnings when running \"brew doctor\", which is considered\r\nto be a bug in Homebrew-Cask.\r\n\r\n==> Hbc::Installer#fetch\r\n==> Satisfying dependencies\r\n==> Downloading\r\n==> Downloading https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh\r\n/usr/bin/curl -q --show-error --user-agent Homebrew/1.6.13 (Macintosh; Intel Mac OS X 10.13.5) curl/7.54.0 --fail --location --remote-time --continue-at - --output /Users/phi/Library/Caches/Homebrew/Cask/miniconda--latest.sh.incomplete https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 34.9M  100 34.9M    0     0  14.6M      0  0:00:02  0:00:02 --:--:-- 14.7M\r\n==> Downloaded to -> /Users/phi/Library/Caches/Homebrew/Cask/miniconda--latest.sh\r\n==> Verifying download\r\n==> Determining which verifications to run for Cask miniconda\r\n==> Checking for verification class Hbc::Verify::Checksum\r\n==> No checksum defined for Cask miniconda, skipping verification\r\n==> 0 verifications defined\r\n==> Starting upgrade for Cask miniconda\r\n==> Un-installing artifacts\r\n==> 3 artifact/s defined\r\n#<SortedSet:0x00000103e112a8>\r\n==> Un-installing artifact of class Hbc::Artifact::Uninstall\r\n==> Running uninstall process for miniconda; your password may be necessary\r\n==> Removing files:\r\n/usr/local/miniconda3\r\n==> Executing: [\"/usr/bin/sudo\", \"-E\", \"PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm\", \"--\", \"/usr/bin/xargs\", \"-0\", \"--\", \"/bin/rm\", \"-r\", \"-f\", \"--\"]\r\n==> Un-installing artifact of class Hbc::Artifact::PostflightBlock\r\nError: No such file or directory @ rb_file_s_rename - (/usr/local/Caskroom/miniconda/latest, /usr/local/Caskroom/miniconda/latest.upgrading)\r\nFollow the instructions here:\r\n  https://github.com/Homebrew/homebrew-cask#reporting-bugs\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:369:in `rename'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:369:in `rename'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:369:in `backup'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:365:in `start_upgrade'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb:62:in `block in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb:32:in `each'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb:32:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:33:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:93:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:157:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:122:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'\r\nError: Kernel.exit\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `exit'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `rescue in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:146:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:122:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'\r\n```\r\n\r\n#### Output of `brew cask doctor`\r\n\r\n```\r\n$ brew cask doctor\r\nAlias tip: cask doctor\r\n==> Homebrew-Cask Version\r\nHomebrew-Cask 1.6.13\r\nHomebrew/homebrew-cask (git revision 153b2; last commit 2018-07-11)\r\n==> macOS\r\n10.13.5\r\n==> SIP\r\nEnabled\r\n==> Java\r\n10.0.1, 1.8.0_144, 1.8.0_131, 1.8.0_112, 1.8.0_45, 1.7.0_79\r\n==> Homebrew-Cask Install Location\r\n<NONE>\r\n==> Homebrew-Cask Staging Location\r\n/usr/local/Caskroom\r\n==> Homebrew-Cask Cached Downloads\r\n~/Library/Caches/Homebrew/Cask (12 files, 1GB)\r\n==> Homebrew-Cask Taps:\r\n/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3994 casks)\r\n/usr/local/Homebrew/Library/Taps/railwaycat/homebrew-emacsmacport (2 casks)\r\n/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions (185 casks)\r\n==> Contents of $LOAD_PATH\r\n/usr/local/Homebrew/Library/Homebrew\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby/2.3.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby/2.3.0/universal-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby/2.3.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/x86_64-darwin9.0\r\n/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/universal-darwin9.0\r\n==> Environment Variables\r\nLC_ALL=\"en_US.UTF-8\"\r\nPATH=\"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm\"\r\nSHELL=\"/usr/local/bin/zsh\"\r\n```\r\n\r\n#### Output of `brew tap`\r\n\r\n```\r\n$ brew tap\r\nbuo/cask-upgrade\r\nhomebrew/boneyard\r\nhomebrew/cask\r\nhomebrew/cask-versions\r\nhomebrew/core\r\nhomebrew/dupes\r\nhomebrew/fuse\r\nhomebrew/games\r\nhomebrew/python\r\nhomebrew/science\r\nhomebrew/versions\r\nhomebrew/x11\r\nmartido/brew-graph\r\nrailwaycat/emacsmacport\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/comments/404236824","html_url":"https://github.com/Homebrew/homebrew-cask/issues/49512#issuecomment-404236824","issue_url":"https://api.github.com/repos/Homebrew/homebrew-cask/issues/49512","id":404236824,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDIzNjgyNA==","user":{"login":"reitermarkus","id":1309829,"node_id":"MDQ6VXNlcjEzMDk4Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1309829?v=4","gravatar_id":"","url":"https://api.github.com/users/reitermarkus","html_url":"https://github.com/reitermarkus","followers_url":"https://api.github.com/users/reitermarkus/followers","following_url":"https://api.github.com/users/reitermarkus/following{/other_user}","gists_url":"https://api.github.com/users/reitermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/reitermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reitermarkus/subscriptions","organizations_url":"https://api.github.com/users/reitermarkus/orgs","repos_url":"https://api.github.com/users/reitermarkus/repos","events_url":"https://api.github.com/users/reitermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/reitermarkus/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T16:46:37Z","updated_at":"2018-07-11T16:46:37Z","author_association":"MEMBER","body":"This is fixed now."}}
{"actor":{"display_login":"reitermarkus"}}