Skip to content

dep: update pd client #3523

dep: update pd client

dep: update pd client #3523

Triggered via pull request January 17, 2024 06:26
Status Failure
Total duration 1m 43s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 3 warnings
golangci: testutils/mockstore.go#L19
could not import github.com/tikv/client-go/v2/internal/mockstore/mocktikv (-: # github.com/tikv/client-go/v2/internal/mockstore/mocktikv
golangci: internal/mockstore/mocktikv/pd.go#L64
cannot use (*pdClient)(nil) (value of type *pdClient) as pd.Client value in variable declaration: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)
golangci: internal/mockstore/mocktikv/mock.go#L49
cannot use NewPDClient(cluster) (value of type *pdClient) as pd.Client value in return statement: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)) (typecheck)
golangci: internal/locate/region_cache_test.go#L55
could not import github.com/tikv/client-go/v2/internal/mockstore/mocktikv (-: # github.com/tikv/client-go/v2/internal/mockstore/mocktikv
golangci: internal/mockstore/mocktikv/pd.go#L64
cannot use (*pdClient)(nil) (value of type *pdClient) as pd.Client value in variable declaration: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)
golangci: internal/mockstore/mocktikv/mock.go#L49
cannot use NewPDClient(cluster) (value of type *pdClient) as pd.Client value in return statement: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)) (typecheck)
golangci: internal/mockstore/mocktikv/cluster.go#L1
: # github.com/tikv/client-go/v2/internal/mockstore/mocktikv [github.com/tikv/client-go/v2/internal/mockstore/mocktikv.test]
golangci: internal/mockstore/mocktikv/pd.go#L64
cannot use (*pdClient)(nil) (value of type *pdClient) as pd.Client value in variable declaration: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)
golangci: internal/mockstore/mocktikv/mock.go#L49
cannot use NewPDClient(cluster) (value of type *pdClient) as pd.Client value in return statement: *pdClient does not implement pd.Client (missing method GetServiceDiscovery) (typecheck)
golangci: rawkv/rawkv_test.go#L47
could not import github.com/tikv/client-go/v2/internal/mockstore/mocktikv (-: # github.com/tikv/client-go/v2/internal/mockstore/mocktikv
test: internal/mockstore/mocktikv/pd.go#L64
cannot use (*pdClient)(nil) (value of type *pdClient) as pd.Client value in variable declaration: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)
test: internal/mockstore/mocktikv/mock.go#L49
cannot use NewPDClient(cluster) (value of type *pdClient) as pd.Client value in return statement: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)
test
Process completed with exit code 1.
race-test: internal/mockstore/mocktikv/pd.go#L64
cannot use (*pdClient)(nil) (value of type *pdClient) as pd.Client value in variable declaration: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)
race-test: internal/mockstore/mocktikv/mock.go#L49
cannot use NewPDClient(cluster) (value of type *pdClient) as pd.Client value in return statement: *pdClient does not implement pd.Client (missing method GetServiceDiscovery)
race-test
Process completed with exit code 1.
golangci
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
race-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/