Skip to content

fix compilation errors #17176

fix compilation errors

fix compilation errors #17176

Triggered via push August 27, 2024 12:38
Status Failure
Total duration 2m 20s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
lint: network/discovery/dv5_service_test.go#L137
undefined: records.KeyDomainType
lint: network/discovery/dv5_service_test.go#L137
too many arguments in call to records.SetDomainTypeEntry
lint: network/discovery/dv5_service_test.go#L141
undefined: records.KeyNextDomainType
lint: network/discovery/dv5_service_test.go#L141
too many arguments in call to records.SetDomainTypeEntry
lint: network/peers/conn_manager_test.go#L24
cannot use connMgrMock (variable of type *mockConnManager) as "github.com/libp2p/go-libp2p/core/connmgr".ConnManager value in argument to NewConnManager: *mockConnManager does not implement "github.com/libp2p/go-libp2p/core/connmgr".ConnManager (missing method CheckLimit)
lint: network/peers/conn_manager_test.go#L60
cannot use (*mockConnManager)(nil) (value of type *mockConnManager) as "github.com/libp2p/go-libp2p/core/connmgr".ConnManager value in variable declaration: *mockConnManager does not implement "github.com/libp2p/go-libp2p/core/connmgr".ConnManager (missing method CheckLimit) (typecheck)
lint
Process completed with exit code 2.
lint
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/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/