kleros/kleros-v2

View on GitHub
chore(deps-dev): bump lru-cache from 7.18.3 to 10.2.0 #7371
dependabot[bot] authored bfd35338
complete00:00:44
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:55.414113 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.414162 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.839459 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.839513 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.841471 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.841510 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.848978 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.849019 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.891707 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.891957 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.393906 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.393997 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.791727 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.791777 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.832123 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.832235 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.922114 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.922170 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.938944 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.939004 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.983659 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.983716 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.020515 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.020581 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.250601 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.250664 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.329269 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.329309 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.399246 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.399303 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.403379 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.403466 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.412618 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.412726 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.923465 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.923521 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:58.124837 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:58.124890 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:58.343193 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:58.343233 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:58.454658 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:58.454691 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:58.874520 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:58.874554 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.133300 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.133349 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.160631 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.160672 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.163310 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.163357 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.167495 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.167537 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.175213 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.175245 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.177546 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.177576 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.181439 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.181470 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.183105 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.183135 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.185247 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.185276 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.243956 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.244004 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.440790 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.440842 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.465789 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.465834 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.483503 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.483553 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.585541 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.585844 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:59.604014 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:59.604322 #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:50:02.952021 #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


I, [2024-11-08T11:50:02.954139 #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


W, [2024-11-08T11:50:04.207300 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.207418 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.638852 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.638903 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.641079 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.641191 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.644849 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.645157 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.679409 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.679889 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:05.290510 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:05.290817 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.118581 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.118624 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.132261 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.132553 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.258607 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.258714 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.277086 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.277427 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.310324 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.310604 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.352602 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.352887 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.542201 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.550242 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.627919 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.627976 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.697443 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.697514 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.703917 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.703966 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:06.708205 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:06.708248 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:07.219461 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:07.219809 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:07.471087 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:07.471220 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:07.804345 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:07.804754 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.011256 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.011581 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.540466 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.540866 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.870839 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.871247 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.886808 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.887212 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.914723 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.923869 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.918932 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.924333 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.927294 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.927434 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.930234 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.930451 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.935293 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.935394 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.946384 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.946438 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:08.955819 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:08.955926 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:09.010690 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:09.031933 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:09.344510 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:09.344809 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:09.357049 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:09.357306 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:09.391388 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:09.391551 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:09.512905 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:09.512988 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:09.517428 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:09.517465 #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.