build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.15 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-1&rev=c668bf82db969b80a4a81852b591d37203d9dbb7#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.47 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/a0fb51cc6cbffcf0db136ac7ff58df003fad9fe0abb228dec6cdbc5a16a5bff3.sqlite' is busy
  3. 0.89 s
  4. 0.98 s Downloading cached source from https://cache.nix-ci.com
  5. 9.09 s Progress: 1 of 1 downloaded from cache
  6. 10.03 s Progress: 0 of 1 downloaded from cache
  7. 10.03 s Downloading cached source from https://cache.nix-ci.com
  8. 18.09 s Progress: 1 of 1 downloaded from cache
  9. 19.01 s
  10. 19.01 s Downloading cached errcheck from https://cache.nix-ci.com
  11. 19.01 s Downloading cached gci from https://cache.nix-ci.com
  12. 19.01 s Downloading cached go-critic from https://cache.nix-ci.com
  13. 19.01 s Downloading cached go-tools from https://cache.nix-ci.com
  14. 19.02 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  15. 19.02 s Downloading cached libunistring from https://cache.nix-ci.com
  16. 19.17 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  17. 19.20 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  18. 19.28 s Progress: 0 of 5 built, 3 of 12 downloaded from cache (3 downloading)
  19. 19.28 s Downloading cached libidn2 from https://cache.nix-ci.com
  20. 19.30 s Progress: 0 of 5 built, 4 of 12 downloaded from cache (3 downloading)
  21. 19.33 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  22. 19.33 s Progress: 0 of 3 built, 6 of 12 downloaded from cache (1 downloading)
  23. 19.33 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  24. 19.63 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  25. 21.80 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  26. 21.80 s Downloading cached zlib from https://cache.nix-ci.com
  27. 21.84 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  28. 21.84 s Downloading cached sqlite from https://cache.nix-ci.com
  29. 21.84 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  30. 21.91 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  31. 22.01 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  32. 22.01 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  33. 22.16 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  34. 22.26 s Building /nix/store/3g96pq31jw342m53jzi4b21wd1wha1zh-go-tests-0.0.0.drv
  35. 22.32 s [go-tests] Phase: unpackPhase
  36. 22.33 s [go-tests] unpacking source archive /nix/store/4n2r2nax6ik7xd36p1d505bcs9ay4d9d-source
  37. 22.35 s [go-tests] source root is source
  38. 22.36 s [go-tests] Phase: patchPhase
  39. 22.37 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  40. 22.38 s [go-tests] Phase: configurePhase
  41. 22.40 s [go-tests] no configure script, doing nothing
  42. 22.40 s [go-tests] Phase: buildPhase
  43. 22.41 s [go-tests] patching script interpreter paths in ./dev-scripts
  44. 22.41 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"
  45. 22.43 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"
  46. 22.44 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"
  47. 22.46 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"
  48. 22.47 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"
  49. 22.49 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"
  50. 22.50 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"
  51. 22.52 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"
  52. 22.54 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"
  53. 22.55 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"
  54. 22.57 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. 22.59 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. 22.60 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"
  57. 22.62 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"
  58. 22.63 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"
  59. 22.65 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"
  60. 22.67 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"
  61. 22.68 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"
  62. 22.70 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"
  63. 22.71 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  64. 22.73 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"
  65. 22.75 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"
  66. 23.09 s [go-tests] + set -o pipefail
  67. 23.09 s [go-tests] + full_test=
  68. 23.09 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  69. 23.09 s [go-tests] + go_test_flags+=("-fullpath")
  70. 23.09 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  71. 23.09 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  72. 23.09 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  73. 23.09 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  74. 23.09 s [go-tests] + [[ '' = \-\-full ]]
  75. 23.09 s [go-tests] + set -u
  76. 23.09 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  77. 23.09 s [go-tests] ++ cd ./dev-scripts
  78. 23.09 s [go-tests] ++ pwd
  79. 23.09 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  80. 23.09 s [go-tests] + readonly SCRIPT_DIR
  81. 23.09 s [go-tests] + cd /build/source/dev-scripts/..
  82. 23.09 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  83. 26.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  84. 33.48 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  85. 33.52 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  86. 33.52 s [go-tests] ok codeberg.org/mtlynch/little-moments/convert 0.016s
  87. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.880s
  88. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.012s
  89. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.009s
  90. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.009s
  91. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.011s
  92. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  93. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  94. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.006s
  95. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.003s
  96. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.006s
  97. 34.37 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  98. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.006s
  99. 34.37 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  100. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  101. 34.37 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  102. 34.37 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.763s
  103. 34.37 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  104. 34.37 s [go-tests] ? codeberg.org/mtlynch/little-moments/uploads [no test files]
  105. 34.47 s [go-tests] + [[ -n '' ]]
  106. 34.47 s [go-tests] + go vet ./...
  107. 43.67 s [go-tests] + go_package_dirs=()
  108. 43.71 s [go-tests] + IFS=
  109. 43.71 s [go-tests] + read -r go_package_dir
  110. 43.71 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  111. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 43.74 s [go-tests] + IFS=
  113. 43.74 s [go-tests] + read -r go_package_dir
  114. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 43.74 s [go-tests] + IFS=
  116. 43.74 s [go-tests] + read -r go_package_dir
  117. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 43.74 s [go-tests] + IFS=
  119. 43.74 s [go-tests] + read -r go_package_dir
  120. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 43.74 s [go-tests] + IFS=
  122. 43.74 s [go-tests] + read -r go_package_dir
  123. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 43.74 s [go-tests] + IFS=
  125. 43.74 s [go-tests] + read -r go_package_dir
  126. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 43.74 s [go-tests] + IFS=
  128. 43.74 s [go-tests] + read -r go_package_dir
  129. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 43.74 s [go-tests] + IFS=
  131. 43.74 s [go-tests] + read -r go_package_dir
  132. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 43.74 s [go-tests] + IFS=
  134. 43.74 s [go-tests] + read -r go_package_dir
  135. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 43.74 s [go-tests] + IFS=
  137. 43.74 s [go-tests] + read -r go_package_dir
  138. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 43.74 s [go-tests] + IFS=
  140. 43.74 s [go-tests] + read -r go_package_dir
  141. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 43.74 s [go-tests] + IFS=
  143. 43.74 s [go-tests] + read -r go_package_dir
  144. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 43.74 s [go-tests] + IFS=
  146. 43.74 s [go-tests] + read -r go_package_dir
  147. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 43.74 s [go-tests] + IFS=
  149. 43.74 s [go-tests] + read -r go_package_dir
  150. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 43.74 s [go-tests] + IFS=
  152. 43.74 s [go-tests] + read -r go_package_dir
  153. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 43.74 s [go-tests] + IFS=
  155. 43.74 s [go-tests] + read -r go_package_dir
  156. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 43.74 s [go-tests] + IFS=
  158. 43.74 s [go-tests] + read -r go_package_dir
  159. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 43.74 s [go-tests] + IFS=
  161. 43.74 s [go-tests] + read -r go_package_dir
  162. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 43.74 s [go-tests] + IFS=
  164. 43.74 s [go-tests] + read -r go_package_dir
  165. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 43.74 s [go-tests] + IFS=
  167. 43.74 s [go-tests] + read -r go_package_dir
  168. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  169. 43.74 s [go-tests] + IFS=
  170. 43.74 s [go-tests] + read -r go_package_dir
  171. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  172. 43.74 s [go-tests] + IFS=
  173. 43.74 s [go-tests] + read -r go_package_dir
  174. 43.74 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  175. 43.74 s [go-tests] + IFS=
  176. 43.74 s [go-tests] + read -r go_package_dir
  177. 43.74 s [go-tests] + readonly go_package_dirs
  178. 43.74 s [go-tests] ++ go env GOPATH
  179. 43.75 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  180. 43.75 s [go-tests] + readonly GCI_PATH
  181. 43.75 s [go-tests] + readonly GCI_VERSION=v0.14.0
  182. 43.75 s [go-tests] + GCI_VERSION=v0.14.0
  183. 43.75 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  184. 43.75 s [go-tests] ++ /build/home/go/bin/gci --version
  185. 43.75 s [go-tests] + gci_version_output='gci version 0.14.0'
  186. 43.75 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  187. 43.75 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  188. 43.75 s [go-tests] + readonly gci_sections
  189. 43.75 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/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/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. 43.78 s [go-tests] + gci_output=
  191. 43.78 s [go-tests] + [[ -n '' ]]
  192. 43.78 s [go-tests] ++ go env GOPATH
  193. 43.79 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  194. 43.79 s [go-tests] + readonly GOCRITIC_PATH
  195. 43.79 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  196. 43.79 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  197. 43.79 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  198. 43.79 s [go-tests] + /build/home/go/bin/go-critic check ./...
  199. 44.50 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  200. 45.00 s [go-tests] ++ go env GOPATH
  201. 45.01 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  202. 45.01 s [go-tests] + readonly STATICCHECK_PATH
  203. 45.01 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  204. 45.01 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  205. 45.01 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  206. 45.01 s [go-tests] + /build/home/go/bin/staticcheck ./...
  207. 48.94 s [go-tests] ++ go env GOPATH
  208. 48.99 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  209. 48.99 s [go-tests] + readonly ERRCHECK_PATH
  210. 48.99 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  211. 48.99 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  212. 48.99 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  213. 48.99 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  214. 49.12 s [go-tests] Phase: installPhase
  215. 49.13 s [go-tests] Phase: fixupPhase
  216. 49.14 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/9r0m9p8hccbnah3cgmb6xf7x86yyfx52-go-tests-0.0.0
  217. 49.15 s [go-tests] checking for references to /build/ in /nix/store/9r0m9p8hccbnah3cgmb6xf7x86yyfx52-go-tests-0.0.0...
  218. 49.16 s [go-tests] patching script interpreter paths in /nix/store/9r0m9p8hccbnah3cgmb6xf7x86yyfx52-go-tests-0.0.0
  219. 49.38 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/9r0m9p8hccbnah3cgmb6xf7x86yyfx52-go-tests-0.0.0
  220. 49.41 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  221. 49.42 s [go-tests:post-build] copying 1 paths...
  222. 49.42 s [go-tests:post-build] copying path '/nix/store/9r0m9p8hccbnah3cgmb6xf7x86yyfx52-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  223. 49.58 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  224. 50.19 s [go-tests:post-build] copying 1 paths...
  225. 50.19 s [go-tests:post-build] copying path '/nix/store/3g96pq31jw342m53jzi4b21wd1wha1zh-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  226. 50.41 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  227. 50.41 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  228. 50.41 s /nix/store/9r0m9p8hccbnah3cgmb6xf7x86yyfx52-go-tests-0.0.0
  229. 50.44 s Build succeeded.