consul/consul

View on GitHub
Merge pull request #5111 from consul/remove_marker_accessibility #51643
Javi Martín authored 287f483f
errored00:01:15
An engine encountered an error
E10 Error

We had trouble running the rubocop engine.

The engine's output shown below may indicate the cause of the error.

If not, please contact us so we can investigate further.

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2023-05-23T09:36:01.720091 #1]  WARN -- : Skipping app/models/tenant.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:01.720142 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:01.909530 #1]  WARN -- : Skipping app/helpers/map_locations_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:01.909572 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:04.355442 #1]  WARN -- : Skipping app/components/admin/budgets/groups_and_headings_component.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:04.355530 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:05.643727 #1]  WARN -- : Skipping spec/rails_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:05.643758 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:25.225578 #1]  WARN -- : Skipping config/initializers/globalize.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:25.225607 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2023-05-23T09:36:28.930262 #1]  INFO -- : Skipping file ./app/models/tenant.rb due to exception (Racc::ParseError): ./app/models/tenant.rb:2 :: parse error on value ":" (tCOLON)

I, [2023-05-23T09:36:29.009223 #1]  INFO -- : Skipping file ./app/helpers/map_locations_helper.rb due to exception (Racc::ParseError): ./app/helpers/map_locations_helper.rb:6 :: parse error on value "..." (tDOT3)

I, [2023-05-23T09:36:30.167068 #1]  INFO -- : Skipping file ./app/components/admin/budgets/groups_and_headings_component.rb due to exception (Racc::ParseError): ./app/components/admin/budgets/groups_and_headings_component.rb:10 :: parse error on value "..." (tDOT3)

I, [2023-05-23T09:36:30.720679 #1]  INFO -- : Skipping file ./spec/rails_helper.rb due to exception (Racc::ParseError): ./spec/rails_helper.rb:30 :: parse error on value "..." (tDOT3)

I, [2023-05-23T09:36:45.459442 #1]  INFO -- : Skipping file ./config/initializers/globalize.rb due to exception (Racc::ParseError): ./config/initializers/globalize.rb:4 :: parse error on value "..." (tDOT3)
7
rubocop
rubocop engine documentation
View output
.rubocop.yml: Layout/LineLength has the wrong namespace - should be Metrics
Warning: unrecognized cop Layout/AssignmentIndentation found in .rubocop.yml
Warning: unrecognized cop Layout/HeredocIndentation found in .rubocop.yml
Warning: unrecognized cop Layout/IndentationStyle found in .rubocop.yml
Warning: unrecognized cop Layout/LeadingEmptyLines found in .rubocop.yml
Warning: unrecognized cop Layout/LineEndStringConcatenationIndentation found in .rubocop.yml
Warning: unrecognized cop Layout/SpaceAroundMethodCallOperator found in .rubocop.yml
Warning: unrecognized cop Layout/TrailingEmptyLines found in .rubocop.yml
Warning: unrecognized cop Lint/ConstantDefinitionInBlock found in .rubocop.yml
Warning: unrecognized cop Lint/DuplicateBranch found in .rubocop.yml
Warning: unrecognized cop Lint/EmptyBlock found in .rubocop.yml
Warning: unrecognized cop Lint/EmptyFile found in .rubocop.yml
Warning: unrecognized cop Lint/NonAtomicFileOperation found in .rubocop.yml
Warning: unrecognized cop Lint/RedundantStringCoercion found in .rubocop.yml
Warning: unrecognized cop Lint/SymbolConversion found in .rubocop.yml
Warning: unrecognized cop Performance/BlockGivenWithExplicitBlock found in .rubocop.yml
Warning: unrecognized cop Performance/StringIdentifierArgument found in .rubocop.yml
Warning: unrecognized cop Performance/Sum found in .rubocop.yml
Warning: unrecognized cop Rails/ActiveRecordCallbacksOrder found in .rubocop.yml
Warning: unrecognized cop Rails/AddColumnIndex found in .rubocop.yml
Warning: unrecognized cop Rails/DurationArithmetic found in .rubocop.yml
Warning: unrecognized cop Rails/I18nLocaleAssignment found in .rubocop.yml
Warning: unrecognized cop Rails/Pick found in .rubocop.yml
Warning: unrecognized cop Rails/PluckId found in .rubocop.yml
Warning: unrecognized cop Rails/RedundantTravelBack found in .rubocop.yml
Warning: unrecognized cop Rails/UniqueValidationWithoutIndex found in .rubocop.yml
Warning: unrecognized cop Rails/WhereEquals found in .rubocop.yml
Warning: unrecognized cop Rails/WhereNot found in .rubocop.yml
Warning: unrecognized cop RSpec/Capybara/CurrentPathExpectation found in .rubocop.yml
Warning: unrecognized cop RSpec/Capybara/FeatureMethods found in .rubocop.yml
Warning: unrecognized cop RSpec/Capybara/VisibilityMatcher found in .rubocop.yml
Warning: unrecognized cop RSpec/ContextMethod found in .rubocop.yml
Warning: unrecognized cop RSpec/EmptyHook found in .rubocop.yml
Warning: unrecognized cop RSpec/EmptyLineAfterExample found in .rubocop.yml
Warning: unrecognized cop RSpec/FactoryBot/FactoryClassName found in .rubocop.yml
Warning: unrecognized cop RSpec/RepeatedExampleGroupBody found in .rubocop.yml
Warning: unrecognized cop RSpec/RepeatedExampleGroupDescription found in .rubocop.yml
Warning: unrecognized cop Style/AccessorGrouping found in .rubocop.yml
Warning: unrecognized cop Style/ArrayCoercion found in .rubocop.yml
Warning: unrecognized cop Style/FileRead found in .rubocop.yml
Warning: unrecognized cop Style/FileWrite found in .rubocop.yml
Warning: unrecognized cop Style/HashConversion found in .rubocop.yml
Warning: unrecognized cop Style/HashExcept found in .rubocop.yml
Warning: unrecognized cop Style/HashTransformKeys found in .rubocop.yml
Warning: unrecognized cop Style/HashTransformValues found in .rubocop.yml
Warning: unrecognized cop Style/IfWithBooleanLiteralBranches found in .rubocop.yml
Warning: unrecognized cop Style/MapToHash found in .rubocop.yml
Warning: unrecognized cop Style/NegatedIfElseCondition found in .rubocop.yml
Warning: unrecognized cop Style/RedundantArgument found in .rubocop.yml
Warning: unrecognized cop Style/RedundantCondition found in .rubocop.yml
Warning: unrecognized cop Style/RedundantFileExtensionInRequire found in .rubocop.yml
Warning: unrecognized cop Style/RedundantInterpolation found in .rubocop.yml
Warning: unrecognized cop Style/SoleNestedConditional found in .rubocop.yml
Warning: unrecognized cop Style/StringChars found in .rubocop.yml
/usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_validator.rb:98:in `check_target_ruby': RuboCop found unknown Ruby version 3.0 in `.ruby-version`. (RuboCop::ValidationError)
Supported versions: 2.3, 2.4, 2.5, 2.6, 2.7
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_validator.rb:47:in `validate'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config.rb:39:in `check'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config.rb:32:in `create'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_loader.rb:54:in `load_file'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_loader.rb:86:in `configuration_from_file'
	from /usr/local/bundle/gems/rubocop-0.74.0/lib/rubocop/config_store.rb:44:in `for'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:38:in `rubocop_file_to_include?'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:16:in `block in expanded_list'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:13:in `each'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:13:in `flat_map'
	from /usr/src/app/lib/cc/engine/file_list_resolver.rb:13:in `expanded_list'
	from /usr/src/app/lib/cc/engine/rubocop.rb:49:in `files_to_inspect'
	from /usr/src/app/lib/cc/engine/rubocop.rb:29:in `block in run'
	from /usr/src/app/lib/cc/engine/rubocop.rb:28:in `chdir'
	from /usr/src/app/lib/cc/engine/rubocop.rb:28:in `run'
	from /usr/src/app/bin/codeclimate-rubocop:17:in `<main>'