bump-packages: `brew style --fix` failed!
Goooler opened this issue · comments
- Workflow running: https://github.com/Goooler/homebrew-repo/actions/runs/9145410535/job/25144312972
- Workflow file: https://github.com/Goooler/homebrew-repo/blob/main/.github/workflows/autobump.yml
- Related cask file: https://github.com/Goooler/homebrew-repo/blob/main/Casks/kotlin-explorer.rb
- Error:
Failure while executing; `/usr/bin/env XDG_CACHE_HOME=/Users/runner/Library/Caches/Homebrew/style /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.1/bin/ruby -W1 --disable=gems,rubyopt -- /opt/homebrew/Library/Homebrew/utils/rubocop.rb --format json --force-exclusion --autocorrect-all --except FormulaAuditStrict --config /opt/homebrew/Library/.rubocop.yml /opt/homebrew/Library/Taps/goooler/homebrew-repo/Casks/kotlin-explorer.rb` exited with 2. Here's the output:
Infinite loop detected in /opt/homebrew/Library/Taps/goooler/homebrew-repo/Casks/kotlin-explorer.rb and caused by Cask/Desc
Hint: Please update to the latest RuboCop version if not already in use, and report a bug if the issue still occurs on this version.
Please check the latest version at https://rubygems.org/gems/rubocop.
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:336:in `check_for_infinite_loop'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:319:in `block in iterate_until_no_changes'
<internal:kernel>:187:in `loop'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:318:in `iterate_until_no_changes'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:287:in `do_inspection_loop'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:168:in `block in file_offenses'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:193:in `file_offense_cache'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-md-1.2.2/lib/rubocop/markdown/rubocop_ext.rb:59:in `file_offense_cache'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:167:in `file_offenses'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:158:in `process_file'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:139:in `block in each_inspected_file'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:138:in `each'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:138:in `reduce'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:138:in `each_inspected_file'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:124:in `inspect_files'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/runner.rb:77:in `run'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli/command/execute_runner.rb:26:in `block in execute_runner'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli/command/execute_runner.rb:52:in `with_redirect'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli/command/execute_runner.rb:25:in `execute_runner'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli/command/execute_runner.rb:17:in `run'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli/command.rb:11:in `run'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli/environment.rb:18:in `run'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli.rb:122:in `run_command'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli.rb:129:in `execute_runners'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli.rb:51:in `block in run'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli.rb:81:in `profile_if_needed'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/rubocop-1.63.5/lib/rubocop/cli.rb:43:in `run'
`brew style --fix` failed!