Skip to content

fix: remove deprecated ioutil #4

fix: remove deprecated ioutil

fix: remove deprecated ioutil #4

Triggered via push October 22, 2024 15:26
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

41 errors and 3 warnings
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Lint: internal/agent/agent.go#L84
Error return value of `a.serve` is not checked (errcheck)
Lint: internal/server/server_test.go#L160
Error return value of `server.Serve` is not checked (errcheck)
Lint: internal/log/segment.go#L119
func `nearestMultiple` is unused (unused)
Lint: internal/agent/agent.go#L116
S1004: should use bytes.Equal(b, []byte{byte(log.RaftRPC)}) instead (gosimple)
Lint: internal/log/distributed.go#L435
S1004: should use !bytes.Equal([]byte{byte(RaftRPC)}, b) instead (gosimple)
Lint: internal/log/store_test.go#L86
ineffectual assignment to err (ineffassign)
Lint: internal/agent/agent_test.go#L126
SA1019: grpc.Code is deprecated: use status.Code instead. (staticcheck)
Lint: internal/agent/agent_test.go#L127
SA1019: grpc.Code is deprecated: use status.Code instead. (staticcheck)
Lint: internal/agent/agent_test.go#L136
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
Lint: internal/server/server_test.go#L92
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Process completed with exit code 1.
Format
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2