Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/cyphar/filepath-securejoin to v0.4.1 #25001

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

fix(deps): update module github.com/cyphar/filepath-securejoin to v0.4.1

553da36
Select commit
Loading
Failed to load commit list.
Open

fix(deps): update module github.com/cyphar/filepath-securejoin to v0.4.1 #25001

fix(deps): update module github.com/cyphar/filepath-securejoin to v0.4.1
553da36
Select commit
Loading
Failed to load commit list.
Cirrus CI / Validate source code changes failed Feb 4, 2025 in 2m 43s

Task Summary

Instruction main failed in 02:18

Details

✅ 00:13 clone
✅ 00:03 setup
❌ 02:18 main

		mounted, path, err := ctr.Mounted()
		                          ^
pkg/domain/infra/abi/containers.go:1458:15: ctr.ID undefined (type containerWrapper has no field or method ID) (typecheck)
				Id:   ctr.ID(),
				          ^
pkg/domain/infra/abi/containers.go:1459:15: ctr.Name undefined (type containerWrapper has no field or method Name) (typecheck)
				Name: ctr.Name(),
				          ^
pkg/domain/infra/abi/containers.go:1503:21: ctr.State undefined (type containerWrapper has no field or method State) (typecheck)
		state, err := ctr.State()
		                  ^
pkg/domain/infra/abi/containers.go:1505: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:1509: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:1513: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:1514: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:1516: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:1519: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:1538:21: con.State undefined (type containerWrapper has no field or method State) (typecheck)
		state, err := con.State()
		                  ^
pkg/domain/infra/abi/containers.go:1545:28: con.PortMappings undefined (type containerWrapper has no field or method PortMappings) (typecheck)
		portmappings, err := con.PortMappings()
		                         ^
pkg/domain/infra/abi/containers.go:1551:16: con.ID undefined (type containerWrapper has no field or method ID) (typecheck)
				Id:    con.ID(),
				           ^
pkg/domain/infra/abi/containers.go:1813: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()
		                 ^
pkg/machine/qemu/stubber.go:70:4: q.QEMUPidPath undefined (type *QEMUStubber has no field or method QEMUPidPath) (typecheck)
	q.QEMUPidPath = mc.QEMUHypervisor.QEMUPidPath
	  ^
make: *** [Makefile:285: golangci-lint] Error 1

Exit status: 2