kleros/kleros-v2

View on GitHub
chore: contract-testing node version #7332
jaybuidl authored c4d364c3
complete00:00:38
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:32.939986 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.940028 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.190654 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.190693 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.192292 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.192322 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.196654 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.196682 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.223695 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.223725 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.536148 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.536210 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.828568 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.828611 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.860435 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.860472 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.916990 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.917019 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.927886 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.927921 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.944499 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.944527 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.967086 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.967125 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.090620 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.090658 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.134097 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.134140 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.176046 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.176078 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.179219 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.179248 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.182873 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.182910 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.479814 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.479848 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.647918 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.647951 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.827380 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.827417 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.939149 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.939208 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.242087 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.242116 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.417381 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.417413 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.437089 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.437117 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.440507 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.440534 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.442565 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.442593 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.450738 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.450765 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.453320 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.453345 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.455267 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.455293 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.457950 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.457976 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.460060 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.460092 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.478495 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.478530 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.605771 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.605832 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.621816 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.621883 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.635428 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.635460 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.695972 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.696004 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.705679 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.705706 #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.756598 #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.756737 #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.902825 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.902876 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.187858 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.188211 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.190667 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.206423 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.211175 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.211230 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.238444 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.238558 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.692081 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.692126 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.310797 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.310853 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.324390 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.324653 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.426819 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.426868 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.434822 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.434874 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.450980 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.451049 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.479230 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.479265 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.614138 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.614254 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.655263 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.655322 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.705024 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.705401 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.709820 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.709874 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.715828 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.715945 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.139962 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.140083 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.349535 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.349637 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.596396 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.596837 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.710119 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.710214 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.177956 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.178076 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.422565 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.422683 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.453674 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.453829 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.474704 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.474739 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.476482 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.476516 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.479094 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.479172 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.482997 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.483023 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.485159 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.485204 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.485704 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.485889 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.488292 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.488326 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.499943 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.512004 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.751891 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.751939 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.760460 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.760575 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.791028 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.791122 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.873254 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.873504 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.880079 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.889238 #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.