rke2 0 -> 1 attrpath: rke2 Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] skipping because derivation has updateScript [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Failed with exit code 1 this derivation will be built: /nix/store/f4r7crv40gkmd2mbjzyqccxgs95svrbs-packages.json.drv building '/nix/store/f4r7crv40gkmd2mbjzyqccxgs95svrbs-packages.json.drv'... Going to be running update for following packages: - rke2-1.28.11+rke2r1 Press Enter key to continue... Running update for: - rke2-1.28.11+rke2r1: UPDATING ... - rke2-1.28.11+rke2r1: ERROR --- SHOWING ERROR LOG FOR rke2-1.28.11+rke2r1 ---------------------- + CHANNEL_NAME=stable +++ dirname /var/cache/nixpkgs-update/worker/worktree/rke2/pkgs/applications/networking/cluster/rke2/update-script.sh ++ cd /var/cache/nixpkgs-update/worker/worktree/rke2/pkgs/applications/networking/cluster/rke2 ++ pwd -P + WORKDIR=/var/cache/nixpkgs-update/worker/worktree/rke2/pkgs/applications/networking/cluster/rke2 + mkdir --parents --verbose /var/cache/nixpkgs-update/worker/worktree/rke2/pkgs/applications/networking/cluster/rke2/stable ++ curl --silent --fail https://update.rke2.io/v1-release/channels ++ yq eval '.data[] | select(.id == "stable").latest' - ++ sort -rV ++ grep --extended-regexp '^v[0-9]+\.[0-9]+\.[0-9]+' ++ head -n1 + LATEST_TAG_NAME=v1.30.4+rke2r1 ++ echo v1.30.4+rke2r1 ++ sed 's/^v//' + RKE2_VERSION=1.30.4+rke2r1 ++ nix-prefetch-url --quiet --unpack https://github.com/rancher/rke2/archive/refs/tags/v1.30.4+rke2r1.tar.gz + RKE2_REPO_SHA256=1daxs8gxy775qn1yrf7zh77cyaj3nn3qlwj0vjqfpbv1gpkimfyi ++ curl --silent --fail -u :7bdbd24b04abe9f561f182a0917b808ce7ecc3c6 https://api.github.com/repos/rancher/rke2/git/refs/tags ++ yq eval '.[] | select(.ref == "refs/tags/v1.30.4+rke2r1").object.sha' - + RKE2_COMMIT=9517eea519b780e154dd791c555c698e84a0e5cd ++ mktemp --suffix .9517ee.sh + VERSIONS_SCRIPT=/tmp/tmp.6fZth7S3iA.9517ee.sh + trap 'rm --force /tmp/tmp.6fZth7S3iA.9517ee.sh' EXIT + curl --silent --fail --output /tmp/tmp.6fZth7S3iA.9517ee.sh https://raw.githubusercontent.com/rancher/rke2/9517eea519b780e154dd791c555c698e84a0e5cd/scripts/version.sh + set +eu + DRONE_TAG=v1.30.4+rke2r1 + source /tmp/tmp.6fZth7S3iA.9517ee.sh ++ set -x ++ PROG=rke2 ++ REGISTRY=docker.io ++ REPO=rancher ++ K3S_PKG=github.com/k3s-io/k3s ++ RKE2_PKG=github.com/rancher/rke2 ++ GO=go +++ go env GOARCH /tmp/tmp.6fZth7S3iA.9517ee.sh: line 10: go: command not found ++ GOARCH= +++ go env GOARCH /tmp/tmp.6fZth7S3iA.9517ee.sh: line 11: go: command not found ++ ARCH= +++ go env GOOS /tmp/tmp.6fZth7S3iA.9517ee.sh: line 12: go: command not found ++ GOOS= ++ '[' -z '' ']' ++ '[' '' == Windows_NT ']' +++ shell uname -s /tmp/tmp.6fZth7S3iA.9517ee.sh: line 17: shell: command not found ++ UNAME_S= ++ '[' '' == Linux ']' ++ '[' '' == Darwin ']' ++ '[' '' == FreeBSD ']' ++ GIT_TAG= ++ TREE_STATE=clean ++ COMMIT= +++ git rev-parse HEAD +++ git diff --no-ext-diff --quiet --exit-code ++ REVISION=151889cdbf3ae03382057d7dcb17b128884cd913 ++ PLATFORM=- ++ RELEASE=rke2.- ++ KUBERNETES_VERSION=v1.30.4 ++ KUBERNETES_IMAGE_TAG=v1.30.4-rke2r1-build20240815 ++ ETCD_VERSION=v3.5.13-k3s1 ++ PAUSE_VERSION=3.6 ++ CCM_VERSION=v1.29.3-build20240515 ++ '[' -d .git ']' ++ [[ -n '' ]] ++ VERSION=v1.30.4+dev. ++ [[ v1.30.4+dev. =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)([-+][a-zA-Z0-9.]+)?[-+]((rke2r[0-9]+|dev.*))$ ]] ++ VERSION_MAJOR=1 ++ VERSION_MINOR=30 ++ PATCH=4 ++ RC= ++ RKE2_PATCH=dev. ++ echo 'VERSION=v1.30.4+dev. parsed as MAJOR= MINOR= PATCH=4 RC= RKE2_PATCH=dev.' ++ DEPENDENCIES_URL=https://raw.githubusercontent.com/kubernetes/kubernetes/v1.30.4/build/dependencies.yaml +++ curl -sL https://raw.githubusercontent.com/kubernetes/kubernetes/v1.30.4/build/dependencies.yaml +++ yq e '.dependencies[] | select(.name == "golang: upstream version").version' - ++ VERSION_GOLANG=go1.22.5 ++ DOCKERIZED_VERSION=v1.30.4-dev. + set -eu ++ echo v1.30.4 ++ grep -Eo '[0-9]+\.[0-9]+' + KUBERNETES_CYCLES=1.30 ++ curl --silent --fail https://endoflife.date/api/kubernetes/1.30.json ++ yq eval .eol - + KUBERNETES_EOL=2025-06-28 + FAKE_HASH=sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + cat + set +e +++ git rev-parse --show-toplevel ++ nix-prefetch -I nixpkgs=/var/cache/nixpkgs-update/worker/worktree/rke2 '{ sha256 }: rke2_stable.goModules.overrideAttrs (_: { vendorHash = sha256; })' The fetcher will be called as follows: > { > sha256 = "sha256:0000000000000000000000000000000000000000000000000000"; > } Running phase: unpackPhase unpacking source archive /nix/store/7s7hxbcyh1pic16dp7dgdhn4mmz7wash-rke2 source root is rke2 Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase go: go.mod requires go >= 1.22.5 (running go 1.21.13; GOTOOLCHAIN=local) error: builder for '/nix/store/7g82x39wgpamkq8gkra1wb2s4172pil8-rke2-1.30.4+rke2r1-go-modules.drv' failed with exit code 1; last 8 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/7s7hxbcyh1pic16dp7dgdhn4mmz7wash-rke2 > source root is rke2 > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > Running phase: buildPhase > go: go.mod requires go >= 1.22.5 (running go 1.21.13; GOTOOLCHAIN=local) For full logs, run 'nix log /nix/store/7g82x39wgpamkq8gkra1wb2s4172pil8-rke2-1.30.4+rke2r1-go-modules.drv'. + RKE2_VENDOR_HASH= + set -e + '[' -n '' ']' + echo 'Update failed. '\''RKE2_VENDOR_HASH'\'' is empty.' + exit 1 + rm --force /tmp/tmp.6fZth7S3iA.9517ee.sh --- SHOWING ERROR LOG FOR rke2-1.28.11+rke2r1 ---------------------- The update script for rke2-1.28.11+rke2r1 failed with exit code 1