kleros/kleros-v2

View on GitHub
chore: natspec-smell #7268
jaybuidl authored 8496bbc3
complete00:00:41
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.847575 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:51.847613 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.099661 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.099693 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.100983 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.101011 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.105475 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.105513 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.136711 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.136738 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.486901 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.486945 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.805893 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.805933 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.839068 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.839100 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.878414 #1]  WARN -- : Skipping web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.878444 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.916557 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.916589 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.947758 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.947787 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:52.968543 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:52.968572 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.101216 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.101249 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.160370 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.160402 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.166786 #1]  WARN -- : Skipping web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.166821 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.207464 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.207496 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.212819 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.212849 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.221471 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.221501 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.555593 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.555631 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.765222 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.765252 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:53.960358 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:53.960396 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.031897 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.031938 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.034079 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.034110 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.069527 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.069566 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.385394 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.385423 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.558145 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.558175 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.581697 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.581734 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.584062 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.584088 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.587348 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.587383 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.593655 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.593691 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.595298 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.595326 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.597869 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.597907 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.599991 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.600024 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.603052 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.603083 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.659131 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.659170 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.803964 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.804000 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.819739 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.819771 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.832240 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.832269 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.895291 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.895323 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:54.916113 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:54.916151 #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:58.004445 #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:58.004705 #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:59.142179 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.142217 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.445975 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.446034 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.457566 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.457655 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.479327 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.479363 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.512891 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.513026 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:29:59.972069 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:29:59.972406 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.770229 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.770290 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.785370 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.785566 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.873636 #1]  WARN -- : Skipping ./web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.873713 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.907374 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.907523 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.942694 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.942790 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:00.971219 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:00.971271 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.119676 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.119718 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.181434 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.181525 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.193591 #1]  WARN -- : Skipping ./web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.193829 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.231308 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.231533 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.235801 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.235827 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.242781 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.242814 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.614207 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.614502 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:01.947543 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:01.947804 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.198733 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.198769 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.303403 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.303529 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.335857 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.335894 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.375946 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.376081 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:02.792151 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:02.792423 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.024791 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.024944 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.062685 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.062928 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.064545 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.064572 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.066276 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.066304 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.071237 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.071269 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.074386 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.074415 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.075324 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.075360 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.076107 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.076272 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.084166 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.084199 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.126205 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.134624 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.390780 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.390820 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.402073 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.402244 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.431732 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.431958 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.536299 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.536337 #1]  WARN -- : Response status: 422
W, [2024-11-07T19:30:03.557193 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-07T19:30:03.557286 #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.