build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.01 s $ /nix/store/wkkwxc04gdw6b263l1h29pjarjnjdyb6-coreutils-9.8/bin/timeout --kill-after=15s 1800s /nix/store/vnjf0zi1lbln0srm2z743j70kjav76ln-nix-2.34.4/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes build --no-link git+https://codeberg.org/mtlynch/go-app-starter?ref=backport%2Fagents-md&rev=1d715b1eec46e5f3bb4df3b90aef6398962df428#packages.x86_64-linux.go-tests --print-build-logs
  2. 2.29 s this derivation will be built:
  3. 2.29 s /nix/store/miwxdwyn1lbh1wd12hbc3cfv8sa231ng-go-tests-0.0.0.drv
  4. 2.29 s these 3 paths will be fetched (13.2 MiB download, 62.6 MiB unpacked):
  5. 2.29 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  6. 2.29 s /nix/store/i8g2fy9lp2s2h4m4jvain3rnkb43axa1-go-app-starter-0.0.1-go-modules
  7. 2.29 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  8. 2.30 s copying path '/nix/store/i8g2fy9lp2s2h4m4jvain3rnkb43axa1-go-app-starter-0.0.1-go-modules' from 'https://cache.nix-ci.com'...
  9. 2.30 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  10. 2.30 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  11. 2.89 s building '/nix/store/miwxdwyn1lbh1wd12hbc3cfv8sa231ng-go-tests-0.0.0.drv'...
  12. 2.96 s go-tests> Running phase: unpackPhase
  13. 2.97 s go-tests> unpacking source archive /nix/store/k6wb7yzagfapnvaf7js95z3qgc5cq1gj-source
  14. 2.98 s go-tests> source root is source
  15. 3.00 s go-tests> Running phase: patchPhase
  16. 3.01 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  17. 3.03 s go-tests> Running phase: configurePhase
  18. 3.04 s go-tests> no configure script, doing nothing
  19. 3.05 s go-tests> Running phase: buildPhase
  20. 3.06 s go-tests> patching script interpreter paths in ./dev-scripts
  21. 3.07 s go-tests> ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  22. 3.08 s go-tests> ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  23. 3.10 s go-tests> ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  24. 3.12 s go-tests> ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  25. 3.14 s go-tests> ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  26. 3.16 s go-tests> ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  27. 3.17 s go-tests> ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  28. 3.19 s go-tests> ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  29. 3.21 s go-tests> ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  30. 3.23 s go-tests> ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  31. 3.25 s go-tests> ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  32. 3.26 s go-tests> ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  33. 3.28 s go-tests> ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  34. 3.30 s go-tests> ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  35. 3.32 s go-tests> ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  36. 3.33 s go-tests> ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  37. 3.35 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  38. 3.37 s go-tests> ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  39. 3.39 s go-tests> ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  40. 3.40 s go-tests> ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  41. 3.50 s go-tests> + set -o pipefail
  42. 3.50 s go-tests> + full_test=
  43. 3.50 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  44. 3.50 s go-tests> + go_test_flags+=("-fullpath")
  45. 3.50 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  46. 3.50 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  47. 3.50 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  48. 3.50 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  49. 3.50 s go-tests> + [[ '' = \-\-full ]]
  50. 3.50 s go-tests> + set -u
  51. 3.50 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  52. 3.51 s go-tests> ++ cd ./dev-scripts
  53. 3.51 s go-tests> ++ pwd
  54. 3.51 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  55. 3.51 s go-tests> + readonly SCRIPT_DIR
  56. 3.51 s go-tests> + cd /build/source/dev-scripts/..
  57. 3.51 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  58. 10.25 s go-tests> ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  59. 10.25 s go-tests> ? github.com/mtlynch/go-app-starter/handlers [no test files]
  60. 10.25 s go-tests> ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  61. 10.25 s go-tests> ? github.com/mtlynch/go-app-starter/store/test_sqlite [no test files]
  62. 10.31 s go-tests> + [[ -n '' ]]
  63. 10.31 s go-tests> + go vet ./...
  64. 14.64 s go-tests> ++ go env GOPATH
  65. 14.64 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  66. 14.64 s go-tests> + readonly STATICCHECK_PATH
  67. 14.64 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  68. 14.64 s go-tests> + STATICCHECK_VERSION=v0.6.1
  69. 14.64 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  70. 14.64 s go-tests> + /build/go/bin/staticcheck ./...
  71. 17.59 s go-tests> ++ go env GOPATH
  72. 17.59 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  73. 17.59 s go-tests> + readonly ERRCHECK_PATH
  74. 17.59 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  75. 17.59 s go-tests> + ERRCHECK_VERSION=v1.10.0
  76. 17.59 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  77. 17.59 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  78. 17.74 s go-tests> Running phase: installPhase
  79. 17.75 s go-tests> Running phase: fixupPhase
  80. 17.76 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/bprdhfjy03l8xbi4x98am4s2vaxngccr-go-tests-0.0.0
  81. 17.77 s go-tests> checking for references to /build/ in /nix/store/bprdhfjy03l8xbi4x98am4s2vaxngccr-go-tests-0.0.0...
  82. 17.78 s go-tests> patching script interpreter paths in /nix/store/bprdhfjy03l8xbi4x98am4s2vaxngccr-go-tests-0.0.0
  83. 17.98 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/bprdhfjy03l8xbi4x98am4s2vaxngccr-go-tests-0.0.0
  84. 18.02 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  85. 18.03 s go-tests (post)> copying 1 paths...
  86. 18.03 s go-tests (post)> copying path '/nix/store/bprdhfjy03l8xbi4x98am4s2vaxngccr-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  87. 18.10 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  88. 18.42 s go-tests (post)> copying 1 paths...
  89. 18.42 s go-tests (post)> copying path '/nix/store/miwxdwyn1lbh1wd12hbc3cfv8sa231ng-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...