Skip to content

Headers fetching via NeoFS BlockFetcher service #1968

Headers fetching via NeoFS BlockFetcher service

Headers fetching via NeoFS BlockFetcher service #1968

Triggered via pull request January 28, 2025 16:49
Status Failure
Total duration 23m 40s
Artifacts

tests.yml

on: pull_request
Lint: NeoGo  /  Lint
57s
Lint: NeoGo / Lint
Lint: scripts  /  Lint
17s
Lint: scripts / Lint
Lint: interop  /  Lint
7s
Lint: interop / Lint
Check internal dependencies
11s
Check internal dependencies
Check code generated with 'go generate' is up-to-date
36s
Check code generated with 'go generate' is up-to-date
Coverage
18m 28s
Coverage
Matrix: CodeQL
Matrix: lint_examples
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 1 warning
Lint: NeoGo / Lint: pkg/consensus/consensus_test.go#L51
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Lint: NeoGo / Lint: pkg/consensus/consensus_test.go#L509
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Lint: NeoGo / Lint: pkg/consensus/consensus_test.go#L528
cannot convert testBlockQueuer{} (value of type testBlockQueuer) to type BlockQueuer: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Lint: NeoGo / Lint: pkg/network/helper_test.go#L215
cannot use fakechain.NewFakeChainWithCustomCfg(protocolCfg) (value of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Lint: NeoGo / Lint: pkg/network/helper_test.go#L215
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Lint: NeoGo / Lint: pkg/network/server_test.go#L63
cannot use bc (variable of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Lint: NeoGo / Lint: pkg/network/server_test.go#L63
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Lint: NeoGo / Lint: pkg/network/server_test.go#L215
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Lint: NeoGo / Lint: pkg/network/server_test.go#L252
impossible type assertion: s.chain.(*fakechain.FakeChain)
Lint: NeoGo / Lint: pkg/network/server_test.go#L419
impossible type assertion: s.chain.(*fakechain.FakeChain)
Run tests (ubuntu-22.04, 1.22): pkg/consensus/consensus_test.go#L51
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (ubuntu-22.04, 1.22): pkg/consensus/consensus_test.go#L509
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (ubuntu-22.04, 1.22): pkg/consensus/consensus_test.go#L528
cannot convert testBlockQueuer{} (value of type testBlockQueuer) to type BlockQueuer: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (ubuntu-22.04, 1.22): pkg/network/helper_test.go#L215
cannot use fakechain.NewFakeChainWithCustomCfg(protocolCfg) (value of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Run tests (ubuntu-22.04, 1.22): pkg/network/helper_test.go#L215
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Run tests (ubuntu-22.04, 1.22): pkg/network/server_test.go#L63
cannot use bc (variable of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Run tests (ubuntu-22.04, 1.22): pkg/network/server_test.go#L63
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Run tests (ubuntu-22.04, 1.22): pkg/network/server_test.go#L215
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (ubuntu-22.04, 1.22): pkg/network/server_test.go#L252
impossible type assertion: s.chain.(*fakechain.FakeChain)
Run tests (ubuntu-22.04, 1.22): pkg/network/server_test.go#L419
impossible type assertion: s.chain.(*fakechain.FakeChain)
Run tests (macos-14, 1.23): pkg/consensus/consensus_test.go#L51
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (macos-14, 1.23): pkg/consensus/consensus_test.go#L509
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (macos-14, 1.23): pkg/consensus/consensus_test.go#L528
cannot convert testBlockQueuer{} (value of type testBlockQueuer) to type BlockQueuer: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (macos-14, 1.23): pkg/network/helper_test.go#L215
cannot use fakechain.NewFakeChainWithCustomCfg(protocolCfg) (value of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Run tests (macos-14, 1.23): pkg/network/helper_test.go#L215
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Run tests (macos-14, 1.23): pkg/network/server_test.go#L63
cannot use bc (variable of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Run tests (macos-14, 1.23): pkg/network/server_test.go#L63
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Run tests (macos-14, 1.23): pkg/network/server_test.go#L215
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (macos-14, 1.23): pkg/network/server_test.go#L252
impossible type assertion: s.chain.(*fakechain.FakeChain)
Run tests (macos-14, 1.23): pkg/network/server_test.go#L419
impossible type assertion: s.chain.(*fakechain.FakeChain)
Coverage: pkg/consensus/consensus_test.go#L51
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Coverage: pkg/consensus/consensus_test.go#L509
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Coverage: pkg/consensus/consensus_test.go#L528
cannot convert testBlockQueuer{} (value of type testBlockQueuer) to type BlockQueuer: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Coverage: pkg/network/bqueue/queue_test.go#L16
undefined: Blocks
Coverage: pkg/network/bqueue/queue_test.go#L16
too many arguments in call to New
Coverage: pkg/network/bqueue/queue_test.go#L86
cannot use generic type Queue[Q Queueable] without instantiation
Coverage: pkg/network/helper_test.go#L215
cannot use fakechain.NewFakeChainWithCustomCfg(protocolCfg) (value of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Coverage: pkg/network/helper_test.go#L215
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Coverage: pkg/network/server_test.go#L63
cannot use bc (variable of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Coverage: pkg/network/server_test.go#L63
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Run tests (windows-2022, 1.23): pkg/consensus/consensus_test.go#L51
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (windows-2022, 1.23): pkg/consensus/consensus_test.go#L509
cannot use testBlockQueuer{…} (value of type testBlockQueuer) as BlockQueuer value in struct literal: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (windows-2022, 1.23): pkg/consensus/consensus_test.go#L528
cannot convert testBlockQueuer{} (value of type testBlockQueuer) to type BlockQueuer: testBlockQueuer does not implement BlockQueuer (wrong type for method Put)
Run tests (windows-2022, 1.23): pkg/network/helper_test.go#L215
cannot use fakechain.NewFakeChainWithCustomCfg(protocolCfg) (value of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Run tests (windows-2022, 1.23): pkg/network/helper_test.go#L215
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Run tests (windows-2022, 1.23): pkg/network/server_test.go#L63
cannot use bc (variable of type *fakechain.FakeChain) as Ledger value in argument to newServerFromConstructors: *fakechain.FakeChain does not implement Ledger (missing method AddItem)
Run tests (windows-2022, 1.23): pkg/network/server_test.go#L63
cannot use new(fakechain.FakeStateSync) (value of type *fakechain.FakeStateSync) as StateSync value in argument to newServerFromConstructors: *fakechain.FakeStateSync does not implement StateSync (missing method AddItem)
Run tests (windows-2022, 1.23): pkg/network/server_test.go#L215
impossible type assertion: s.stateSync.(*fakechain.FakeStateSync)
Run tests (windows-2022, 1.23): pkg/network/server_test.go#L252
impossible type assertion: s.chain.(*fakechain.FakeChain)
Run tests (windows-2022, 1.23): pkg/network/server_test.go#L419
impossible type assertion: s.chain.(*fakechain.FakeChain)
Lint: interop / Lint
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.