Skip to content

feat(cli): standardise a top level output format for all lotus CLIs #3731

feat(cli): standardise a top level output format for all lotus CLIs

feat(cli): standardise a top level output format for all lotus CLIs #3731

Re-run triggered February 11, 2025 03:04
Status Failure
Total duration 4m 25s
Artifacts

check.yml

on: pull_request
Check (gen-check)
1m 40s
Check (gen-check)
Check (lint-all)
4m 13s
Check (lint-all)
Check (gofmt)
56s
Check (gofmt)
Check (mod-tidy-check)
51s
Check (mod-tidy-check)
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Check (gofmt): chain/wallet/remotewallet/remote.go#L11
found packages cliutil (api.go) and util (output.go) in /home/runner/work/lotus/lotus/cli/util
Check (gofmt): cli/chain.go#L596
missing ',' in argument list
Check (gofmt): cli/chain.go#L641
missing ',' in argument list
Check (gofmt): cli/chain.go#L665
missing ',' before newline in argument list
Check (gofmt): cli/chain.go#L667
expected operand, found 'var'
Check (gofmt): cli/chain.go#L700
missing ',' before newline in argument list
Check (gofmt): cli/chain.go#L702
expected operand, found 'var'
Check (gofmt): cli/chain.go#L785
missing ',' before newline in argument list
Check (gofmt): cli/chain.go#L787
expected '(', found apiMsgCids
Check (gofmt): cli/chain.go#L793
missing ',' before newline in argument list
Check (gen-check): chain/wallet/remotewallet/remote.go#L11
found packages cliutil (api.go) and util (output.go) in /home/runner/work/lotus/lotus/cli/util
Check (gen-check): cli/chain.go#L596
missing ',' in argument list
Check (gen-check): cli/chain.go#L641
missing ',' in argument list
Check (gen-check): cli/chain.go#L665
missing ',' before newline in argument list
Check (gen-check): cli/chain.go#L667
expected operand, found 'var'
Check (gen-check): cli/chain.go#L700
missing ',' before newline in argument list
Check (gen-check): cli/chain.go#L702
expected operand, found 'var'
Check (gen-check): cli/chain.go#L785
missing ',' before newline in argument list
Check (gen-check): cli/chain.go#L787
expected '(', found apiMsgCids
Check (gen-check): cli/chain.go#L793
missing ',' before newline in argument list
Check (lint-all): chain/wallet/remotewallet/remote.go#L11
found packages cliutil (api.go) and util (output.go) in cli/util (typecheck)
Check (lint-all): node/impl/market/market.go#L31
a.MpoolPushMessage undefined (type *MarketAPI has no field or method MpoolPushMessage) (typecheck)
Check (lint-all): node/modules/eth.go#L92
cannot use &EventHelperAPI{} (value of type *EventHelperAPI) as events.EventHelperAPI value in variable declaration: *EventHelperAPI does not implement events.EventHelperAPI (missing method ChainGetBlockMessages) (typecheck)
Check (lint-all): node/modules/paych.go#L37
cannot use &PaychAPI{} (value of type *PaychAPI) as paychmgr.PaychAPI value in variable declaration: *PaychAPI does not implement paychmgr.PaychAPI (missing method MpoolPushMessage) (typecheck)
Check (lint-all): node/modules/chainindex.go#L85
cannot use &evapi (value of type *EventHelperAPI) as events.EventHelperAPI value in argument to events.NewEvents: *EventHelperAPI does not implement events.EventHelperAPI (missing method ChainGetBlockMessages) (typecheck)
Check (lint-all): node/modules/eth.go#L162
cannot use &params.EventHelperAPI (value of type *EventHelperAPI) as events.EventHelperAPI value in argument to events.NewEvents: *EventHelperAPI does not implement events.EventHelperAPI (missing method ChainGetBlockMessages) (typecheck)
Check (lint-all): node/modules/eth.go#L236
cannot use &params.EventHelperAPI (value of type *EventHelperAPI) as events.EventHelperAPI value in argument to events.NewEvents: *EventHelperAPI does not implement events.EventHelperAPI (missing method ChainGetBlockMessages) (typecheck)
Check (lint-all): node/modules/faultreport.go#L25
cannot use &mod (value of type *consensusReporterModules) as slashsvc.ConsensusSlasherApi value in argument to slashsvc.SlashConsensus: *consensusReporterModules does not implement slashsvc.ConsensusSlasherApi (missing method ChainGetBlock) (typecheck)
Check (lint-all): node/impl/full.go#L123
cannot use &FullNodeAPI{} (value of type *FullNodeAPI) as api.FullNode value in variable declaration: *FullNodeAPI does not implement api.FullNode (missing method ChainBlockstoreInfo) (typecheck)
Check (lint-all): node/impl/full.go#L50
n.ChainHead undefined (type *FullNodeAPI has no field or method ChainHead) (typecheck)