build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.00 s $ /nix/store/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/wknkybkzrc16r11vk5vrykh4wmw7a353-nix-2.34.8/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://codeberg.org/mtlynch/go-app-starter?ref=stricter-push-down&rev=c2556c06c29cd4c4e2577a50c6bba2ae5e7f29ec&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.10 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/bbdb962e50d79e9e16bb863e90cf13cf0a3f201e3f06d699fe300addd6f5b273.sqlite' is busy
  3. 1.17 s
  4. 1.23 s Downloading cached source from https://cache.nix-ci.com
  5. 9.88 s Downloaded cached source (194.4 MiB) in 8.6s
  6. 9.88 s Progress: 1 of 1 downloaded from cache
  7. 12.35 s Progress: 0 of 1 downloaded from cache
  8. 12.35 s Downloading cached source from https://cache.nix-ci.com
  9. 21.06 s Downloaded cached source (186 MiB) in 8.7s
  10. 21.06 s Progress: 1 of 1 downloaded from cache
  11. 21.88 s
  12. 21.89 s Downloading cached iana-etc from https://cache.nix-ci.com
  13. 21.89 s Downloading cached mailcap from https://cache.nix-ci.com
  14. 21.89 s Downloading cached tzdata from https://cache.nix-ci.com
  15. 21.89 s Downloading cached go-app-starter-0.0.1-go-modules from https://cache.nix-ci.com
  16. 21.89 s Downloading cached go-tools from https://cache.nix-ci.com
  17. 21.89 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  18. 21.89 s Downloading cached libunistring from https://cache.nix-ci.com
  19. 21.89 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  20. 21.89 s Downloading cached errcheck from https://cache.nix-ci.com
  21. 21.89 s Downloading cached go-critic from https://cache.nix-ci.com
  22. 21.89 s Downloading cached libunistring from https://cache.nix-ci.com
  23. 21.92 s Downloaded cached xgcc-15.2.0-libgcc (193 KiB) in 26ms
  24. 21.92 s Progress: 0 of 7 built, 1 of 20 downloaded from cache (10 downloading)
  25. 21.93 s Downloaded cached iana-etc (557 KiB) in 39ms
  26. 21.93 s Progress: 0 of 7 built, 2 of 20 downloaded from cache (9 downloading)
  27. 21.96 s Downloaded cached libunistring (2 MiB) in 61ms
  28. 21.96 s Progress: 0 of 7 built, 3 of 20 downloaded from cache (8 downloading)
  29. 21.96 s Downloading cached libidn2 from https://cache.nix-ci.com
  30. 21.97 s Downloaded cached xgcc-15.2.0-libgcc (193 KiB) in 80ms
  31. 21.98 s Progress: 0 of 7 built, 4 of 20 downloaded from cache (8 downloading)
  32. 21.98 s Downloaded cached libunistring (2 MiB) in 81ms
  33. 21.98 s Progress: 0 of 7 built, 5 of 20 downloaded from cache (7 downloading)
  34. 21.98 s Downloading cached libidn2 from https://cache.nix-ci.com
  35. 22.01 s Downloaded cached mailcap (116 KiB) in 114ms
  36. 22.01 s Progress: 0 of 7 built, 6 of 20 downloaded from cache (7 downloading)
  37. 22.03 s Downloaded cached libidn2 (359 KiB) in 70ms
  38. 22.03 s Progress: 0 of 7 built, 7 of 20 downloaded from cache (6 downloading)
  39. 22.03 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  40. 22.04 s Downloaded cached errcheck (5.2 MiB) in 148ms
  41. 22.04 s Progress: 0 of 7 built, 8 of 20 downloaded from cache (6 downloading)
  42. 22.09 s Downloaded cached go-critic (9.3 MiB) in 192ms
  43. 22.09 s Progress: 0 of 6 built, 9 of 20 downloaded from cache (5 downloading)
  44. 22.10 s Downloaded cached go-app-starter-0.0.1-go-modules (12.2 MiB) in 203ms
  45. 22.10 s Progress: 0 of 5 built, 10 of 20 downloaded from cache (4 downloading)
  46. 22.25 s Downloaded cached libidn2 (359 KiB) in 265ms
  47. 22.25 s Progress: 0 of 4 built, 11 of 20 downloaded from cache (3 downloading)
  48. 22.25 s Downloading cached glibc-2.42 from https://cache.nix-ci.com
  49. 22.38 s Downloaded cached glibc-2.40 (28.8 MiB) in 350ms
  50. 22.38 s Progress: 0 of 4 built, 12 of 20 downloaded from cache (3 downloading)
  51. 22.38 s Downloading cached zlib from https://cache.nix-ci.com
  52. 22.39 s Downloaded cached go-tools (45.4 MiB) in 493ms
  53. 22.39 s Progress: 0 of 4 built, 13 of 20 downloaded from cache (3 downloading)
  54. 22.40 s Downloaded cached zlib (129 KiB) in 19ms
  55. 22.40 s Progress: 0 of 3 built, 14 of 20 downloaded from cache (2 downloading)
  56. 22.40 s Downloading cached sqlite from https://cache.nix-ci.com
  57. 22.40 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  58. 22.44 s Downloaded cached sqlite (3.8 MiB) in 40ms
  59. 22.44 s Progress: 0 of 3 built, 15 of 20 downloaded from cache (3 downloading)
  60. 22.44 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 42ms
  61. 22.44 s Progress: 0 of 3 built, 16 of 20 downloaded from cache (2 downloading)
  62. 22.44 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  63. 22.46 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 16ms
  64. 22.46 s Progress: 0 of 3 built, 17 of 20 downloaded from cache (2 downloading)
  65. 23.10 s Downloaded cached tzdata (2 MiB) in 1.2s
  66. 23.10 s Progress: 0 of 2 built, 18 of 20 downloaded from cache (1 downloading)
  67. 23.28 s Downloaded cached glibc-2.42 (33.5 MiB) in 1.0s
  68. 23.28 s Progress: 0 of 2 built, 19 of 20 downloaded from cache
  69. 23.28 s Downloading cached gci from https://cache.nix-ci.com
  70. 23.46 s Downloaded cached gci (14.3 MiB) in 172ms
  71. 23.46 s Progress: 0 of 2 built, 20 of 20 downloaded from cache
  72. 23.56 s Building /nix/store/9ix99bxik8jj7gz92x2kkpiz0cgkaqf7-go-tests-0.0.0.drv
  73. 23.62 s [go-tests] Phase: unpackPhase
  74. 23.62 s [go-tests] unpacking source archive /nix/store/j1bbghhlwsmxsqhcn7bp99qimwbn81sq-source
  75. 23.63 s [go-tests] source root is source
  76. 23.64 s [go-tests] Phase: patchPhase
  77. 23.64 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  78. 23.65 s [go-tests] Phase: configurePhase
  79. 23.66 s [go-tests] no configure script, doing nothing
  80. 23.66 s [go-tests] Phase: buildPhase
  81. 23.66 s [go-tests] patching script interpreter paths in ./dev-scripts
  82. 23.67 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"
  83. 23.67 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  84. 23.68 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"
  85. 23.69 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  86. 23.70 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"
  87. 23.71 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"
  88. 23.71 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"
  89. 23.72 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"
  90. 23.73 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"
  91. 23.74 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"
  92. 23.74 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  93. 23.75 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"
  94. 23.76 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"
  95. 23.77 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  96. 23.77 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"
  97. 23.78 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"
  98. 23.79 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"
  99. 23.80 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  100. 23.80 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"
  101. 23.81 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"
  102. 23.82 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"
  103. 23.89 s [go-tests] + set -o pipefail
  104. 23.89 s [go-tests] + full_test=
  105. 23.89 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  106. 23.89 s [go-tests] + go_test_flags+=("-fullpath")
  107. 23.89 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  108. 23.89 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  109. 23.89 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  110. 23.89 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  111. 23.89 s [go-tests] + case "${1:-}" in
  112. 23.89 s [go-tests] + [[ 0 -gt 1 ]]
  113. 23.89 s [go-tests] + set -u
  114. 23.89 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  115. 23.89 s [go-tests] ++ cd ./dev-scripts
  116. 23.89 s [go-tests] ++ pwd
  117. 23.89 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  118. 23.89 s [go-tests] + readonly SCRIPT_DIR
  119. 23.89 s [go-tests] + cd /build/source/dev-scripts/..
  120. 23.89 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  121. 26.91 s [go-tests] ? github.com/mtlynch/go-app-starter/build [no test files]
  122. 30.27 s [go-tests] ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  123. 30.27 s [go-tests] ok github.com/mtlynch/go-app-starter/handlers 0.006s
  124. 30.27 s [go-tests] ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  125. 30.67 s [go-tests] ok github.com/mtlynch/go-app-starter/store/test_sqlite 0.246s
  126. 30.74 s [go-tests] + [[ -n '' ]]
  127. 30.74 s [go-tests] + go vet ./...
  128. 34.46 s [go-tests] ++ go env GOBIN
  129. 34.47 s [go-tests] + [[ -z /build/home/go/bin ]]
  130. 34.47 s [go-tests] + go_package_dirs=()
  131. 34.47 s [go-tests] + IFS=
  132. 34.47 s [go-tests] + read -r go_package_dir
  133. 34.47 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  134. 34.50 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 34.50 s [go-tests] + IFS=
  136. 34.50 s [go-tests] + read -r go_package_dir
  137. 34.50 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 34.50 s [go-tests] + IFS=
  139. 34.50 s [go-tests] + read -r go_package_dir
  140. 34.50 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 34.50 s [go-tests] + IFS=
  142. 34.50 s [go-tests] + read -r go_package_dir
  143. 34.50 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 34.50 s [go-tests] + IFS=
  145. 34.50 s [go-tests] + read -r go_package_dir
  146. 34.50 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 34.50 s [go-tests] + IFS=
  148. 34.50 s [go-tests] + read -r go_package_dir
  149. 34.51 s [go-tests] + readonly go_package_dirs
  150. 34.51 s [go-tests] ++ go env GOBIN
  151. 34.51 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  152. 34.51 s [go-tests] + readonly GCI_PATH
  153. 34.51 s [go-tests] + readonly GCI_VERSION=v0.14.0
  154. 34.51 s [go-tests] + GCI_VERSION=v0.14.0
  155. 34.51 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  156. 34.51 s [go-tests] ++ /build/home/go/bin/gci --version
  157. 34.51 s [go-tests] + gci_version_output='gci version 0.14.0'
  158. 34.51 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  159. 34.51 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  160. 34.51 s [go-tests] + readonly gci_sections
  161. 34.51 s [go-tests] ++ /build/home/go/bin/gci list --skip-generated --skip-vendor --section=standard --section=default --section=localmodule /build/source/build /build/source/cmd/app /build/source/handlers /build/source/store/sqlite /build/source/store/test_sqlite
  162. 34.52 s [go-tests] + gci_output=
  163. 34.52 s [go-tests] + [[ -n '' ]]
  164. 34.52 s [go-tests] ++ go env GOBIN
  165. 34.52 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  166. 34.52 s [go-tests] + readonly GOCRITIC_PATH
  167. 34.52 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  168. 34.52 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  169. 34.52 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  170. 34.52 s [go-tests] + /build/home/go/bin/go-critic check ./...
  171. 35.01 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  172. 35.43 s [go-tests] ++ go env GOBIN
  173. 35.43 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  174. 35.43 s [go-tests] + readonly STATICCHECK_PATH
  175. 35.43 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  176. 35.43 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  177. 35.43 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  178. 35.43 s [go-tests] + /build/home/go/bin/staticcheck ./...
  179. 38.01 s [go-tests] ++ go env GOBIN
  180. 38.01 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  181. 38.01 s [go-tests] + readonly ERRCHECK_PATH
  182. 38.01 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  183. 38.01 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  184. 38.01 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  185. 38.01 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  186. 38.12 s [go-tests] Phase: installPhase
  187. 38.13 s [go-tests] Phase: fixupPhase
  188. 38.14 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/ph1k2fw6a2bcw66f90y7nmninl7zcczi-go-tests-0.0.0
  189. 38.14 s [go-tests] checking for references to /build/ in /nix/store/ph1k2fw6a2bcw66f90y7nmninl7zcczi-go-tests-0.0.0...
  190. 38.14 s [go-tests] patching script interpreter paths in /nix/store/ph1k2fw6a2bcw66f90y7nmninl7zcczi-go-tests-0.0.0
  191. 38.26 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/ph1k2fw6a2bcw66f90y7nmninl7zcczi-go-tests-0.0.0
  192. 38.30 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  193. 38.31 s [go-tests:post-build] copying 1 paths...
  194. 38.31 s [go-tests:post-build] copying path '/nix/store/ph1k2fw6a2bcw66f90y7nmninl7zcczi-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  195. 38.36 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  196. 38.71 s [go-tests:post-build] copying 1 paths...
  197. 38.71 s [go-tests:post-build] copying path '/nix/store/9ix99bxik8jj7gz92x2kkpiz0cgkaqf7-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  198. 38.87 s Uploaded go-tests in 615ms
  199. 38.87 s Progress: 1 of 2 built, 20 of 20 downloaded from cache
  200. 38.87 s Built go-tests in 15.3s
  201. 38.87 s Progress: 2 of 2 built, 20 of 20 downloaded from cache
  202. 38.87 s /nix/store/ph1k2fw6a2bcw66f90y7nmninl7zcczi-go-tests-0.0.0
  203. 38.90 s Build succeeded.