kleros/kleros-v2

View on GitHub
refactor: rename #7373
jaybuidl authored 4b69a124
complete00:00:34
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:54.975904 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.975933 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:54.981678 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:54.981714 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.019755 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.019836 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.778542 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.778577 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.870455 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.870495 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.884622 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.884744 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:55.912057 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:55.912094 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.071920 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.071959 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.139495 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.139534 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.197519 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.197551 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.203155 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.203190 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.208794 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.208875 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.382057 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.382084 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.506447 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.506564 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.758521 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.758562 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:56.874993 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:56.875030 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.041271 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.041305 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.281871 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.281901 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.299898 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.299928 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.302612 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.302642 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.304601 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.304630 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.307682 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.307717 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.322687 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.322717 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.502564 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.502604 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:57.525803 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:57.525838 #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:50:00.811414 #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:50:00.819636 #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:50:02.237332 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.237469 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.256457 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.256484 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:02.279655 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:02.279717 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.240054 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.240138 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.339232 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.339492 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.350494 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.350525 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.366321 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.366505 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.480710 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.480803 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.522778 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.522972 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.566468 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.566660 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.570037 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.570062 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.572995 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.573029 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.700214 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.700441 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:03.819660 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:03.819871 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.007368 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.007572 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.121275 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.121490 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.235160 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.235222 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.435283 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.435418 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.470266 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.470462 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.472680 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.472713 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.473900 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.473925 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.474884 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.474917 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.487904 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.488099 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.675975 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.676020 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:50:04.698090 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:50:04.698157 #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.