kleros/kleros-v2

View on GitHub
chore(deps): bump actions/checkout from 3 to 4 #7331
dependabot[bot] authored 87763398
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-08T11:49:31.768947 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.768988 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.006451 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.006489 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.007877 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.007905 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.012483 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.012515 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.039271 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.039301 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.368863 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.368904 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.679447 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.679501 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.711119 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.711158 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.768338 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.768368 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.779563 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.779593 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.796662 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.796692 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.816795 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.816832 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.930108 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.930145 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.970886 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.970916 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.008396 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.008426 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.011921 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.011956 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.016706 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.016740 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.293563 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.293591 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.437707 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.437736 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.618850 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.618878 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.704181 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.704210 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.001724 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.001752 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.179175 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.179207 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.200084 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.200114 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.202378 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.202405 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.203826 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.203855 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.209640 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.209666 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.210938 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.210964 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.212466 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.212493 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.213816 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.213842 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.215637 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.215664 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.230999 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.231028 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.357875 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.357915 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.374142 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.374168 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.385865 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.385894 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.448116 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.448149 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.457897 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.457926 #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:37.730291 #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:49:37.731396 #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:49:38.896398 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.896451 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.230987 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.231028 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.249470 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.249523 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.256537 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.256580 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.296115 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.297416 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.742520 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.742643 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.574004 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.574189 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.591958 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.592042 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.701286 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.701532 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.718181 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.718739 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.734107 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.734294 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.765043 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.765074 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.959984 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.960027 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.004942 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.005205 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.055889 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.055925 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.060194 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.060223 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.063666 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.063696 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.486075 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.486107 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.762639 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.762733 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.131682 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.131957 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.267098 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.267131 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.779215 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.779414 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.057706 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.076163 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.091195 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.091319 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.106062 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.106378 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.107856 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.107885 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.114059 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.114091 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.120076 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.120110 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.120731 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.120756 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.122712 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.122744 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.124276 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.124306 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.135815 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.135856 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.375611 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.375666 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.377692 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.377728 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.413874 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.413958 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.503894 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.504124 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.517260 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.524843 #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.