fix(deps): update module go.etcd.io/bbolt to v1.3.11 #23724
Closed
Cirrus CI / Windows Cross
failed
Aug 28, 2024 in 5m 0s
Task Summary
Instruction main failed in 04:35
Details
✅ 00:21 clone
✅ 00:01 setup
❌ 04:35 main
for i := 0; i < 50; i++ {
^
pkg/machine/shim/networking.go:127:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < maxBackoffs; i++ {
^
cmd/podman/containers/port.go:132:6: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := uint16(0); i < v.Range; i++ {
^
libpod/lock/in_memory_locks.go:60:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i = 0; i < numLocks; i++ {
^
pkg/util/camelcase/camelcase.go:77:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < len(runes)-1; i++ {
^
cmd/podman/common/create_test.go:25:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < pc.NumField(); i++ {
^
cmd/podman/common/create_test.go:28:3: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for j := 0; j < cc.NumField(); j++ {
^
hack/podman-registry-go/registry_test.go:22:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < 3; i++ {
^
libpod/logs/log_test.go:118:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < 1000; i++ {
^
pkg/machine/machine_windows.go:83:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < retries; i++ {
^
pkg/machine/e2e/basic_test.go:263:2: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < 6; i++ {
^
pkg/machine/e2e/inspect_test.go:87:3: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for c := 0; c < 2; c++ {
^
pkg/machine/e2e/list_test.go:92:3: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < retries; i++ {
^
pkg/specgenutil/util.go:65:3: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for index = 0; index < len; index++ {
^
pkg/systemd/parser/split.go:127:3: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < 4; i++ {
^
pkg/systemd/parser/split.go:151:3: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := 0; i < 8; i++ {
^
pkg/util/utils.go:400:4: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := uint64(0); i < sz; i++ {
^
pkg/util/utils.go:866:3: for loop can be changed to use an integer range (Go 1.22+) (intrange)
for i := uint64(0); i < sz; i++ {
^
make: *** [Makefile:287: golangci-lint] Error 1
Exit status: 2
Loading