saturnflyer/casting

View on GitHub
Bump patch version #243
Jim Gay authored d9c896a6
errored00:00:16
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
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
W, [2024-04-16T10:55:40.764667 #1]  WARN -- : Skipping lib/casting/missing_method_client.rb due to CC::Parser::Client::HTTPError
W, [2024-04-16T10:55:40.764723 #1]  WARN -- : Response status: 422
W, [2024-04-16T10:55:40.768969 #1]  WARN -- : Skipping lib/casting/client.rb due to CC::Parser::Client::HTTPError
W, [2024-04-16T10:55:40.769007 #1]  WARN -- : Response status: 422
W, [2024-04-16T10:55:40.778339 #1]  WARN -- : Skipping lib/casting/context.rb due to CC::Parser::Client::HTTPError
W, [2024-04-16T10:55:40.778738 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-16T10:55:43.262674 #1]  INFO -- : Skipping file ./lib/casting/missing_method_client.rb due to exception (Racc::ParseError): ./lib/casting/missing_method_client.rb:54 :: parse error on value "..." (tDOT3)

I, [2024-04-16T10:55:43.262757 #1]  INFO -- : Skipping file ./lib/casting/client.rb due to exception (Racc::ParseError): ./lib/casting/client.rb:27 :: parse error on value "..." (tDOT3)

I, [2024-04-16T10:55:43.320187 #1]  INFO -- : Skipping file ./lib/casting/context.rb due to exception (Racc::ParseError): ./lib/casting/context.rb:43 :: parse error on value "," (tCOMMA)
7
reek
reek engine documentation
View output
!!!
        Source 'lib/casting/client.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tDOT3>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
        !!!
        Source 'lib/casting/context.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tDOT3>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
        !!!
        Source 'lib/casting/missing_method_client.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tDOT3>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
8
rubocop
rubocop engine documentation
View output
/usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:122:in `require': cannot load such file -- standard (LoadError)
	from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:122:in `require'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader_resolver.rb:15:in `block in resolve_requires'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader_resolver.rb:11:in `each'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader_resolver.rb:11:in `resolve_requires'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader.rb:38:in `load_file'
	from /usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config_loader.rb:79:in `configuration_from_file'
	from /usr/local/bundle/gems/rubocop-0.52.1/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>'