consul/consul

View on GitHub
Remove unused code #51642
taitus authored 5b71f72d
errored00:01:19
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
docker pull codeclimate/codeclimate-scss-lint:b923
b923: Pulling from codeclimate/codeclimate-scss-lint
89d9c30c1d48: Pulling fs layer
81839f6c7e4a: Pulling fs layer
74d1ce2ee2b7: Pulling fs layer
b5a157b0fb9c: Pulling fs layer
dd1c732d3e5f: Pulling fs layer
4d12385a7ddf: Pulling fs layer
2410ac55e38d: Pulling fs layer
a6fe9a345a83: Pulling fs layer
e26530f6adf2: Pulling fs layer
568932f817a3: Pulling fs layer
8f90fb780bef: Pulling fs layer
b5a157b0fb9c: Waiting
dd1c732d3e5f: Waiting
4d12385a7ddf: Waiting
a6fe9a345a83: Waiting
2410ac55e38d: Waiting
e26530f6adf2: Waiting
568932f817a3: Waiting
8f90fb780bef: Waiting
81839f6c7e4a: Download complete
89d9c30c1d48: Verifying Checksum
89d9c30c1d48: Download complete
74d1ce2ee2b7: Download complete
89d9c30c1d48: Pull complete
dd1c732d3e5f: Verifying Checksum
dd1c732d3e5f: Download complete
4d12385a7ddf: Verifying Checksum
4d12385a7ddf: Download complete
81839f6c7e4a: Pull complete
b5a157b0fb9c: Download complete
a6fe9a345a83: Verifying Checksum
a6fe9a345a83: Download complete
74d1ce2ee2b7: Pull complete
2410ac55e38d: Verifying Checksum
2410ac55e38d: Download complete
568932f817a3: Verifying Checksum
568932f817a3: Download complete
8f90fb780bef: Download complete
e26530f6adf2: Verifying Checksum
e26530f6adf2: Download complete
b5a157b0fb9c: Pull complete
dd1c732d3e5f: Pull complete
4d12385a7ddf: Pull complete
2410ac55e38d: Pull complete
a6fe9a345a83: Pull complete
e26530f6adf2: Pull complete
568932f817a3: Pull complete
8f90fb780bef: Pull complete
Digest: sha256:c807e0eea9f03549ed0b01056af7a71b3348a11890a0fe2c2a0837ea658d0816
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-scss-lint:b923
docker pull codeclimate/codeclimate-markdownlint:b899
b899: Pulling from codeclimate/codeclimate-markdownlint
fc7181108d40: Pulling fs layer
fb832b8d529e: Pulling fs layer
f928adca00a3: Pulling fs layer
b83899fd2d55: Pulling fs layer
28b20e0f6f6d: Pulling fs layer
08fb5f231db7: Pulling fs layer
f38c4e552cb4: Pulling fs layer
55842d8caf87: Pulling fs layer
1714cd20476b: Pulling fs layer
56a5ac5fa648: Pulling fs layer
43c3c1d360a9: Pulling fs layer
d05637603ec0: Pulling fs layer
905f23712bf9: Pulling fs layer
eb5a5c105220: Pulling fs layer
b83899fd2d55: Waiting
56a5ac5fa648: Waiting
43c3c1d360a9: Waiting
28b20e0f6f6d: Waiting
08fb5f231db7: Waiting
d05637603ec0: Waiting
f38c4e552cb4: Waiting
905f23712bf9: Waiting
55842d8caf87: Waiting
1714cd20476b: Waiting
f928adca00a3: Verifying Checksum
f928adca00a3: Download complete
fb832b8d529e: Verifying Checksum
fb832b8d529e: Download complete
fc7181108d40: Verifying Checksum
fc7181108d40: Download complete
28b20e0f6f6d: Verifying Checksum
28b20e0f6f6d: Download complete
b83899fd2d55: Verifying Checksum
b83899fd2d55: Download complete
08fb5f231db7: Verifying Checksum
08fb5f231db7: Download complete
f38c4e552cb4: Download complete
55842d8caf87: Download complete
56a5ac5fa648: Verifying Checksum
56a5ac5fa648: Download complete
43c3c1d360a9: Download complete
d05637603ec0: Download complete
fc7181108d40: Pull complete
905f23712bf9: Verifying Checksum
905f23712bf9: Download complete
eb5a5c105220: Verifying Checksum
eb5a5c105220: Download complete
fb832b8d529e: Pull complete
f928adca00a3: Pull complete
1714cd20476b: Verifying Checksum
1714cd20476b: Download complete
b83899fd2d55: Pull complete
28b20e0f6f6d: Pull complete
08fb5f231db7: Pull complete
f38c4e552cb4: Pull complete
55842d8caf87: Pull complete
1714cd20476b: Pull complete
56a5ac5fa648: Pull complete
43c3c1d360a9: Pull complete
d05637603ec0: Pull complete
905f23712bf9: Pull complete
eb5a5c105220: Pull complete
Digest: sha256:482ba0cc7d87edf77cc280a8550578f40adf0e2514c3744317761f3092c7239c
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-markdownlint:b899
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2023-05-23T09:36:08.038730 #1]  WARN -- : Skipping app/models/tenant.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:08.038762 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:08.190075 #1]  WARN -- : Skipping app/helpers/map_locations_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:08.190110 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:10.360781 #1]  WARN -- : Skipping app/components/admin/budgets/groups_and_headings_component.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:10.360816 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:11.415414 #1]  WARN -- : Skipping spec/rails_helper.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:11.415452 #1]  WARN -- : Response status: 422
W, [2023-05-23T09:36:30.461623 #1]  WARN -- : Skipping config/initializers/globalize.rb due to CC::Parser::Client::HTTPError
W, [2023-05-23T09:36:30.461656 #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:34.059690 #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:34.135283 #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:35.155788 #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:35.708357 #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:49.893510 #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>'