Skip to content

Saving work

Saving work #10154

Triggered via push September 4, 2024 21:20
Status Failure
Total duration 3m 41s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Lint: pkg/types/encoding/widget.go#L25
method MarshalJSON(e *json.Encoder, v *time.Time) error should have signature MarshalJSON() ([]byte, error)
Lint: pkg/types/encoding/widget.go#L26
method UnmarshalJSON(d *json.Decoder, v *time.Time) error should have signature UnmarshalJSON([]byte) error
Lint: pkg/types/record/key_part.go#L200
Type passes lock by value: gitlab.com/accumulatenetwork/accumulate/pkg/types/record.urlKeyPart contains gitlab.com/accumulatenetwork/accumulate/pkg/url.urlMemoize contains sync/atomic.Pointer[string] contains sync/atomic.noCopy
Lint: pkg/types/record/key_part.go#L201
Type passes lock by value: gitlab.com/accumulatenetwork/accumulate/pkg/types/record.txidKeyPart contains struct{str sync/atomic.Pointer[string]} contains sync/atomic.Pointer[string] contains sync/atomic.noCopy
Lint: cmd/accumulated/run/encoding.go#L26
method MarshalJSON(e *json.Encoder, v *multiaddr.Multiaddr) error should have signature MarshalJSON() ([]byte, error)
Lint: cmd/accumulated/run/encoding.go#L28
method UnmarshalJSON(d *json.Decoder, v *multiaddr.Multiaddr) error should have signature UnmarshalJSON([]byte) error
Lint: cmd/accumulated/run/encoding.go#L48
method MarshalJSON(e *json.Encoder, v *peer.ID) error should have signature MarshalJSON() ([]byte, error)
Lint: cmd/accumulated/run/encoding.go#L49
method UnmarshalJSON(d *json.Decoder, v *peer.ID) error should have signature UnmarshalJSON([]byte) error
Lint: test/simulator/consensus/types_gen.go#L92
struct field p has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L99
struct field result has json tag but is not exported
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, 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/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/