Skip to content

fix(deps): update module github.com/plgd-dev/go-coap/v3 to v3.1.5 - autoclosed #3411

fix(deps): update module github.com/plgd-dev/go-coap/v3 to v3.1.5 - autoclosed

fix(deps): update module github.com/plgd-dev/go-coap/v3 to v3.1.5 - autoclosed #3411

Triggered via pull request September 1, 2023 03:30
Status Failure
Total duration 4m 11s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: coap-gateway/service/auth.go#L11
could not import github.com/plgd-dev/device/v2/pkg/net/coap (-: # github.com/plgd-dev/device/v2/pkg/net/coap
lint
cannot use c (variable of type *"github.com/plgd-dev/go-coap/v3/udp/client".Conn) as interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} value in argument to NewClientCloseHandler: *"github.com/plgd-dev/go-coap/v3/udp/client".Conn does not implement interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} (wrong type for method Observe)
lint
cannot use c (variable of type *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn) as interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} value in argument to NewClientCloseHandler: *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn does not implement interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} (wrong type for method Observe)
lint
cannot use c (variable of type *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn) as interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} value in argument to NewClientCloseHandler: *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn does not implement interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} (wrong type for method Observe)
lint
cannot use c (variable of type *"github.com/plgd-dev/go-coap/v3/udp/client".Conn) as interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} value in argument to NewClientCloseHandler: *"github.com/plgd-dev/go-coap/v3/udp/client".Conn does not implement interface{Close() error; Context() context.Context; Delete(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Done() <-chan struct{}; Get(ctx context.Context, path string, opts ...message.Option) (*pool.Message, error); Observe(ctx context.Context, path string, observeFunc func(notification *pool.Message), opts ...message.Option) (interface{Cancel(context.Context) error; Canceled() bool}, error); Post(ctx context.Context, path string, contentFormat message.MediaType, payload io.ReadSeeker, opts ...message.Option) (*pool.Message, error); RemoteAddr() "net".Addr} (wrong type for method Observe)
lint: coap-gateway/service/session.go#L198
cannot use obs (variable of type interface{Cancel(ctx context.Context, opts ..."github.com/plgd-dev/go-coap/v3/message".Option) error; Canceled() bool}) as interface{Cancel(context.Context) error; Canceled() bool} value in return statement: interface{Cancel(ctx context.Context, opts ..."github.com/plgd-dev/go-coap/v3/message".Option) error; Canceled() bool} does not implement interface{Cancel(context.Context) error; Canceled() bool} (wrong type for method Cancel)
lint: coap-gateway/service/session.go#L207
cannot use obs (variable of type interface{Cancel(ctx context.Context, opts ..."github.com/plgd-dev/go-coap/v3/message".Option) error; Canceled() bool}) as interface{Cancel(context.Context) error; Canceled() bool} value in return statement: interface{Cancel(ctx context.Context, opts ..."github.com/plgd-dev/go-coap/v3/message".Option) error; Canceled() bool} does not implement interface{Cancel(context.Context) error; Canceled() bool} (wrong type for method Cancel)
lint: coap-gateway/service/observation/deviceObserver_test.go#L59
cannot use coapConn (variable of type *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn) as "github.com/plgd-dev/hub/v2/coap-gateway/service/observation".ClientConn value in argument to observation.NewDeviceObserver: *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn does not implement "github.com/plgd-dev/hub/v2/coap-gateway/service/observation".ClientConn (wrong type for method Observe)
lint: coap-gateway/service/observation/observation_test.go#L119
cannot use handler.coapConn (variable of type *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn) as "github.com/plgd-dev/hub/v2/coap-gateway/service/observation".ClientConn value in argument to observation.GetResourceLinks: *"github.com/plgd-dev/go-coap/v3/tcp/client".Conn does not implement "github.com/plgd-dev/hub/v2/coap-gateway/service/observation".ClientConn (wrong type for method Observe)
lint: test/iotivity-lite/service/offboard_test.go#L241
sh.WaitForFirstSignIn undefined (type *switchableHandler has no field or method WaitForFirstSignIn) (typecheck)