Skip to content

Feat: Reactive protocol rework #1746

Feat: Reactive protocol rework

Feat: Reactive protocol rework #1746

Triggered via pull request October 3, 2023 12:18
Status Failure
Total duration 2m 38s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 1 warning
[golangci] pkg/core/promise/promise.go#L1: pkg/core/promise/promise.go#L1
: # github.com/iotaledger/iota-core/pkg/core/promise
[golangci] pkg/core/promise/promise.go#L232: pkg/core/promise/promise.go#L232
method Promise.Result already declared at pkg/core/promise/promise.go:200:22
[golangci] pkg/core/promise/promise.go#L240: pkg/core/promise/promise.go#L240
method Promise.Err already declared at pkg/core/promise/promise.go:208:22 (typecheck)
[golangci] pkg/protocol/engine/mempool/state_reference.go#L4: pkg/protocol/engine/mempool/state_reference.go#L4
could not import github.com/iotaledger/iota-core/pkg/core/promise (-: # github.com/iotaledger/iota-core/pkg/core/promise
[golangci] pkg/core/promise/promise.go#L232: pkg/core/promise/promise.go#L232
method Promise.Result already declared at pkg/core/promise/promise.go:200:22
[golangci] pkg/core/promise/promise.go#L240: pkg/core/promise/promise.go#L240
method Promise.Err already declared at pkg/core/promise/promise.go:208:22) (typecheck)
[golangci] pkg/protocol/engine/ledger/ledger/ledger.go#L12: pkg/protocol/engine/ledger/ledger/ledger.go#L12
could not import github.com/iotaledger/iota-core/pkg/core/promise (-: # github.com/iotaledger/iota-core/pkg/core/promise
[golangci] pkg/core/promise/promise.go#L232: pkg/core/promise/promise.go#L232
method Promise.Result already declared at pkg/core/promise/promise.go:200:22
[golangci] pkg/core/promise/promise.go#L240: pkg/core/promise/promise.go#L240
method Promise.Err already declared at pkg/core/promise/promise.go:208:22) (typecheck)
[golangci] pkg/protocol/engine/ledger/ledger/ledger.go#L743: pkg/protocol/engine/ledger/ledger/ledger.go#L743
cannot infer Rank (pkg/core/vote/vote.go:21:14) (typecheck)
[golangci] pkg/protocol/engine/tipselection/v1/tip_selection.go#L173: pkg/protocol/engine/tipselection/v1/tip_selection.go#L173
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:152:1) (typecheck)
[golangci] pkg/protocol/chains.go#L13: pkg/protocol/chains.go#L13
could not import github.com/iotaledger/iota-core/pkg/core/promise (-: # github.com/iotaledger/iota-core/pkg/core/promise
[golangci] pkg/core/promise/promise.go#L232: pkg/core/promise/promise.go#L232
method Promise.Result already declared at pkg/core/promise/promise.go:200:22
[golangci] pkg/core/promise/promise.go#L240: pkg/core/promise/promise.go#L240
method Promise.Err already declared at pkg/core/promise/promise.go:208:22) (typecheck)
[golangci] pkg/protocol/chains.go#L252: pkg/protocol/chains.go#L252
cannot infer V (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/novariadic.go:5:1) (typecheck)
[golangci] pkg/blockfactory/blockissuer.go#L334: pkg/blockfactory/blockissuer.go#L334
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:36:1) (typecheck)
[golangci] components/debugapi/node.go#L18: components/debugapi/node.go#L18
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
[golangci] components/restapi/core/accounts.go#L35: components/restapi/core/accounts.go#L35
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:36:1) (typecheck)
[golangci] components/restapi/core/accounts.go#L92: components/restapi/core/accounts.go#L92
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:235:1) (typecheck)
[golangci] pkg/protocol/engine/ledger/tests/state_resolver.go#L6: pkg/protocol/engine/ledger/tests/state_resolver.go#L6
could not import github.com/iotaledger/iota-core/pkg/core/promise (-: # github.com/iotaledger/iota-core/pkg/core/promise
[golangci] pkg/core/promise/promise.go#L232: pkg/core/promise/promise.go#L232
method Promise.Result already declared at pkg/core/promise/promise.go:200:22
[golangci] pkg/core/promise/promise.go#L240: pkg/core/promise/promise.go#L240
method Promise.Err already declared at pkg/core/promise/promise.go:208:22) (typecheck)
[golangci] pkg/testsuite/eviction.go#L39: pkg/testsuite/eviction.go#L39
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
[golangci] pkg/testsuite/eviction.go#L40: pkg/testsuite/eviction.go#L40
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
[golangci] pkg/testsuite/upgrades.go#L43: pkg/testsuite/upgrades.go#L43
not enough arguments in call to lo.PanicOnErr
[golangci] pkg/testsuite/upgrades.go#L57: pkg/testsuite/upgrades.go#L57
not enough arguments in call to lo.PanicOnErr
[golangci] pkg/testsuite/upgrades.go#L58: pkg/testsuite/upgrades.go#L58
not enough arguments in call to lo.PanicOnErr
[golangci] pkg/protocol/engine/mempool/v1/mempool.go#L15: pkg/protocol/engine/mempool/v1/mempool.go#L15
could not import github.com/iotaledger/iota-core/pkg/core/promise (-: # github.com/iotaledger/iota-core/pkg/core/promise
[golangci] pkg/core/promise/promise.go#L232: pkg/core/promise/promise.go#L232
method Promise.Result already declared at pkg/core/promise/promise.go:200:22
[golangci] pkg/core/promise/promise.go#L240: pkg/core/promise/promise.go#L240
method Promise.Err already declared at pkg/core/promise/promise.go:208:22) (typecheck)
[golangci] pkg/protocol/engine/mempool/v1/mempool.go#L302: pkg/protocol/engine/mempool/v1/mempool.go#L302
cannot infer V (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/novariadic.go:5:1) (typecheck)
GolangCI-Lint
reviewdog exited with status code: 1
GolangCI-Lint
Unexpected input(s) 'version', valid inputs are ['github_token', 'golangci_lint_flags', 'tool_name', 'level', 'reporter', 'filter_mode', 'fail_on_error', 'reviewdog_flags', 'workdir', 'reviewdog_version', 'golangci_lint_version', 'go_version', 'go_version_file', 'cache']