chore(deps): update all non-major dependencies #678
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (50)
version/version.go|43 col 12| undefined: semver (typecheck)
cmd/vela-slack/main.go|357 col 13| undefined: cli (typecheck)
cmd/vela-slack/main.go|455 col 27| undefined: cli (typecheck)
cmd/vela-slack/main.go|41 col 9| undefined: cli (typecheck)
cmd/vela-slack/main.go|486 col 12| undefined: ldap (typecheck)
cmd/vela-slack/main.go|499 col 9| undefined: ldap (typecheck)
cmd/vela-slack/main.go|501 col 3| undefined: ldap (typecheck)
cmd/vela-slack/plugin.go|155 col 45| undefined: sprig (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go|50 col 17| cannot range over seq (variable of type iter.Seq[E]) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go|47 col 57| not enough arguments in call to time.Unix
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|432 col 48| inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|446 col 17| inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|447 col 15| inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|458 col 13| inst.MatchRune undefined (type *onePassInst has no field or method MatchRune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|462 col 17| inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|480 col 39| inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go|485 col 16| inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|76 col 12| i.MatchRunePos undefined (type *onePassInst has no field or method MatchRunePos) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|80 col 7| i.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|81 col 12| i.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|238 col 21| p.Inst[pc].Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|243 col 29| p.Inst[pc].Out undefined (type onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|244 col 27| p.Inst[pc].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|247 col 17| instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|250 col 18| instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|256 col 17| instOther.Op undefined (type onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|262 col 33| p.Inst[*p_A_Alt].Out undefined (type onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|263 col 35| p.Inst[*p_A_Alt].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|265 col 15| instAlt.Out undefined (type onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|267 col 22| instAlt.Arg undefined (type onePassInst has no field or method Arg) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|315 col 15| inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|317 col 20| inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|319 col 23| inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|332 col 10| inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|367 col 16| inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|373 col 16| inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go|449 col 14| p.Inst[i].Rune undefined (type onePassInst has no field or method Rune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/crypto/tls/auth.go|133 col 7| previous case (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/crypto/tls/auth.go|181 col 7| previous case (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/crypto/tls/auth.go|273 col 7| previous case (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/crypto/tls/tls.go|15 col 2| "bytes" imported and not used (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/math/big/intconv.go|220 col 21| r.ReadRune undefined (type byteReader has no field or method ReadRune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/math/big/intconv.go|228 col 11| r.UnreadRune undefined (type byteReader has no field or method UnreadRune) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/html/template/escape.go|164 col 1| missing return (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/text/template/exec.go|140 col 31| s.tmpl.ErrorContext undefined (type *Template has no field or method ErrorContext) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/text/template/exec.go|221 col 24| t.Root undefined (type *Template has no field or method Root) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/text/template/exec.go|224 col 22| t.Root undefined (type *Template has no field or method Root) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/text/template/exec.go|240 col 31| tmpl.Root undefined (type *Template has no field or method Root) (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/text/template/exec.go|461 col 26| tmpl.Root undefined (type *Template has no field or method Root) (typecheck)
../../../go/pkg/mod/github.com/go-ldap/ldap/[email protected]/bind.go|417 col 21| undefined: ntlmssp (typecheck)
Filtered Findings (0)
Annotations
Check failure on line 43 in version/version.go
github-actions / golangci
[golangci] version/version.go#L43
undefined: semver (typecheck)
Raw output
version/version.go:43:12: undefined: semver (typecheck)
v, err := semver.NewVersion(Tag)
^
Check failure on line 357 in cmd/vela-slack/main.go
github-actions / golangci
[golangci] cmd/vela-slack/main.go#L357
undefined: cli (typecheck)
Raw output
cmd/vela-slack/main.go:357:13: undefined: cli (typecheck)
func run(c *cli.Context) error {
^
Check failure on line 455 in cmd/vela-slack/main.go
github-actions / golangci
[golangci] cmd/vela-slack/main.go#L455
undefined: cli (typecheck)
Raw output
cmd/vela-slack/main.go:455:27: undefined: cli (typecheck)
func getSAMAccountName(c *cli.Context) string {
^
Check failure on line 41 in cmd/vela-slack/main.go
github-actions / golangci
[golangci] cmd/vela-slack/main.go#L41
undefined: cli (typecheck)
Raw output
cmd/vela-slack/main.go:41:9: undefined: cli (typecheck)
app := cli.NewApp()
^
Check failure on line 486 in cmd/vela-slack/main.go
github-actions / golangci
[golangci] cmd/vela-slack/main.go#L486
undefined: ldap (typecheck)
Raw output
cmd/vela-slack/main.go:486:12: undefined: ldap (typecheck)
l, err := ldap.DialTLS("tcp", fmt.Sprintf("%s:%s", ldapServer, ldapPort), config)
^
Check failure on line 499 in cmd/vela-slack/main.go
github-actions / golangci
[golangci] cmd/vela-slack/main.go#L499
undefined: ldap (typecheck)
Raw output
cmd/vela-slack/main.go:499:9: undefined: ldap (typecheck)
req := ldap.NewSearchRequest(
^
Check failure on line 501 in cmd/vela-slack/main.go
github-actions / golangci
[golangci] cmd/vela-slack/main.go#L501
undefined: ldap (typecheck)
Raw output
cmd/vela-slack/main.go:501:3: undefined: ldap (typecheck)
ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false,
^
Check failure on line 155 in cmd/vela-slack/plugin.go
github-actions / golangci
[golangci] cmd/vela-slack/plugin.go#L155
undefined: sprig (typecheck)
Raw output
cmd/vela-slack/plugin.go:155:45: undefined: sprig (typecheck)
tmpl := template.New("slackmessage").Funcs(sprig.TxtFuncMap())
^
Check failure on line 50 in ../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go#L50
cannot range over seq (variable of type iter.Seq[E]) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/slices/iter.go:50:17: cannot range over seq (variable of type iter.Seq[E]) (typecheck)
for v := range seq {
^
Check failure on line 47 in ../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go#L47
not enough arguments in call to time.Unix
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/os/stat_linux.go:47:57: not enough arguments in call to time.Unix
have (unknown type)
want (int64, int64) (typecheck)
return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
^
Check failure on line 432 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L432
inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:432:48: inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
if pos == 0 && flag.match(syntax.EmptyOp(inst.Arg)) &&
^
Check failure on line 446 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L446
inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:446:17: inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
pc = int(inst.Out)
^
Check failure on line 447 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L447
inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:447:15: inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
switch inst.Op {
^
Check failure on line 458 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L458
inst.MatchRune undefined (type *onePassInst has no field or method MatchRune) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:458:13: inst.MatchRune undefined (type *onePassInst has no field or method MatchRune) (typecheck)
if !inst.MatchRune(r) {
^
Check failure on line 462 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L462
inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:462:17: inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
if r != inst.Rune[0] {
^
Check failure on line 480 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L480
inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:480:39: inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
if !flag.match(syntax.EmptyOp(inst.Arg)) {
^
Check failure on line 485 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go#L485
inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/exec.go:485:16: inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
if int(inst.Arg) < len(m.matchcap) {
^
Check failure on line 76 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L76
i.MatchRunePos undefined (type *onePassInst has no field or method MatchRunePos) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:76:12: i.MatchRunePos undefined (type *onePassInst has no field or method MatchRunePos) (typecheck)
next := i.MatchRunePos(r)
^
Check failure on line 80 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L80
i.Op undefined (type *onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:80:7: i.Op undefined (type *onePassInst has no field or method Op) (typecheck)
if i.Op == syntax.InstAltMatch {
^
Check failure on line 81 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L81
i.Out undefined (type *onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:81:12: i.Out undefined (type *onePassInst has no field or method Out) (typecheck)
return i.Out
^
Check failure on line 238 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L238
p.Inst[pc].Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:238:21: p.Inst[pc].Op undefined (type onePassInst has no field or method Op) (typecheck)
switch p.Inst[pc].Op {
^
Check failure on line 243 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L243
p.Inst[pc].Out undefined (type onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:243:29: p.Inst[pc].Out undefined (type onePassInst has no field or method Out) (typecheck)
p_A_Other := &p.Inst[pc].Out
^
Check failure on line 244 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L244
p.Inst[pc].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:244:27: p.Inst[pc].Arg undefined (type onePassInst has no field or method Arg) (typecheck)
p_A_Alt := &p.Inst[pc].Arg
^
Check failure on line 247 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L247
instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:247:17: instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
^
Check failure on line 250 in ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go
github-actions / golangci
[golangci] ../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go#L250
instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:250:18: instAlt.Op undefined (type onePassInst has no field or method Op) (typecheck)
if !(instAlt.Op == syntax.InstAlt || instAlt.Op == syntax.InstAltMatch) {
^