chore(deps): update all non-major dependencies #669
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (50)
version/version.go|43 col 12| undefined: semver (typecheck)
cmd/vela-npm/main.go|180 col 13| undefined: cli (typecheck)
cmd/vela-npm/main.go|30 col 10| undefined: cli (typecheck)
cmd/vela-npm/main.go|36 col 15| undefined: cli (typecheck)
internal/npm/config.go|77 col 13| undefined: semver (typecheck)
internal/npm/package.go|33 col 15| undefined: semver (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/github.com/spf13/[email protected]/iofs.go|176 col 9| cannot use fromIOFSFile{…} (value of type fromIOFSFile) as File value in return statement: fromIOFSFile does not implement File (missing method Close) (typecheck)
../../../go/pkg/mod/github.com/spf13/[email protected]/iofs.go|7 col 2| "io" imported and not used (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/net/http/fs.go|1000 col 20| missing type in composite literal (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/net/http/fs.go|1001 col 20| missing type in composite literal (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/net/http/pattern.go|382 col 1| missing return (typecheck)
../../../go/pkg/mod/golang.org/[email protected]/src/net/http/server.go|2210 col 1| missing return (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/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/maps/iter.go|51 col 20| cannot range over seq (variable of type iter.Seq2[K, V]) (typecheck)
../../../go/pkg/mod/github.com/urfave/cli/[email protected]/category.go|132 col 21| fl.String undefined (type Flag has no field or method String) (typecheck)
../../../go/pkg/mod/github.com/urfave/cli/[email protected]/sliceflag.go|117 col 72| x.Target.String undefined (type T has no field or method String) (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 180 in cmd/vela-npm/main.go
github-actions / golangci
[golangci] cmd/vela-npm/main.go#L180
undefined: cli (typecheck)
Raw output
cmd/vela-npm/main.go:180:13: undefined: cli (typecheck)
func run(c *cli.Context) error {
^
Check failure on line 30 in cmd/vela-npm/main.go
github-actions / golangci
[golangci] cmd/vela-npm/main.go#L30
undefined: cli (typecheck)
Raw output
cmd/vela-npm/main.go:30:10: undefined: cli (typecheck)
app := &cli.App{
^
Check failure on line 36 in cmd/vela-npm/main.go
github-actions / golangci
[golangci] cmd/vela-npm/main.go#L36
undefined: cli (typecheck)
Raw output
cmd/vela-npm/main.go:36:15: undefined: cli (typecheck)
Authors: []*cli.Author{
^
Check failure on line 77 in internal/npm/config.go
github-actions / golangci
[golangci] internal/npm/config.go#L77
undefined: semver (typecheck)
Raw output
internal/npm/config.go:77:13: undefined: semver (typecheck)
_, err := semver.NewVersion(p.Tag)
^
Check failure on line 33 in internal/npm/package.go
github-actions / golangci
[golangci] internal/npm/package.go#L33
undefined: semver (typecheck)
Raw output
internal/npm/package.go:33:15: undefined: semver (typecheck)
if _, err := semver.NewConstraint(p.Version); err != nil {
^
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) {
^
Check failure on line 256 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#L256
instOther.Op undefined (type onePassInst has no field or method Op) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:256:17: instOther.Op undefined (type onePassInst has no field or method Op) (typecheck)
if instOther.Op == syntax.InstAlt || instOther.Op == syntax.InstAltMatch {
^
Check failure on line 262 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#L262
p.Inst[*p_A_Alt].Out undefined (type onePassInst has no field or method Out) (typecheck)
Raw output
../../../go/pkg/mod/golang.org/[email protected]/src/regexp/onepass.go:262:33: p.Inst[*p_A_Alt].Out undefined (type onePassInst has no field or method Out) (typecheck)
p_B_Alt := &p.Inst[*p_A_Alt].Out
^