build packages.x86_64-linux.go-tests

Reproduce this run
  1. 1.24 s $ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/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/little-moments?ref=slice-2.5&rev=595f949b38925875b44033bc1ba496e87afc2442#packages.x86_64-linux.go-tests --print-build-logs
  2. 2.39 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/362911b11d574c245cc74c69bd74febae97522c82562182888a56f7784c7376f.sqlite' is busy
  3. 2.39 s
  4. 2.40 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 2.40 s Downloading cached gci from https://cache.nix-ci.com
  6. 2.40 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 2.40 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 2.40 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  9. 2.40 s Downloading cached libunistring from https://cache.nix-ci.com
  10. 2.40 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  11. 2.41 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  12. 2.41 s Downloading cached libidn2 from https://cache.nix-ci.com
  13. 2.42 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  14. 2.42 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  15. 2.43 s Progress: 0 of 6 built, 4 of 12 downloaded from cache (4 downloading)
  16. 2.44 s Progress: 0 of 5 built, 5 of 12 downloaded from cache (3 downloading)
  17. 2.50 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  18. 2.71 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  19. 2.71 s Downloading cached zlib from https://cache.nix-ci.com
  20. 2.73 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  21. 2.73 s Downloading cached sqlite from https://cache.nix-ci.com
  22. 2.73 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  23. 2.76 s Progress: 0 of 3 built, 9 of 12 downloaded from cache (2 downloading)
  24. 2.77 s Progress: 0 of 3 built, 10 of 12 downloaded from cache (1 downloading)
  25. 2.77 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  26. 2.77 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  27. 2.78 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  28. 2.87 s Building /nix/store/ms1gacr3kydd99n6wk9vqa84ibfc4km6-go-tests-0.0.0.drv
  29. 2.93 s [go-tests] Phase: unpackPhase
  30. 2.93 s [go-tests] unpacking source archive /nix/store/4f2b5rzvbf2n16xd4lmssah5yvhdawlb-source
  31. 2.96 s [go-tests] source root is source
  32. 2.97 s [go-tests] Phase: patchPhase
  33. 2.98 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  34. 2.99 s [go-tests] Phase: configurePhase
  35. 3.00 s [go-tests] no configure script, doing nothing
  36. 3.01 s [go-tests] Phase: buildPhase
  37. 3.02 s [go-tests] patching script interpreter paths in ./dev-scripts
  38. 3.02 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"
  39. 3.04 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"
  40. 3.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"
  41. 3.07 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"
  42. 3.08 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"
  43. 3.10 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"
  44. 3.11 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"
  45. 3.13 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"
  46. 3.15 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"
  47. 3.16 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"
  48. 3.18 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  49. 3.20 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"
  50. 3.21 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"
  51. 3.23 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"
  52. 3.24 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"
  53. 3.26 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"
  54. 3.28 s [go-tests] ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  55. 3.29 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. 3.31 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"
  57. 3.32 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"
  58. 3.45 s [go-tests] + set -o pipefail
  59. 3.45 s [go-tests] + full_test=
  60. 3.45 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  61. 3.45 s [go-tests] + go_test_flags+=("-fullpath")
  62. 3.45 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  63. 3.45 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  64. 3.45 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  65. 3.45 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  66. 3.45 s [go-tests] + [[ '' = \-\-full ]]
  67. 3.45 s [go-tests] + set -u
  68. 3.45 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  69. 3.46 s [go-tests] ++ cd ./dev-scripts
  70. 3.46 s [go-tests] ++ pwd
  71. 3.46 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  72. 3.46 s [go-tests] + readonly SCRIPT_DIR
  73. 3.46 s [go-tests] + cd /build/source/dev-scripts/..
  74. 3.46 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  75. 6.83 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  76. 17.06 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  77. 17.07 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  78. 17.07 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  79. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.245s
  80. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.029s
  81. 18.31 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  82. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.010s
  83. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.009s
  84. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  85. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  86. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  87. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  88. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  89. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.006s
  90. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.007s
  91. 18.31 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  92. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  93. 18.31 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  94. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  95. 18.31 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  96. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.945s
  97. 18.31 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  98. 18.31 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.009s
  99. 18.43 s [go-tests] + [[ -n '' ]]
  100. 18.43 s [go-tests] + go vet ./...
  101. 30.42 s [go-tests] + go_package_dirs=()
  102. 30.43 s [go-tests] + IFS=
  103. 30.43 s [go-tests] + read -r go_package_dir
  104. 30.43 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  105. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 30.59 s [go-tests] + IFS=
  107. 30.59 s [go-tests] + read -r go_package_dir
  108. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 30.59 s [go-tests] + IFS=
  110. 30.59 s [go-tests] + read -r go_package_dir
  111. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 30.59 s [go-tests] + IFS=
  113. 30.59 s [go-tests] + read -r go_package_dir
  114. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 30.59 s [go-tests] + IFS=
  116. 30.59 s [go-tests] + read -r go_package_dir
  117. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 30.59 s [go-tests] + IFS=
  119. 30.59 s [go-tests] + read -r go_package_dir
  120. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 30.59 s [go-tests] + IFS=
  122. 30.59 s [go-tests] + read -r go_package_dir
  123. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 30.59 s [go-tests] + IFS=
  125. 30.59 s [go-tests] + read -r go_package_dir
  126. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 30.59 s [go-tests] + IFS=
  128. 30.59 s [go-tests] + read -r go_package_dir
  129. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 30.59 s [go-tests] + IFS=
  131. 30.59 s [go-tests] + read -r go_package_dir
  132. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 30.59 s [go-tests] + IFS=
  134. 30.59 s [go-tests] + read -r go_package_dir
  135. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 30.59 s [go-tests] + IFS=
  137. 30.59 s [go-tests] + read -r go_package_dir
  138. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 30.59 s [go-tests] + IFS=
  140. 30.59 s [go-tests] + read -r go_package_dir
  141. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 30.59 s [go-tests] + IFS=
  143. 30.59 s [go-tests] + read -r go_package_dir
  144. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 30.59 s [go-tests] + IFS=
  146. 30.59 s [go-tests] + read -r go_package_dir
  147. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 30.59 s [go-tests] + IFS=
  149. 30.59 s [go-tests] + read -r go_package_dir
  150. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 30.59 s [go-tests] + IFS=
  152. 30.59 s [go-tests] + read -r go_package_dir
  153. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 30.59 s [go-tests] + IFS=
  155. 30.59 s [go-tests] + read -r go_package_dir
  156. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 30.59 s [go-tests] + IFS=
  158. 30.59 s [go-tests] + read -r go_package_dir
  159. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 30.59 s [go-tests] + IFS=
  161. 30.59 s [go-tests] + read -r go_package_dir
  162. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 30.59 s [go-tests] + IFS=
  164. 30.59 s [go-tests] + read -r go_package_dir
  165. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 30.59 s [go-tests] + IFS=
  167. 30.59 s [go-tests] + read -r go_package_dir
  168. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  169. 30.59 s [go-tests] + IFS=
  170. 30.59 s [go-tests] + read -r go_package_dir
  171. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  172. 30.59 s [go-tests] + IFS=
  173. 30.59 s [go-tests] + read -r go_package_dir
  174. 30.59 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  175. 30.59 s [go-tests] + IFS=
  176. 30.59 s [go-tests] + read -r go_package_dir
  177. 30.59 s [go-tests] + readonly go_package_dirs
  178. 30.59 s [go-tests] ++ go env GOBIN
  179. 30.60 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  180. 30.60 s [go-tests] + readonly GCI_PATH
  181. 30.60 s [go-tests] + readonly GCI_VERSION=v0.14.0
  182. 30.60 s [go-tests] + GCI_VERSION=v0.14.0
  183. 30.60 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  184. 30.60 s [go-tests] ++ /build/home/go/bin/gci --version
  185. 30.61 s [go-tests] + gci_version_output='gci version 0.14.0'
  186. 30.61 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  187. 30.61 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  188. 30.61 s [go-tests] + readonly gci_sections
  189. 30.61 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/cmd/import-from-tinybeans /build/source/convert /build/source/handlers /build/source/imagepipe /build/source/images /build/source/importers /build/source/importers/tinybeans /build/source/importers/tinybeans/parse /build/source/little_moments /build/source/little_moments/login_token /build/source/magiclogin /build/source/magiclogin/loginmail /build/source/magiclogin/loginmail/smtp /build/source/mediastore /build/source/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite /build/source/uploads
  190. 30.74 s [go-tests] + gci_output=
  191. 30.74 s [go-tests] + [[ -n '' ]]
  192. 30.74 s [go-tests] ++ go env GOBIN
  193. 30.75 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  194. 30.75 s [go-tests] + readonly GOCRITIC_PATH
  195. 30.75 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  196. 30.75 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  197. 30.75 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  198. 30.75 s [go-tests] + /build/home/go/bin/go-critic check ./...
  199. 32.42 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  200. 33.46 s [go-tests] ++ go env GOBIN
  201. 33.46 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  202. 33.46 s [go-tests] + readonly STATICCHECK_PATH
  203. 33.46 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  204. 33.46 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  205. 33.46 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  206. 33.46 s [go-tests] + /build/home/go/bin/staticcheck ./...
  207. 39.71 s [go-tests] ++ go env GOBIN
  208. 39.73 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  209. 39.73 s [go-tests] + readonly ERRCHECK_PATH
  210. 39.73 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  211. 39.73 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  212. 39.73 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  213. 39.73 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  214. 40.33 s [go-tests] buildPhase completed in 38 seconds
  215. 40.33 s [go-tests] Phase: installPhase
  216. 40.36 s [go-tests] Phase: fixupPhase
  217. 40.39 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/imqfpfr1rs4d8da77x2f2y7r7xjcsjkx-go-tests-0.0.0
  218. 40.40 s [go-tests] checking for references to /build/ in /nix/store/imqfpfr1rs4d8da77x2f2y7r7xjcsjkx-go-tests-0.0.0...
  219. 40.44 s [go-tests] patching script interpreter paths in /nix/store/imqfpfr1rs4d8da77x2f2y7r7xjcsjkx-go-tests-0.0.0
  220. 40.68 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/imqfpfr1rs4d8da77x2f2y7r7xjcsjkx-go-tests-0.0.0
  221. 40.73 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  222. 40.74 s [go-tests:post-build] copying 1 paths...
  223. 40.74 s [go-tests:post-build] copying path '/nix/store/imqfpfr1rs4d8da77x2f2y7r7xjcsjkx-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  224. 40.83 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  225. 41.18 s [go-tests:post-build] copying 2 paths...
  226. 41.18 s [go-tests:post-build] copying path '/nix/store/shql630afqj2zf7awm9qhv1v588zyszz-little-moments-0.0.1-go-modules.drv' to 'https://cache.nix-ci.com'...
  227. 41.31 s [go-tests:post-build] copying path '/nix/store/ms1gacr3kydd99n6wk9vqa84ibfc4km6-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  228. 41.47 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  229. 41.47 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  230. 41.47 s /nix/store/imqfpfr1rs4d8da77x2f2y7r7xjcsjkx-go-tests-0.0.0
  231. 41.51 s Build succeeded.