kleros/kleros-v2

View on GitHub
chore(deps): bump word-wrap from 1.2.3 to 1.2.5 #7333
dependabot[bot] authored 709636d1
complete00:00:37
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:33.017253 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.017286 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.234669 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.234696 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.235809 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.235836 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.240048 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.240074 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.264704 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.264729 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.580021 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.580050 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.845777 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.845813 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.873316 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.873343 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.933771 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.933799 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.942487 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.942514 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.957835 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.957860 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.975581 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.975607 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.094923 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.094956 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.143253 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.143288 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.186768 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.186800 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.189434 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.189460 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.193920 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.193954 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.488603 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.488631 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.622423 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.622677 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.804373 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.804409 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.887353 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.887381 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.211760 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.211797 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.382806 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.382833 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.398994 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.399021 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.400460 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.400496 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.403262 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.403296 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.413218 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.413244 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.414495 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.414522 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.415988 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.416014 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.417770 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.417795 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.419515 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.419539 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.456464 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.456491 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.571855 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.571898 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.587096 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.587122 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.597745 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.597770 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.650973 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.651002 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.660917 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.660944 #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:38.763580 #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:38.763797 #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:39.880646 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.880688 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.149492 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.149578 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.151364 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.151450 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.170472 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.170499 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.194364 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.194440 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.633322 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.633590 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.267196 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.267244 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.281380 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.281637 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.386310 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.386475 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.398460 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.398506 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.415968 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.416007 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.447394 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.447431 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.574493 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.574699 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.624479 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.624551 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.676520 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.676553 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.679434 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.679467 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.681948 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.681980 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.003029 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.003091 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.192499 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.192573 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.397338 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.397541 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.485091 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.485161 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.929619 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.929832 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.179819 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.179889 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.218492 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.218726 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.220078 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.220103 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.222281 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.222313 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.225003 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.225093 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.229337 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.229368 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.230068 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.230093 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.231152 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.231183 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.232594 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.232619 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.274505 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.282981 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.496664 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.496706 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.503793 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.503870 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.526411 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.526467 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.605088 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.605277 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.610503 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.618465 #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.