kleros/kleros-v2

View on GitHub
chore: pr labels workflow #7335
jaybuidl authored 57df84a7
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:34.233740 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.233773 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.449811 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.449839 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.450929 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.450959 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.455177 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.455202 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.480946 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.480972 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.860561 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.860592 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.175776 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.175824 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.224595 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.224622 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.285503 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.285529 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.298097 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.298123 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.317345 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.317371 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.336678 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.336706 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.457796 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.457827 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.507773 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.507812 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.564680 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.564717 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.568300 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.568329 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.573365 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.573394 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.883694 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.883732 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.034524 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.034553 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.193108 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.193134 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.274673 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.274700 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.586117 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.586152 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.777800 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.777826 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.794132 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.794158 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.795586 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.795612 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.798102 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.798129 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.805997 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.806022 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.807304 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.807329 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.808899 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.808937 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.810252 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.810276 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.811960 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.811983 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.850439 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.850472 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.989172 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.989200 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.003450 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.003477 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.015349 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.015384 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.076502 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.076527 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.085809 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.085834 #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:40.132036 #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:40.134372 #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:41.311006 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.311048 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.626116 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.626197 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.629260 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.629349 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.650212 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.650258 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.687039 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.687108 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.119204 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.119270 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.875482 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.875541 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.892777 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.892848 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.002448 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.002654 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.012833 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.013028 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.037893 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.037956 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.077247 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.077274 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.230284 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.230358 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.285620 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.285720 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.337586 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.337788 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.342152 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.342178 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.345778 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.345886 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.752418 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.752669 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.988729 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.988795 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.229281 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.229461 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.328192 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.328252 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.790112 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.790306 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.064413 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.064493 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.094549 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.106819 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.108618 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.108736 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.111058 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.111085 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.113630 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.113697 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.117202 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.117227 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.118123 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.118149 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.118818 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.118849 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.119959 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.119983 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.168995 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.177608 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.412564 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.412609 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.422189 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.422315 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.454903 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.454993 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.538294 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.538374 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.543666 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.549840 #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.