Skip to content

Update github.com/plgd-dev/device/v2 digest to cc07b73 - autoclosed #1012

Update github.com/plgd-dev/device/v2 digest to cc07b73 - autoclosed

Update github.com/plgd-dev/device/v2 digest to cc07b73 - autoclosed #1012

Triggered via pull request September 16, 2024 16:48
Status Failure
Total duration 1m 20s
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