build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.04 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=master&rev=beff1fc9de87a9b09ac54b0054243b10732584ee#packages.x86_64-linux.go-tests --print-build-logs
  2. 2.51 s these 2 derivations will be built:
  3. 2.51 s /nix/store/bfjbar6khnwvrjdqmjx6zbi8sy9zfglp-go-app-starter-0.0.1-go-modules.drv
  4. 2.51 s /nix/store/zg5293b3i3p5a1sgyl0vl0wbf447mghr-go-tests-0.0.0.drv
  5. 2.51 s these 3 paths will be fetched (19.1 MiB download, 102.1 MiB unpacked):
  6. 2.51 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  7. 2.51 s /nix/store/swibh67af55w3pxsjlksyxfihamf9i2z-git-minimal-2.53.0
  8. 2.51 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  9. 2.52 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  10. 2.52 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  11. 2.52 s copying path '/nix/store/swibh67af55w3pxsjlksyxfihamf9i2z-git-minimal-2.53.0' from 'https://cache.nix-ci.com'...
  12. 3.04 s building '/nix/store/bfjbar6khnwvrjdqmjx6zbi8sy9zfglp-go-app-starter-0.0.1-go-modules.drv'...
  13. 3.10 s go-app-starter> Running phase: unpackPhase
  14. 3.10 s go-app-starter> unpacking source archive /nix/store/q0pd7qa74ww4sgwylfp5niybm18sgpya-source
  15. 3.12 s go-app-starter> source root is source
  16. 3.14 s go-app-starter> Running phase: patchPhase
  17. 3.15 s go-app-starter> Running phase: updateAutotoolsGnuConfigScriptsPhase
  18. 3.16 s go-app-starter> Running phase: configurePhase
  19. 3.17 s go-app-starter> Running phase: buildPhase
  20. 3.19 s go-app-starter> go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  21. 3.19 s go-app-starter> go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  22. 3.79 s go-app-starter> go: downloading github.com/tetratelabs/wazero v1.8.2
  23. 3.79 s go-app-starter> go: downloading github.com/ncruces/julianday v1.0.0
  24. 3.79 s go-app-starter> go: downloading golang.org/x/sys v0.29.0
  25. 5.39 s go-app-starter> Running phase: installPhase
  26. 5.91 s go-app-starter (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/i8g2fy9lp2s2h4m4jvain3rnkb43axa1-go-app-starter-0.0.1-go-modules
  27. 5.95 s go-app-starter (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  28. 5.95 s go-app-starter (post)> copying 1 paths...
  29. 5.95 s go-app-starter (post)> copying path '/nix/store/i8g2fy9lp2s2h4m4jvain3rnkb43axa1-go-app-starter-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  30. 8.36 s go-app-starter (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  31. 8.48 s go-app-starter (post)> copying 0 paths...
  32. 8.57 s building '/nix/store/zg5293b3i3p5a1sgyl0vl0wbf447mghr-go-tests-0.0.0.drv'...
  33. 8.63 s go-tests> Running phase: unpackPhase
  34. 8.64 s go-tests> unpacking source archive /nix/store/q0pd7qa74ww4sgwylfp5niybm18sgpya-source
  35. 8.66 s go-tests> source root is source
  36. 8.67 s go-tests> Running phase: patchPhase
  37. 8.68 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  38. 8.70 s go-tests> Running phase: configurePhase
  39. 8.71 s go-tests> no configure script, doing nothing
  40. 8.72 s go-tests> Running phase: buildPhase
  41. 8.73 s go-tests> patching script interpreter paths in ./dev-scripts
  42. 8.73 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"
  43. 8.75 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"
  44. 8.77 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"
  45. 8.79 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"
  46. 8.81 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"
  47. 8.82 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"
  48. 8.84 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"
  49. 8.86 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"
  50. 8.88 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  51. 8.89 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"
  52. 8.91 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"
  53. 8.93 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"
  54. 8.95 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"
  55. 8.96 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"
  56. 8.98 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"
  57. 9.00 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"
  58. 9.02 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"
  59. 9.03 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"
  60. 9.05 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"
  61. 9.07 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"
  62. 9.16 s go-tests> + set -o pipefail
  63. 9.16 s go-tests> + full_test=
  64. 9.16 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  65. 9.16 s go-tests> + go_test_flags+=("-fullpath")
  66. 9.16 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  67. 9.16 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  68. 9.16 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  69. 9.16 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  70. 9.16 s go-tests> + [[ '' = \-\-full ]]
  71. 9.16 s go-tests> + set -u
  72. 9.16 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  73. 9.16 s go-tests> ++ cd ./dev-scripts
  74. 9.16 s go-tests> ++ pwd
  75. 9.16 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  76. 9.16 s go-tests> + readonly SCRIPT_DIR
  77. 9.16 s go-tests> + cd /build/source/dev-scripts/..
  78. 9.16 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  79. 17.84 s go-tests> ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  80. 17.84 s go-tests> ? github.com/mtlynch/go-app-starter/handlers [no test files]
  81. 17.84 s go-tests> ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  82. 17.84 s go-tests> ? github.com/mtlynch/go-app-starter/store/test_sqlite [no test files]
  83. 17.91 s go-tests> + [[ -n '' ]]
  84. 17.91 s go-tests> + go vet ./...
  85. 24.41 s go-tests> ++ go env GOPATH
  86. 24.45 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  87. 24.45 s go-tests> + readonly STATICCHECK_PATH
  88. 24.45 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  89. 24.45 s go-tests> + STATICCHECK_VERSION=v0.6.1
  90. 24.45 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  91. 24.45 s go-tests> + /build/go/bin/staticcheck ./...
  92. 28.90 s go-tests> ++ go env GOPATH
  93. 28.91 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  94. 28.91 s go-tests> + readonly ERRCHECK_PATH
  95. 28.91 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  96. 28.91 s go-tests> + ERRCHECK_VERSION=v1.10.0
  97. 28.91 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  98. 28.91 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  99. 29.09 s go-tests> Running phase: installPhase
  100. 29.11 s go-tests> Running phase: fixupPhase
  101. 29.13 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/i9wv45jj6g99bshqzbmza3kgxwh3zg7a-go-tests-0.0.0
  102. 29.14 s go-tests> checking for references to /build/ in /nix/store/i9wv45jj6g99bshqzbmza3kgxwh3zg7a-go-tests-0.0.0...
  103. 29.15 s go-tests> patching script interpreter paths in /nix/store/i9wv45jj6g99bshqzbmza3kgxwh3zg7a-go-tests-0.0.0
  104. 29.40 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/i9wv45jj6g99bshqzbmza3kgxwh3zg7a-go-tests-0.0.0
  105. 29.46 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  106. 29.50 s go-tests (post)> copying 1 paths...
  107. 29.50 s go-tests (post)> copying path '/nix/store/i9wv45jj6g99bshqzbmza3kgxwh3zg7a-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  108. 29.66 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  109. 30.09 s go-tests (post)> copying 1 paths...
  110. 30.09 s go-tests (post)> copying path '/nix/store/zg5293b3i3p5a1sgyl0vl0wbf447mghr-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...