Skip to content

Update module github.com/plgd-dev/device/v2 to v2.5.3 #1014

Update module github.com/plgd-dev/device/v2 to v2.5.3

Update module github.com/plgd-dev/device/v2 to v2.5.3 #1014

Triggered via pull request October 1, 2024 01:20
Status Failure
Total duration 1m 26s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: service/device/authenticationPreSharedKey.go#L77
cannot use dtlsCfg (variable of type *"github.com/pion/dtls/v2".Config) as *"github.com/pion/dtls/v3".Config value in argument to coap.DialUDPSecure
lint: service/device/authenticationX509.go#L100
cannot use dtlsCfg (variable of type *"github.com/pion/dtls/v2".Config) as *"github.com/pion/dtls/v3".Config value in argument to coap.DialUDPSecure
lint: service/device/service.go#L168
cannot use dtlsCfg (variable of type *"github.com/pion/dtls/v2".Config) as *"github.com/pion/dtls/v3".Config value in argument to coap.DialUDPSecure
lint: service/device/service.go#L245
cannot use s.DialDTLS (value of type func(ctx context.Context, addr string, dtlsCfg *"github.com/pion/dtls/v2".Config, opts ..."github.com/plgd-dev/go-coap/v3/udp".Option) (*coap.ClientCloseHandler, error)) as func(ctx context.Context, addr string, dtlsCfg *"github.com/pion/dtls/v3".Config, opts ..."github.com/plgd-dev/go-coap/v3/udp".Option) (*coap.ClientCloseHandler, error) value in struct literal
lint: service/device/service.go#L274
cannot use s.DialOwnership (value of type func(ctx context.Context, addr string, dtlsCfg *"github.com/pion/dtls/v2".Config, opts ..."github.com/plgd-dev/go-coap/v3/udp".Option) (*coap.ClientCloseHandler, error)) as func(ctx context.Context, addr string, dtlsCfg *"github.com/pion/dtls/v3".Config, opts ..."github.com/plgd-dev/go-coap/v3/udp".Option) (*coap.ClientCloseHandler, error) value in argument to justworks.WithDialDTLS
lint: service/device/service.go#L279
cannot use s.DialOwnership (value of type func(ctx context.Context, addr string, dtlsCfg *"github.com/pion/dtls/v2".Config, opts ..."github.com/plgd-dev/go-coap/v3/udp".Option) (*coap.ClientCloseHandler, error)) as func(ctx context.Context, addr string, dtlsCfg *"github.com/pion/dtls/v3".Config, opts ..."github.com/plgd-dev/go-coap/v3/udp".Option) (*coap.ClientCloseHandler, error) value in argument to manufacturer.WithDialDTLS (typecheck)
lint: service/service.go#L27
could not import github.com/plgd-dev/client-application/service/device (-: # github.com/plgd-dev/client-application/service/device
lint: service/device/authenticationPreSharedKey.go#L77
cannot use dtlsCfg (variable of type *"github.com/pion/dtls/v2".Config) as *"github.com/pion/dtls/v3".Config value in argument to coap.DialUDPSecure
lint: service/device/authenticationX509.go#L100
cannot use dtlsCfg (variable of type *"github.com/pion/dtls/v2".Config) as *"github.com/pion/dtls/v3".Config value in argument to coap.DialUDPSecure
lint: service/device/service.go#L168
cannot use dtlsCfg (variable of type *"github.com/pion/dtls/v2".Config) as *"github.com/pion/dtls/v3".Config value in argument to coap.DialUDPSecure