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

chore(deps): update dependency golangci/golangci-lint to v1.64.2 #25300

Closed
wants to merge 1 commit into from

chore(deps): update dependency golangci/golangci-lint to v1.64.2

1763be9
Select commit
Loading
Failed to load commit list.
Closed

chore(deps): update dependency golangci/golangci-lint to v1.64.2 #25300

chore(deps): update dependency golangci/golangci-lint to v1.64.2
1763be9
Select commit
Loading
Failed to load commit list.
Cirrus CI / Windows Cross failed Feb 11, 2025 in 2m 36s

Task Summary

Instruction main failed in 02:14

Details

✅ 00:16 clone
✅ 00:02 setup
❌ 02:14 main

containers-common-0.62.0-1.fc41-noarch
container-selinux-2.234.2-1.fc41-noarch
criu-4.0-2.fc41-x86_64
crun-1.19.1-1.fc41-x86_64
golang-1.23.6-1.fc41-x86_64
libseccomp-2.5.5-2.fc41-x86_64
netavark-1.13.1-1.fc41-x86_64
passt-0^20250121.g4f2c8e7-2.fc41-x86_64
podman-5.4.0~rc3-1.fc41-x86_64
skopeo-1.17.0-1.fc41-x86_64
slirp4netns-1.3.1-1.fc41-x86_64
************************************************************
+ _run_altbuild  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:507 in main()
Performing alternate build: Windows Cross
************************************************************
+ cd /var/tmp/go/src/github.com/containers/podman
+ case "$ALT_NAME" in
+ showrun make .install.pre-commit
+ local -a context
+ context=($(caller 0))
++ caller 0
+ echo '+ make .install.pre-commit  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:274 in _run_altbuild()'
+ make .install.pre-commit  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:274 in _run_altbuild()
+ make .install.pre-commit
if [ -z "/usr/bin/pre-commit" ]; then \
	/usr/bin/python3 -m pip install --user pre-commit; \
fi
+ showrun make lint GOOS=windows CGO_ENABLED=0
+ local -a context
+ context=($(caller 0))
++ caller 0
+ echo '+ make lint GOOS=windows CGO_ENABLED=0  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:275 in _run_altbuild()'
+ make lint GOOS=windows CGO_ENABLED=0  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:275 in _run_altbuild()
+ make lint GOOS=windows CGO_ENABLED=0
VERSION=1.64.2 ./hack/install_golangci.sh
Installing golangci-lint v1.64.2 into ./bin/golangci-lint
golangci/golangci-lint info checking GitHub for tag 'v1.64.2'
golangci/golangci-lint info found version: 1.64.2 for v1.64.2/linux/amd64
golangci/golangci-lint info installed ./bin/golangci-lint
hack/golangci-lint.sh run

Running golangci-lint for REMOTE
Build Tags REMOTE: remote,containers_image_openpgp
Skipped directories REMOTE: libpod/events,pkg/machine/qemu,pkg/machine/wsl,test
+ ./bin/golangci-lint run --timeout=10m --build-tags=remote,containers_image_openpgp --exclude-dirs=libpod/events,pkg/machine/qemu,pkg/machine/wsl,test
level=warning msg="[lintersdb] The linter \"exportloopref\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle"
level=warning msg="The linter 'tenv' is deprecated (since v1.64.0) due to: Duplicate feature another linter. Replaced by usetesting."
cmd/podman/registry/registry.go:88:3: nested context in function literal (fatcontext)
		cliCtx = ContextWithOptions(context.Background())
		^
cmd/podman/registry/registry.go:94:2: nested context in function literal (fatcontext)
	cliCtx = context.WithValue(ctx, PodmanOptionsKey{}, podmanOptions)
	^
make: *** [Makefile:286: golangci-lint] Error 1

Exit status: 2