Skip to content

Refactor Postman

Refactor Postman #998

Triggered via pull request January 11, 2025 19:52
Status Failure
Total duration 2m 1s
Artifacts

tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 6 warnings
Go Build
assignment mismatch: 2 variables but postman.Receive returns 1 value
Go Build
cannot use in (variable of type *"github.com/trisacrypto/trisa/pkg/trisa/api/v1beta1".SecureEnvelope) as *envelope.Envelope value in argument to postman.Receive
Go Build
cannot use log (variable of type zerolog.Logger) as postman.Option value in argument to postman.Receive
Go Build
cannot use peer (variable of type peers.Peer) as postman.Option value in argument to postman.Receive
Go Build
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Build
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Build
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Build
packet.Out.Proto undefined (type func() *postman.Outgoing has no field or method Proto)
Go Build
cannot use in (variable of type *"github.com/trisacrypto/trisa/pkg/trisa/api/v1beta1".SecureEnvelope) as *envelope.Envelope value in argument to postman.Receive
Go Build
cannot use log (variable of type zerolog.Logger) as postman.Option value in argument to postman.Receive
Go Lint: pkg/trisa/transfer.go#L46
assignment mismatch: 2 variables but postman.Receive returns 1 value
Go Lint: pkg/trisa/transfer.go#L46
cannot use in (variable of type *"github.com/trisacrypto/trisa/pkg/trisa/api/v1beta1".SecureEnvelope) as *envelope.Envelope value in argument to postman.Receive
Go Lint: pkg/trisa/transfer.go#L46
cannot use log (variable of type zerolog.Logger) as postman.Option value in argument to postman.Receive
Go Lint: pkg/trisa/transfer.go#L46
cannot use peer (variable of type peers.Peer) as postman.Option value in argument to postman.Receive
Go Lint: pkg/trisa/transfer.go#L52
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Lint: pkg/trisa/transfer.go#L56
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Lint: pkg/trisa/transfer.go#L60
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Lint: pkg/trisa/transfer.go#L61
packet.Out.Proto undefined (type func() *postman.Outgoing has no field or method Proto)
Go Lint: pkg/trisa/transfer.go#L120
cannot use in (variable of type *"github.com/trisacrypto/trisa/pkg/trisa/api/v1beta1".SecureEnvelope) as *envelope.Envelope value in argument to postman.Receive
Go Lint: pkg/trisa/transfer.go#L120
cannot use log (variable of type zerolog.Logger) as postman.Option value in argument to postman.Receive
Go Test
assignment mismatch: 2 variables but postman.Receive returns 1 value
Go Test
cannot use in (variable of type *"github.com/trisacrypto/trisa/pkg/trisa/api/v1beta1".SecureEnvelope) as *envelope.Envelope value in argument to postman.Receive
Go Test
cannot use log (variable of type zerolog.Logger) as postman.Option value in argument to postman.Receive
Go Test
cannot use peer (variable of type peers.Peer) as postman.Option value in argument to postman.Receive
Go Test
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Test
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Test
packet.Log undefined (type *postman.Packet has no field or method Log, but does have unexported field log)
Go Test
packet.Out.Proto undefined (type func() *postman.Outgoing has no field or method Proto)
Go Test
cannot use in (variable of type *"github.com/trisacrypto/trisa/pkg/trisa/api/v1beta1".SecureEnvelope) as *envelope.Envelope value in argument to postman.Receive
Go Test
cannot use log (variable of type zerolog.Logger) as postman.Option value in argument to postman.Receive
Go Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Go Build
Restore cache failed: Dependencies file is not found in /home/runner/work/envoy/envoy. Supported file pattern: go.sum
Go Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Go Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/envoy/envoy. Supported file pattern: go.sum
Go Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Go Test
Restore cache failed: Dependencies file is not found in /home/runner/work/envoy/envoy. Supported file pattern: go.sum