fix(deps): update module github.com/docker/docker to v28 #25371
Cirrus CI / Validate source code changes
failed
Feb 20, 2025 in 2m 26s
Task Summary
Instruction main failed in 02:09
Details
✅ 00:12 clone
✅ 00:02 setup
❌ 02:09 main
mounted, path, err := ctr.Mounted()
^
pkg/domain/infra/abi/containers.go:1463:15: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
Id: ctr.ID(),
^
pkg/domain/infra/abi/containers.go:1464:15: ctr.Name undefined (type containerWrapper has no field or method Name) (typecheck)
Name: ctr.Name(),
^
pkg/domain/infra/abi/containers.go:1508:21: ctr.State undefined (type containerWrapper has no field or method State) (typecheck)
state, err := ctr.State()
^
pkg/domain/infra/abi/containers.go:1510:64: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
logrus.Debugf("Error umounting container %s state: %s", ctr.ID(), err.Error())
^
pkg/domain/infra/abi/containers.go:1514:66: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
logrus.Debugf("Error umounting container %s, is running", ctr.ID())
^
pkg/domain/infra/abi/containers.go:1518:53: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
report := entities.ContainerUnmountReport{Id: ctr.ID()}
^
pkg/domain/infra/abi/containers.go:1519:17: ctr.Unmount undefined (type containerWrapper has no field or method Unmount) (typecheck)
if err := ctr.Unmount(options.Force); err != nil {
^
pkg/domain/infra/abi/containers.go:1521:83: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
logrus.Debugf("Error umounting container %s, storage.ErrLayerNotMounted", ctr.ID())
^
pkg/domain/infra/abi/containers.go:1524:63: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
report.Err = fmt.Errorf("unmounting container %s: %w", ctr.ID(), err)
^
pkg/domain/infra/abi/containers.go:1543:21: con.State undefined (type containerWrapper has no field or method State) (typecheck)
state, err := con.State()
^
pkg/domain/infra/abi/containers.go:1550:28: con.PortMappings undefined (type containerWrapper has no field or method PortMappings) (typecheck)
portmappings, err := con.PortMappings()
^
pkg/domain/infra/abi/containers.go:1556:16: con.ID undefined (type containerWrapper has no field or method ID) (typecheck)
Id: con.ID(),
^
pkg/domain/infra/abi/containers.go:1818:23: containers[0].ID undefined (type containerWrapper has no field or method ID) (typecheck)
return containers[0].ID(), nil
^
pkg/domain/infra/abi/generate.go:27:9: declared and not used: content (typecheck)
name, content, err := generate.ContainerUnit(ctr, options)
^
pkg/domain/infra/abi/network.go:116:19: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
report.Id = ctr.ID()
^
pkg/domain/infra/abi/network.go:117:20: ctr.ReloadNetwork undefined (type containerWrapper has no field or method ReloadNetwork) (typecheck)
report.Err = ctr.ReloadNetwork()
^
test/e2e/manifest_test.go:13:2: "github.com/containers/image/v5/docker/reference" imported and not used (typecheck)
"github.com/containers/image/v5/docker/reference"
^
make: *** [Makefile:286: golangci-lint] Error 1
Exit status: 2
Loading