kleros/kleros-v2

View on GitHub
fix: interface changes after merge #7357
jaybuidl authored 967e78f4
complete00:00:31
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
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, [2024-11-08T11:49:43.260608 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.260637 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.264519 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.264545 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.300381 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.300410 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.815855 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.815890 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.871008 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.871048 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.879349 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.879374 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.890674 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.890708 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.015110 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.015148 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.048576 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.048607 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.094868 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.094910 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.101588 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.101625 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.107203 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.107239 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.221832 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.221869 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.318811 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.318852 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.489629 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.489669 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.865444 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.865492 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.886173 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.886205 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.888536 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.888563 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.890343 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.890369 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.892183 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.892212 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.907856 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.907885 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.020529 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.020569 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.037169 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.037198 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-08T11:49:48.081514 #1]  INFO -- : Skipping file ./bot-pinner/src/tooling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    r = requests.post(f"{IPFS}/version")
                                      ^
SyntaxError: invalid syntax


I, [2024-11-08T11:49:48.081671 #1]  INFO -- : Skipping file ./bot-pinner/src/add_hashes.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    logger.info(f"Cycle starting from block #{block_number}. WANTED HASHES: {len(hashes_wanted)}")
                                                                                                ^
SyntaxError: invalid syntax


W, [2024-11-08T11:49:49.467799 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:49.467867 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:49.500776 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:49.500814 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:49.538789 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:49.539354 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.430080 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.430145 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.531317 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.531390 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.541690 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.541955 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.554616 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.554651 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.705507 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.705571 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.743852 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.744361 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.807429 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.807697 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.811971 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.812000 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.816383 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.816412 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:50.964606 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:50.964849 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.086330 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.086393 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.282613 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.282872 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.841453 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.841502 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.885197 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.885527 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.888697 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.888725 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.890381 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.890414 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.891505 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.891531 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:51.899657 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:51.911915 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.247683 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.247772 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:52.257461 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:52.257552 #1]  WARN -- : Response status: 422
7
tslint
tslint engine documentation
View output
Could not find implementations for the following rules specified in the configuration:
    angular-whitespace
    banana-in-box
    templates-no-negated-async
    directive-selector
    component-selector
    use-input-property-decorator
    use-output-property-decorator
    use-host-property-decorator
    use-view-encapsulation
    no-attribute-parameter-decorator
    no-input-rename
    no-output-rename
    no-output-on-prefix
    no-forward-ref
    use-life-cycle-interface
    contextual-life-cycle
    trackBy-function
    use-pipe-transform-interface
    pipe-naming
    component-class-suffix
    directive-class-suffix
    no-case-with-or
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.