grafana-agent 0 -> 1 attrpath: grafana-agent 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/bzpa84f6pnx2xk7j3sq5lnvih9xabxr0-packages.json.drv building '/nix/store/bzpa84f6pnx2xk7j3sq5lnvih9xabxr0-packages.json.drv'... Going to be running update for following packages: - grafana-agent-0.40.2 Press Enter key to continue... Running update for: - grafana-agent-0.40.2: UPDATING ... - grafana-agent-0.40.2: ERROR --- SHOWING ERROR LOG FOR grafana-agent-0.40.2 ---------------------- warning: found empty hash, assuming 'sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=' this derivation will be built: /nix/store/c2f0h2k2x1im5w2bbwrdr0f9rs2q7hba-grafana-agent-0.40.3-go-modules.drv building '/nix/store/c2f0h2k2x1im5w2bbwrdr0f9rs2q7hba-grafana-agent-0.40.3-go-modules.drv'... Running phase: unpackPhase unpacking source archive /nix/store/nkcfgmhjfglq6bn41hd49j2zpk45nxc8-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase go: go.mod requires go >= 1.22.1 (running go 1.21.7; GOTOOLCHAIN=local) error: builder for '/nix/store/c2f0h2k2x1im5w2bbwrdr0f9rs2q7hba-grafana-agent-0.40.3-go-modules.drv' failed with exit code 1; last 8 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/nkcfgmhjfglq6bn41hd49j2zpk45nxc8-source > source root is source > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > Running phase: buildPhase > go: go.mod requires go >= 1.22.1 (running go 1.21.7; GOTOOLCHAIN=local) For full logs, run 'nix log /nix/store/c2f0h2k2x1im5w2bbwrdr0f9rs2q7hba-grafana-agent-0.40.3-go-modules.drv'. Traceback (most recent call last): File "/nix/store/pkv73byvfz0gnmqdanz195q1kf3cb8z7-nix-update-1.2.0/bin/.nix-update-wrapped", line 9, in sys.exit(main()) ^^^^^^ File "/nix/store/pkv73byvfz0gnmqdanz195q1kf3cb8z7-nix-update-1.2.0/lib/python3.11/site-packages/nix_update/__init__.py", line 291, in main package = update(options) ^^^^^^^^^^^^^^^ File "/nix/store/pkv73byvfz0gnmqdanz195q1kf3cb8z7-nix-update-1.2.0/lib/python3.11/site-packages/nix_update/update.py", line 362, in update update_go_modules_hash(opts, package.filename, package.go_modules) File "/nix/store/pkv73byvfz0gnmqdanz195q1kf3cb8z7-nix-update-1.2.0/lib/python3.11/site-packages/nix_update/update.py", line 149, in update_go_modules_hash target_hash = nix_prefetch(opts, "goModules") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/pkv73byvfz0gnmqdanz195q1kf3cb8z7-nix-update-1.2.0/lib/python3.11/site-packages/nix_update/update.py", line 126, in nix_prefetch raise UpdateError( nix_update.errors.UpdateError: failed to retrieve hash when trying to update grafana-agent.goModules --- SHOWING ERROR LOG FOR grafana-agent-0.40.2 ---------------------- The update script for grafana-agent-0.40.2 failed with exit code 1