Skip to content

[UPDATE] redis and go version #11

[UPDATE] redis and go version

[UPDATE] redis and go version #11

Triggered via pull request August 24, 2024 20:19
Status Failure
Total duration 2m 56s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint Go Code: limiter.go#L1
: # github.com/Nicolas-ggd/rate-limiter [github.com/Nicolas-ggd/rate-limiter.test]
Lint Go Code: limiter_test.go#L23
cannot use client (variable of type *"github.com/go-redis/redis/v8".Client) as *"github.com/redis/go-redis/v9".Client value in argument to NewRateLimiter (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/time.go#L174
cannot range over 3 (untyped int constant) (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/syscall/syscall_unix.go#L66
m.Lock undefined (type *mmapper has no field or method Lock) (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/syscall/syscall_unix.go#L67
m.Unlock undefined (type *mmapper has no field or method Unlock) (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/syscall/syscall_unix.go#L79
m.Lock undefined (type *mmapper has no field or method Lock) (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/syscall/syscall_unix.go#L80
m.Unlock undefined (type *mmapper has no field or method Unlock) (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/io/pipe.go#L22
a.Lock undefined (type *onceError has no field or method Lock) (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/io/pipe.go#L23
a.Unlock undefined (type *onceError has no field or method Unlock) (typecheck)
Lint Go Code: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/io/pipe.go#L30
a.Lock undefined (type *onceError has no field or method Lock) (typecheck)
Lint Go Code
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/