kleros/kleros-v2

View on GitHub
chore(deps-dev): bump @graphql-codegen/cli from 4.0.1 to 5.0.2 #7267
dependabot[bot] authored 9e966211
complete00:00:39
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-07T19:29:51.479092 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:51.479145 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:51.729164 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:51.729214 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:51.730814 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:51.730855 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:51.736221 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:51.736257 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:51.765383 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:51.765421 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.099361 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.099400 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.414657 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.414696 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.447322 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.447367 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.489170 #1]  WARN -- : Skipping web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.489216 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.527668 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.527713 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.553690 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.553723 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.574020 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.574062 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.709512 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.709556 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.774382 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.774417 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.780576 #1]  WARN -- : Skipping web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.780608 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.819341 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.819386 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.823427 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.823469 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.830996 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.831036 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.165398 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.165441 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.381266 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.381308 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.576670 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.576715 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.641084 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.641137 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.643314 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.643352 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.678591 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.678629 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.982116 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.982153 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.151966 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.152004 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.173733 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.173763 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.175981 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.176009 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.179176 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.179204 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.185734 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.185769 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.187172 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.187204 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.189035 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.189063 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.190370 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.190396 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.192271 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.192296 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.235799 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.235832 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.363055 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.363088 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.379653 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.379684 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.391449 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.391483 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.453470 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.453507 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.466879 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.466923 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-07T19:29:57.654201 #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-07T19:29:57.654357 #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-07T19:29:58.801092 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:58.801151 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.085172 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.085266 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.087431 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.087499 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.108363 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.108417 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.137971 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.138053 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.643583 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.643900 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.292206 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.292587 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.312278 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.312478 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.401259 #1]  WARN -- : Skipping ./web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.401546 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.439514 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.439814 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.469104 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.469424 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.497064 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.497151 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.641893 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.642202 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.703743 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.703808 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.711905 #1]  WARN -- : Skipping ./web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.712165 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.750522 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.750821 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.755379 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.755426 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.760411 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.760471 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.164621 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.164944 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.485436 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.485765 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.743683 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.743987 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.871882 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.872008 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.882386 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.882436 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.917273 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.917354 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.293521 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.293826 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.508771 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.508859 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.544608 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.545010 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.547400 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.547437 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.550401 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.550437 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.555625 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.555660 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.556339 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.556370 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.558176 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.558208 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.559116 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.559147 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.560301 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.560331 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.626296 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.626654 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.886454 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.886499 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.894962 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.895037 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.923956 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.924031 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.015946 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.016015 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.026715 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.033492 #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.