kleros/kleros-v2

View on GitHub
Merge pull request #1471 from kleros/chore(web)/standard-ipfs-url #7328
Aleix authored 35dbd957
complete00:00:40
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:30.846116 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.846151 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.090322 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.090386 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.091766 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.091803 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.097822 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.097856 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.127105 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.127137 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.454528 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.454561 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.747110 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.747159 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.778036 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.778067 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.820775 #1]  WARN -- : Skipping web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.820801 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.853120 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.853147 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.876238 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.876263 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.894809 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.894834 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.010853 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.010884 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.063156 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.063188 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.101987 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.102028 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.105589 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.105616 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.107806 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.107831 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.416624 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.416657 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.601773 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.601800 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.779400 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.779429 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.866276 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.866303 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.184359 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.184391 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.392785 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.392817 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.415043 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.415073 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.416667 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.416696 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.418108 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.418136 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.423904 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.423934 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.425366 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.425394 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.428122 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.428147 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.429458 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.429482 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.431460 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.431484 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.482618 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.482646 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.626502 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.626540 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.642979 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.643007 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.654432 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.654457 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.716515 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.716546 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.730445 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.730482 #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:36.748011 #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:36.749891 #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:37.903469 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.903525 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.228191 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.228553 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.243381 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.243454 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.264592 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.264633 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.296545 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.296783 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.690691 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.690758 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.429998 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.430045 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.453473 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.453716 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.529906 #1]  WARN -- : Skipping ./web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.529955 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.568137 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.568331 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.612222 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.612294 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.646790 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.646831 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.798511 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.798618 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.862274 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.862315 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.920904 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.921146 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.925622 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.925649 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.927925 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.927951 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.388063 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.388293 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.663812 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.663844 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.952704 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.953066 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.062732 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.062793 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.495899 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.496085 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.745605 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.745695 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.769666 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.769766 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.794747 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.794784 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.795619 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.795658 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.798260 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.798350 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.804353 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.804389 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.805179 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.805210 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.805926 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.805959 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.807108 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.807132 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.851398 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.860305 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.092555 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.092600 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.100659 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.100748 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.127814 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.127902 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.209169 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.209423 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.216907 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.222704 #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.