Skip to content

Handle loss of acceptance #1712

Handle loss of acceptance

Handle loss of acceptance #1712

Triggered via pull request October 1, 2023 09:28
Status Failure
Total duration 2m 23s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 1 warning
[golangci] pkg/protocol/block_dispatcher.go#L1: pkg/protocol/block_dispatcher.go#L1
: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof) (typecheck)
[golangci] components/restapi/component.go#L20: components/restapi/component.go#L20
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] pkg/blockfactory/blockissuer.go#L16: pkg/blockfactory/blockissuer.go#L16
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] pkg/blockfactory/blockissuer.go#L369: pkg/blockfactory/blockissuer.go#L369
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:36:1) (typecheck)
[golangci] components/blockissuer/component.go#L12: components/blockissuer/component.go#L12
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] components/metricstracker/component.go#L12: components/metricstracker/component.go#L12
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] components/debugapi/component.go#L18: components/debugapi/component.go#L18
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (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/protocol/component.go#L21: components/protocol/component.go#L21
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] components/inx/component.go#L13: components/inx/component.go#L13
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] components/metrics/component.go#L27: components/metrics/component.go#L27
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] components/p2p/component.go#L30: components/p2p/component.go#L30
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] components/restapi/core/component.go#L17: components/restapi/core/component.go#L17
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (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] components/validator/component.go#L16: components/validator/component.go#L16
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] components/restapi/management/component.go#L12: components/restapi/management/component.go#L12
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] pkg/testsuite/mock/node.go#L24: pkg/testsuite/mock/node.go#L24
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (typecheck)
[golangci] pkg/testsuite/testsuite.go#L19: pkg/testsuite/testsuite.go#L19
could not import github.com/iotaledger/iota-core/pkg/protocol (-: # github.com/iotaledger/iota-core/pkg/protocol
[golangci] pkg/protocol/block_dispatcher.go#L195: pkg/protocol/block_dispatcher.go#L195
roots.MutationProof undefined (type *iotago.Roots has no field or method MutationProof)) (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-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']