Fix go releaser workflow to use non-deprecated flag '--clean'. See ht… #437
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (18)
analytics/record.go|24 col 2| could not import unicode/utf8 (-: could not load export data: cannot import "unicode/utf8" (unknown bexport format version -1 ("u\x01\x00\x00\x00\x00\x00\x00\x00>\x00\x00\x00@\x00\x00\x00A\x00\x00\x00C\x00\x00\x00^\x00\x00\x00w\x00\x00\x00\x92\x00\x00\x00\xad\x00\x00\x00\xc8\x00\x00\x00\xce\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\x00\x00\x000\x00\x00\x001\x00\x00\x008\x00\x00\x00<\x00\x00\x00=\x00\x00\x00A\x00\x00\x00K\x00\x00\x00Q\x00\x00\x00Y\x00\x00\x00_\x00\x00\x00q\x00\x00\x00u\x00\x00\x00\x83\x00\x00\x00\x87\x00\x00\x00\x88\x00\x00\x00\x9e\x00\x00\x00\xa8\x00\x00\x00\xba\x00\x00\x00\xc4\x00\x00\x00\xcc\x00\x00\x00\xcd\x00\x00\x00\xd0\x00\x00\x00\xd1\x00\x00\x00\xd6\x00\x00\x00\xd7\x00\x00\x00\xdc\x00\x00\x00\xdd\x00\x00\x00\xe1\x00\x00\x00\xe7\x00\x00\x00\xe9\x00\x00\x00\xeb\x00\x00\x00\xf6\x00\x00\x00\x02\x01\x00\x00\x03\x01\x00\x00\x04\x01\x00\x00\x05\x01\x00\x00\t\x01\x00\x00\r\x01\x00\x00\x1d\x01\x00\x00$\x01\x00\x00-\x01\x00\x00>\x01\x00\x00G\x01\x00\x00N\x01\x00\x00P\x01\x00\x00X\x01\x00\x00d\x01\x00\x00p\x01\x00\x00x\x01\x00\x00y\x01\x00\x00\x81\x01\x00\x00\x82\x01\x00\x00\x8b\x01\x00\x00\x8f\x01\x00\x00\x93\x01\x00\x00\x99\x01\x00\x00\x9e\x01\x00\x00\xa7\x01\x00\x00\xb2\x01\x00\x00?\x02\x00\x00n\x02\x00\x00s\x02\x00\x00}\x02\x00\x00\x83\x02\x00\x00\x8b\x02\x00\x00\x93\x02\x00\x00\x9b\x02\x00\x00\xa3\x02\x00\x00\xab\x02\x00\x00\xb3\x02\x00\x00\xbb\x02\x00\x00\xc3\x02\x00\x00\xcb\x02\x00\x00\xd3\x02\x00\x00\xdb\x02\x00\x00\xe3\x02\x00\x00\xeb\x02\x00\x00\xf3\x02\x00\x00\xfb\x02\x00\x00\x03\x03\x00\x00\v\x03\x00\x00\x13\x03\x00\x00\x1b\x03\x00\x00#\x03\x00\x00+\x03\x00\x003\x03\x00\x00;\x03\x00\x00C\x03\x00\x00K\x03\x00\x00S\x03\x00\x00[\x03\x00\x00a\x03\x00\x00h\x03\x00\x00o\x03\x00\x00u\x03\x00\x00x\x03\x00\x00~\x03\x00\x00\xae\x03\x00\x00\xb4\x03\x00\x00\xba\x03\x00\x00\xbd\x03\x00\x00\xc0\x03\x00\x00\xc6\x03\x00\x00\xcc\x03\x00\x00\xd2\x03\x00\x00\xd5\x03\x00\x00\xd8\x03\x00\x00\xe0\x03\x00\x00\xe7\x03\x00\x00")), possibly version skew - reinstall package) (typecheck)
analytics/legacy_analytics_test.go|58 col 11| ts.Close undefined (type *testServer has no field or method Close) (typecheck)
analytics/legacy_analytics_test.go|59 col 31| ts.URL undefined (type *testServer has no field or method URL) (typecheck)
analytics/legacy_analytics_test.go|96 col 11| ts.Close undefined (type *testServer has no field or method Close) (typecheck)
analytics/legacy_analytics_test.go|97 col 31| ts.URL undefined (type *testServer has no field or method URL) (typecheck)
analytics/legacy_analytics_test.go|125 col 11| ts.Close undefined (type *testServer has no field or method Close) (typecheck)
analytics/legacy_analytics_test.go|126 col 31| ts.URL undefined (type *testServer has no field or method URL) (typecheck)
auth/context_test.go|28 col 2| now declared but not used (typecheck)
auth/jwt/jwt.go|139 col 59| undeclared name: backoff
(typecheck)
auth/jwt/jwt.go|29 col 2| "github.com/lestrrat-go/backoff/v2" imported but not used (typecheck)
cache/lru_cache.go|185 col 5| c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
cache/lru_cache.go|190 col 5| c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
cache/lru_cache.go|230 col 4| c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
cache/lru_cache.go|249 col 4| c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
cache/lru_cache.go|253 col 4| c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
cache/lru_cache.go|266 col 4| c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
cache/lru_cache.go|307 col 4| c.RLock undefined (type *lruCache has no field or method RLock) (typecheck)
cache/lru_cache.go|308 col 10| c.RUnlock undefined (type *lruCache has no field or method RUnlock) (typecheck)
Filtered Findings (0)
Annotations
Check failure on line 24 in analytics/record.go
github-actions / golangci
[golangci] analytics/record.go#L24
could not import unicode/utf8 (-: could not load export data: cannot import "unicode/utf8" (unknown bexport format version -1 ("u\x01\x00\x00\x00\x00\x00\x00\x00>\x00\x00\x00@\x00\x00\x00A\x00\x00\x00C\x00\x00\x00^\x00\x00\x00w\x00\x00\x00\x92\x00\x00\x00\xad\x00\x00\x00\xc8\x00\x00\x00\xce\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\x00\x00\x000\x00\x00\x001\x00\x00\x008\x00\x00\x00<\x00\x00\x00=\x00\x00\x00A\x00\x00\x00K\x00\x00\x00Q\x00\x00\x00Y\x00\x00\x00_\x00\x00\x00q\x00\x00\x00u\x00\x00\x00\x83\x00\x00\x00\x87\x00\x00\x00\x88\x00\x00\x00\x9e\x00\x00\x00\xa8\x00\x00\x00\xba\x00\x00\x00\xc4\x00\x00\x00\xcc\x00\x00\x00\xcd\x00\x00\x00\xd0\x00\x00\x00\xd1\x00\x00\x00\xd6\x00\x00\x00\xd7\x00\x00\x00\xdc\x00\x00\x00\xdd\x00\x00\x00\xe1\x00\x00\x00\xe7\x00\x00\x00\xe9\x00\x00\x00\xeb\x00\x00\x00\xf6\x00\x00\x00\x02\x01\x00\x00\x03\x01\x00\x00\x04\x01\x00\x00\x05\x01\x00\x00\t\x01\x00\x00\r\x01\x00\x00\x1d\x01\x00\x00$\x01\x00\x00-\x01\x00\x00>\x01\x00\x00G\x01\x00\x00N\x01\x00\x00P\x01\x00\x00X\x01\x00\x00d\x01\x00\x00p\x01\x00\x00x\x01\x00\x00y\x01\x00\x00\x81\x01\x00\x00\x82\x01\x00\x00\x8b\x01\x00\x00\x8f\x01\x00\x00\x93\x01\x00\x00\x99\x01\x00\x00\x9e\x01\x00\x00\xa7\x01\x00\x00\xb2\x01\x00\x00?\x02\x00\x00n\x02\x00\x00s\x02\x00\x00}\x02\x00\x00\x83\x02\x00\x00\x8b\x02\x00\x00\x93\x02\x00\x00\x9b\x02\x00\x00\xa3\x02\x00\x00\xab\x02\x00\x00\xb3\x02\x00\x00\xbb\x02\x00\x00\xc3\x02\x00\x00\xcb\x02\x00\x00\xd3\x02\x00\x00\xdb\x02\x00\x00\xe3\x02\x00\x00\xeb\x02\x00\x00\xf3\x02\x00\x00\xfb\x02\x00\x00\x03\x03\x00\x00\v\x03\x00\x00\x13\x03\x00\x00\x1b\x03\x00\x00#\x03\x00\x00+\x03\x00\x003\x03\x00\x00;\x03\x00\x00C\x03\x00\x00K\x03\x00\x00S\x03\x00\x00[\x03\x00\x00a\x03\x00\x00h\x03\x00\x00o\x03\x00\x00u\x03\x00\x00x\x03\x00\x00~\x03\x00\x00\xae\x03\x00\x00\xb4\x03\x00\x00\xba\x03\x00\x00\xbd\x03\x00\x00\xc0\x03\x00\x00\xc6\x03\x00\x00\xcc\x03\x00\x00\xd2\x03\x00\x00\xd5\x03\x00\x00\xd8\x03\x00\x00\xe0\x03\x00\x00\xe7\x03\x00\x00")), possibly version skew - reinstall package) (typecheck)
Raw output
analytics/record.go:24:2: could not import unicode/utf8 (-: could not load export data: cannot import "unicode/utf8" (unknown bexport format version -1 ("u\x01\x00\x00\x00\x00\x00\x00\x00>\x00\x00\x00@\x00\x00\x00A\x00\x00\x00C\x00\x00\x00^\x00\x00\x00w\x00\x00\x00\x92\x00\x00\x00\xad\x00\x00\x00\xc8\x00\x00\x00\xce\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\x00\x00\x000\x00\x00\x001\x00\x00\x008\x00\x00\x00<\x00\x00\x00=\x00\x00\x00A\x00\x00\x00K\x00\x00\x00Q\x00\x00\x00Y\x00\x00\x00_\x00\x00\x00q\x00\x00\x00u\x00\x00\x00\x83\x00\x00\x00\x87\x00\x00\x00\x88\x00\x00\x00\x9e\x00\x00\x00\xa8\x00\x00\x00\xba\x00\x00\x00\xc4\x00\x00\x00\xcc\x00\x00\x00\xcd\x00\x00\x00\xd0\x00\x00\x00\xd1\x00\x00\x00\xd6\x00\x00\x00\xd7\x00\x00\x00\xdc\x00\x00\x00\xdd\x00\x00\x00\xe1\x00\x00\x00\xe7\x00\x00\x00\xe9\x00\x00\x00\xeb\x00\x00\x00\xf6\x00\x00\x00\x02\x01\x00\x00\x03\x01\x00\x00\x04\x01\x00\x00\x05\x01\x00\x00\t\x01\x00\x00\r\x01\x00\x00\x1d\x01\x00\x00$\x01\x00\x00-\x01\x00\x00>\x01\x00\x00G\x01\x00\x00N\x01\x00\x00P\x01\x00\x00X\x01\x00\x00d\x01\x00\x00p\x01\x00\x00x\x01\x00\x00y\x01\x00\x00\x81\x01\x00\x00\x82\x01\x00\x00\x8b\x01\x00\x00\x8f\x01\x00\x00\x93\x01\x00\x00\x99\x01\x00\x00\x9e\x01\x00\x00\xa7\x01\x00\x00\xb2\x01\x00\x00?\x02\x00\x00n\x02\x00\x00s\x02\x00\x00}\x02\x00\x00\x83\x02\x00\x00\x8b\x02\x00\x00\x93\x02\x00\x00\x9b\x02\x00\x00\xa3\x02\x00\x00\xab\x02\x00\x00\xb3\x02\x00\x00\xbb\x02\x00\x00\xc3\x02\x00\x00\xcb\x02\x00\x00\xd3\x02\x00\x00\xdb\x02\x00\x00\xe3\x02\x00\x00\xeb\x02\x00\x00\xf3\x02\x00\x00\xfb\x02\x00\x00\x03\x03\x00\x00\v\x03\x00\x00\x13\x03\x00\x00\x1b\x03\x00\x00#\x03\x00\x00+\x03\x00\x003\x03\x00\x00;\x03\x00\x00C\x03\x00\x00K\x03\x00\x00S\x03\x00\x00[\x03\x00\x00a\x03\x00\x00h\x03\x00\x00o\x03\x00\x00u\x03\x00\x00x\x03\x00\x00~\x03\x00\x00\xae\x03\x00\x00\xb4\x03\x00\x00\xba\x03\x00\x00\xbd\x03\x00\x00\xc0\x03\x00\x00\xc6\x03\x00\x00\xcc\x03\x00\x00\xd2\x03\x00\x00\xd5\x03\x00\x00\xd8\x03\x00\x00\xe0\x03\x00\x00\xe7\x03\x00\x00")), possibly version skew - reinstall package) (typecheck)
"unicode/utf8"
^
Check failure on line 58 in analytics/legacy_analytics_test.go
github-actions / golangci
[golangci] analytics/legacy_analytics_test.go#L58
ts.Close undefined (type *testServer has no field or method Close) (typecheck)
Raw output
analytics/legacy_analytics_test.go:58:11: ts.Close undefined (type *testServer has no field or method Close) (typecheck)
defer ts.Close()
^
Check failure on line 59 in analytics/legacy_analytics_test.go
github-actions / golangci
[golangci] analytics/legacy_analytics_test.go#L59
ts.URL undefined (type *testServer has no field or method URL) (typecheck)
Raw output
analytics/legacy_analytics_test.go:59:31: ts.URL undefined (type *testServer has no field or method URL) (typecheck)
baseURL, err := url.Parse(ts.URL)
^
Check failure on line 96 in analytics/legacy_analytics_test.go
github-actions / golangci
[golangci] analytics/legacy_analytics_test.go#L96
ts.Close undefined (type *testServer has no field or method Close) (typecheck)
Raw output
analytics/legacy_analytics_test.go:96:11: ts.Close undefined (type *testServer has no field or method Close) (typecheck)
defer ts.Close()
^
Check failure on line 97 in analytics/legacy_analytics_test.go
github-actions / golangci
[golangci] analytics/legacy_analytics_test.go#L97
ts.URL undefined (type *testServer has no field or method URL) (typecheck)
Raw output
analytics/legacy_analytics_test.go:97:31: ts.URL undefined (type *testServer has no field or method URL) (typecheck)
baseURL, err := url.Parse(ts.URL)
^
Check failure on line 125 in analytics/legacy_analytics_test.go
github-actions / golangci
[golangci] analytics/legacy_analytics_test.go#L125
ts.Close undefined (type *testServer has no field or method Close) (typecheck)
Raw output
analytics/legacy_analytics_test.go:125:11: ts.Close undefined (type *testServer has no field or method Close) (typecheck)
defer ts.Close()
^
Check failure on line 126 in analytics/legacy_analytics_test.go
github-actions / golangci
[golangci] analytics/legacy_analytics_test.go#L126
ts.URL undefined (type *testServer has no field or method URL) (typecheck)
Raw output
analytics/legacy_analytics_test.go:126:31: ts.URL undefined (type *testServer has no field or method URL) (typecheck)
baseURL, err := url.Parse(ts.URL)
^
Check failure on line 28 in auth/context_test.go
github-actions / golangci
[golangci] auth/context_test.go#L28
now declared but not used (typecheck)
Raw output
auth/context_test.go:28:2: now declared but not used (typecheck)
now := time.Unix(time.Now().Unix(), 0)
^
Check failure on line 139 in auth/jwt/jwt.go
github-actions / golangci
[golangci] auth/jwt/jwt.go#L139
undeclared name: `backoff` (typecheck)
Raw output
auth/jwt/jwt.go:139:59: undeclared name: `backoff` (typecheck)
options := []jwk.AutoRefreshOption{jwk.WithFetchBackoff(backoff.Exponential())}
^
Check failure on line 29 in auth/jwt/jwt.go
github-actions / golangci
[golangci] auth/jwt/jwt.go#L29
"github.com/lestrrat-go/backoff/v2" imported but not used (typecheck)
Raw output
auth/jwt/jwt.go:29:2: "github.com/lestrrat-go/backoff/v2" imported but not used (typecheck)
"github.com/lestrrat-go/backoff/v2"
^
Check failure on line 185 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L185
c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
Raw output
cache/lru_cache.go:185:5: c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
c.Lock()
^
Check failure on line 190 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L190
c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
Raw output
cache/lru_cache.go:190:5: c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
c.Unlock()
^
Check failure on line 230 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L230
c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
Raw output
cache/lru_cache.go:230:4: c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
c.Lock()
^
Check failure on line 249 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L249
c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
Raw output
cache/lru_cache.go:249:4: c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
c.Unlock()
^
Check failure on line 253 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L253
c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
Raw output
cache/lru_cache.go:253:4: c.Lock undefined (type *lruCache has no field or method Lock) (typecheck)
c.Lock()
^
Check failure on line 266 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L266
c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
Raw output
cache/lru_cache.go:266:4: c.Unlock undefined (type *lruCache has no field or method Unlock) (typecheck)
c.Unlock()
^
Check failure on line 307 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L307
c.RLock undefined (type *lruCache has no field or method RLock) (typecheck)
Raw output
cache/lru_cache.go:307:4: c.RLock undefined (type *lruCache has no field or method RLock) (typecheck)
c.RLock()
^
Check failure on line 308 in cache/lru_cache.go
github-actions / golangci
[golangci] cache/lru_cache.go#L308
c.RUnlock undefined (type *lruCache has no field or method RUnlock) (typecheck)
Raw output
cache/lru_cache.go:308:10: c.RUnlock undefined (type *lruCache has no field or method RUnlock) (typecheck)
defer c.RUnlock()
^