Feat: Upgrade to latest hive.go #2283
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (50)
pkg/protocol/engine/tipmanager/v1/provider.go|1| : # github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|103 col 64| type func(_ bool, isLivenessThresholdReached bool, isAccepted bool) bool of func(, isLivenessThresholdReached, isAccepted bool) bool {…} does not match func(bool, InputType2) bool
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|107 col 77| cannot use func( bool, stronglyOrphanedStrongParents int) bool {…} (value of type func(_ bool, stronglyOrphanedStrongParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|111 col 73| cannot use func(_ bool, weaklyOrphanedWeakParents int) bool {…} (value of type func(_ bool, weaklyOrphanedWeakParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|115 col 78| cannot use func(, isMarkedOrphaned, anyStrongParentStronglyOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func( bool, isMarkedOrphaned bool, anyStrongParentStronglyOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool, bool) bool value in argument to reactive.NewDerivedVariable3[bool, bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|119 col 70| cannot use func(, isMarkedOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func( bool, isMarkedOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|123 col 64| cannot use func(, isStronglyOrphaned, isWeaklyOrphaned bool) bool {…} (value of type func( bool, isStronglyOrphaned bool, isWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|127 col 57| type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|131 col 55| type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|135 col 72| cannot use func(_ bool, stronglyConnectedStrongChildren int) bool {…} (value of type func(_ bool, stronglyConnectedStrongChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|139 col 70| cannot use func(_ bool, connectedWeakChildren int) bool {…} (value of type func(_ bool, connectedWeakChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|139 col 70| too many errors (typecheck)
pkg/protocol/protocol.go|43 col 15| could not import github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1 (-: # github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|103 col 64| type func(_ bool, isLivenessThresholdReached bool, isAccepted bool) bool of func(, isLivenessThresholdReached, isAccepted bool) bool {…} does not match func(bool, InputType2) bool
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|107 col 77| cannot use func( bool, stronglyOrphanedStrongParents int) bool {…} (value of type func(_ bool, stronglyOrphanedStrongParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|111 col 73| cannot use func(_ bool, weaklyOrphanedWeakParents int) bool {…} (value of type func(_ bool, weaklyOrphanedWeakParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|115 col 78| cannot use func(, isMarkedOrphaned, anyStrongParentStronglyOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func( bool, isMarkedOrphaned bool, anyStrongParentStronglyOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool, bool) bool value in argument to reactive.NewDerivedVariable3[bool, bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|119 col 70| cannot use func(, isMarkedOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func( bool, isMarkedOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|123 col 64| cannot use func(, isStronglyOrphaned, isWeaklyOrphaned bool) bool {…} (value of type func( bool, isStronglyOrphaned bool, isWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|127 col 57| type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|131 col 55| type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|135 col 72| cannot use func(_ bool, stronglyConnectedStrongChildren int) bool {…} (value of type func(_ bool, stronglyConnectedStrongChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|139 col 70| cannot use func(_ bool, connectedWeakChildren int) bool {…} (value of type func(_ bool, connectedWeakChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|139 col 70| too many errors) (typecheck)
components/debugapi/node.go|28 col 26| cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
components/inx/server_issuance.go|55 col 86| not enough arguments in call to lo.Return2
components/restapi/core/accounts.go|83 col 43| cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:235:1) (typecheck)
pkg/testsuite/mock/blockissuer.go|439 col 19| cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
pkg/testsuite/snapshotcreator/snapshotcreator.go|26 col 15| could not import github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1 (-: # github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|103 col 64| type func(_ bool, isLivenessThresholdReached bool, isAccepted bool) bool of func(, isLivenessThresholdReached, isAccepted bool) bool {…} does not match func(bool, InputType2) bool
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|107 col 77| cannot use func( bool, stronglyOrphanedStrongParents int) bool {…} (value of type func(_ bool, stronglyOrphanedStrongParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|111 col 73| cannot use func(_ bool, weaklyOrphanedWeakParents int) bool {…} (value of type func(_ bool, weaklyOrphanedWeakParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|115 col 78| cannot use func(, isMarkedOrphaned, anyStrongParentStronglyOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func( bool, isMarkedOrphaned bool, anyStrongParentStronglyOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool, bool) bool value in argument to reactive.NewDerivedVariable3[bool, bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|119 col 70| cannot use func(, isMarkedOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func( bool, isMarkedOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|123 col 64| cannot use func(, isStronglyOrphaned, isWeaklyOrphaned bool) bool {…} (value of type func( bool, isStronglyOrphaned bool, isWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|127 col 57| type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|131 col 55| type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|135 col 72| cannot use func(_ bool, stronglyConnectedStrongChildren int) bool {…} (value of type func(_ bool, stronglyConnectedStrongChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|139 col 70| cannot use func(_ bool, connectedWeakChildren int) bool {…} (value of type func(_ bool, connectedWeakChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
pkg/protocol/engine/tipmanager/v1/tip_metadata.go|139 col 70| too many errors) (typecheck)
pkg/testsuite/blocks.go|133 col 38| cannot infer TargetType (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:18:1) (typecheck)
pkg/testsuite/conflicts.go|16 col 96| cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/set.go:19:1) (typecheck)
pkg/testsuite/eviction.go|39 col 24| cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
pkg/testsuite/eviction.go|40 col 99| cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
pkg/testsuite/sybilprotection.go|20 col 21| cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
pkg/testsuite/testsuite_issue_blocks.go|193 col 31| cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
pkg/testsuite/transactions.go|144 col 38| cannot infer TargetType (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:18:1) (typecheck)
pkg/testsuite/upgrades.go|43 col 198| not enough arguments in call to lo.PanicOnErr
pkg/testsuite/upgrades.go|57 col 99| not enough arguments in call to lo.PanicOnErr
pkg/testsuite/upgrades.go|58 col 246| not enough arguments in call to lo.PanicOnErr
Filtered Findings (0)
Annotations
Check failure on line 1 in pkg/protocol/engine/tipmanager/v1/provider.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/provider.go#L1
: # github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1
Raw output
pkg/protocol/engine/tipmanager/v1/provider.go:1: : # github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1
Check failure on line 103 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L103
type func(_ bool, isLivenessThresholdReached bool, isAccepted bool) bool of func(_, isLivenessThresholdReached, isAccepted bool) bool {…} does not match func(bool, InputType2) bool
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:103:64: type func(_ bool, isLivenessThresholdReached bool, isAccepted bool) bool of func(_, isLivenessThresholdReached, isAccepted bool) bool {…} does not match func(bool, InputType2) bool
Check failure on line 107 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L107
cannot use func(_ bool, stronglyOrphanedStrongParents int) bool {…} (value of type func(_ bool, stronglyOrphanedStrongParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:107:77: cannot use func(_ bool, stronglyOrphanedStrongParents int) bool {…} (value of type func(_ bool, stronglyOrphanedStrongParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 111 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L111
cannot use func(_ bool, weaklyOrphanedWeakParents int) bool {…} (value of type func(_ bool, weaklyOrphanedWeakParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:111:73: cannot use func(_ bool, weaklyOrphanedWeakParents int) bool {…} (value of type func(_ bool, weaklyOrphanedWeakParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 115 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L115
cannot use func(_, isMarkedOrphaned, anyStrongParentStronglyOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyStrongParentStronglyOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool, bool) bool value in argument to reactive.NewDerivedVariable3[bool, bool, bool, bool]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:115:78: cannot use func(_, isMarkedOrphaned, anyStrongParentStronglyOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyStrongParentStronglyOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool, bool) bool value in argument to reactive.NewDerivedVariable3[bool, bool, bool, bool]
Check failure on line 119 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L119
cannot use func(_, isMarkedOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:119:70: cannot use func(_, isMarkedOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Check failure on line 123 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L123
cannot use func(_, isStronglyOrphaned, isWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isStronglyOrphaned bool, isWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:123:64: cannot use func(_, isStronglyOrphaned, isWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isStronglyOrphaned bool, isWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Check failure on line 127 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L127
type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:127:57: type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Check failure on line 131 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L131
type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:131:55: type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Check failure on line 135 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L135
cannot use func(_ bool, stronglyConnectedStrongChildren int) bool {…} (value of type func(_ bool, stronglyConnectedStrongChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:135:72: cannot use func(_ bool, stronglyConnectedStrongChildren int) bool {…} (value of type func(_ bool, stronglyConnectedStrongChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 139 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L139
cannot use func(_ bool, connectedWeakChildren int) bool {…} (value of type func(_ bool, connectedWeakChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:139:70: cannot use func(_ bool, connectedWeakChildren int) bool {…} (value of type func(_ bool, connectedWeakChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 139 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L139
too many errors (typecheck)
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:139:70: too many errors (typecheck)
package tipmanagerv1
Check failure on line 43 in pkg/protocol/protocol.go
github-actions / golangci
[golangci] pkg/protocol/protocol.go#L43
could not import github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1 (-: # github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1
Raw output
pkg/protocol/protocol.go:43:15: could not import github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1 (-: # github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1
Check failure on line 103 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L103
type func(_ bool, isLivenessThresholdReached bool, isAccepted bool) bool of func(_, isLivenessThresholdReached, isAccepted bool) bool {…} does not match func(bool, InputType2) bool
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:103:64: type func(_ bool, isLivenessThresholdReached bool, isAccepted bool) bool of func(_, isLivenessThresholdReached, isAccepted bool) bool {…} does not match func(bool, InputType2) bool
Check failure on line 107 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L107
cannot use func(_ bool, stronglyOrphanedStrongParents int) bool {…} (value of type func(_ bool, stronglyOrphanedStrongParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:107:77: cannot use func(_ bool, stronglyOrphanedStrongParents int) bool {…} (value of type func(_ bool, stronglyOrphanedStrongParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 111 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L111
cannot use func(_ bool, weaklyOrphanedWeakParents int) bool {…} (value of type func(_ bool, weaklyOrphanedWeakParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:111:73: cannot use func(_ bool, weaklyOrphanedWeakParents int) bool {…} (value of type func(_ bool, weaklyOrphanedWeakParents int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 115 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L115
cannot use func(_, isMarkedOrphaned, anyStrongParentStronglyOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyStrongParentStronglyOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool, bool) bool value in argument to reactive.NewDerivedVariable3[bool, bool, bool, bool]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:115:78: cannot use func(_, isMarkedOrphaned, anyStrongParentStronglyOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyStrongParentStronglyOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool, bool) bool value in argument to reactive.NewDerivedVariable3[bool, bool, bool, bool]
Check failure on line 119 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L119
cannot use func(_, isMarkedOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:119:70: cannot use func(_, isMarkedOrphaned, anyWeakParentWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isMarkedOrphaned bool, anyWeakParentWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Check failure on line 123 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L123
cannot use func(_, isStronglyOrphaned, isWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isStronglyOrphaned bool, isWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:123:64: cannot use func(_, isStronglyOrphaned, isWeaklyOrphaned bool) bool {…} (value of type func(_ bool, isStronglyOrphaned bool, isWeaklyOrphaned bool) bool) as func(bool, bool) bool value in argument to reactive.NewDerivedVariable2[bool, bool, bool]
Check failure on line 127 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L127
type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:127:57: type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Check failure on line 131 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L131
type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:131:55: type func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool of func(_ bool, tipPool tipmanager.TipPool, isOrphaned bool, isEvicted bool) bool {…} does not match func(InputType1, InputType2, InputType3) Type (cannot infer Type, InputType1, InputType2, InputType3, InputValueType1, InputValueType2, and InputValueType3)
Check failure on line 135 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L135
cannot use func(_ bool, stronglyConnectedStrongChildren int) bool {…} (value of type func(_ bool, stronglyConnectedStrongChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:135:72: cannot use func(_ bool, stronglyConnectedStrongChildren int) bool {…} (value of type func(_ bool, stronglyConnectedStrongChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 139 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L139
cannot use func(_ bool, connectedWeakChildren int) bool {…} (value of type func(_ bool, connectedWeakChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:139:70: cannot use func(_ bool, connectedWeakChildren int) bool {…} (value of type func(_ bool, connectedWeakChildren int) bool) as func(int) bool value in argument to reactive.NewDerivedVariable[bool, int]
Check failure on line 139 in pkg/protocol/engine/tipmanager/v1/tip_metadata.go
github-actions / golangci
[golangci] pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L139
too many errors) (typecheck)
Raw output
pkg/protocol/engine/tipmanager/v1/tip_metadata.go:139:70: too many errors) (typecheck)
tipmanagerv1 "github.com/iotaledger/iota-core/pkg/protocol/engine/tipmanager/v1"
^
Check failure on line 28 in components/debugapi/node.go
github-actions / golangci
[golangci] components/debugapi/node.go#L28
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
Raw output
components/debugapi/node.go:28:26: cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
SeatIndex: uint8(lo.Return1(latestCommittee.GetSeat(id))),
^