build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.86 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=demo-album&rev=5412fc649ad5f94b16316d831dcc16c0cd55fc3f#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.90 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/5524e7a18f530942bfcccc22df385c38f82879424d02b2e4335bdf2053e697d4.sqlite' is busy
  3. 0.94 s
  4. 1.01 s Downloading cached source from https://cache.nix-ci.com
  5. 9.78 s Progress: 1 of 1 downloaded from cache
  6. 12.85 s
  7. 12.86 s Downloading cached gci from https://cache.nix-ci.com
  8. 12.86 s Downloading cached errcheck from https://cache.nix-ci.com
  9. 12.86 s Downloading cached go-tools from https://cache.nix-ci.com
  10. 12.86 s Downloading cached libunistring from https://cache.nix-ci.com
  11. 12.86 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  12. 12.86 s Downloading cached go-critic from https://cache.nix-ci.com
  13. 13.00 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  14. 13.12 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  15. 13.12 s Downloading cached libidn2 from https://cache.nix-ci.com
  16. 13.16 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  17. 13.20 s Progress: 0 of 5 built, 4 of 12 downloaded from cache (3 downloading)
  18. 13.20 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  19. 13.20 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  20. 13.39 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  21. 13.62 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  22. 13.63 s Downloading cached zlib from https://cache.nix-ci.com
  23. 13.65 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  24. 13.67 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  25. 13.67 s Downloading cached sqlite from https://cache.nix-ci.com
  26. 13.67 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  27. 13.75 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  28. 13.75 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  29. 13.75 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  30. 13.80 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  31. 13.96 s Building /nix/store/4q90digjpkcbjczz9fqdqarphp10dzr0-go-tests-0.0.0.drv
  32. 14.03 s [go-tests] Phase: unpackPhase
  33. 14.03 s [go-tests] unpacking source archive /nix/store/xssj17xi6lxb4phbd8n0qnznpdw64pld-source
  34. 14.06 s [go-tests] source root is source
  35. 14.07 s [go-tests] Phase: patchPhase
  36. 14.08 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  37. 14.10 s [go-tests] Phase: configurePhase
  38. 14.12 s [go-tests] no configure script, doing nothing
  39. 14.13 s [go-tests] Phase: buildPhase
  40. 14.16 s [go-tests] patching script interpreter paths in ./dev-scripts
  41. 14.16 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  42. 14.18 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"
  43. 14.20 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"
  44. 14.22 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"
  45. 14.24 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"
  46. 14.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"
  47. 14.27 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"
  48. 14.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"
  49. 14.31 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"
  50. 14.33 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"
  51. 14.35 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"
  52. 14.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"
  53. 14.39 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"
  54. 14.40 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. 14.42 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"
  56. 14.44 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"
  57. 14.45 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"
  58. 14.47 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"
  59. 14.49 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. 14.51 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"
  61. 14.68 s [go-tests] + set -o pipefail
  62. 14.68 s [go-tests] + full_test=
  63. 14.68 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  64. 14.68 s [go-tests] + go_test_flags+=("-fullpath")
  65. 14.68 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  66. 14.68 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  67. 14.68 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  68. 14.68 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  69. 14.68 s [go-tests] + [[ '' = \-\-full ]]
  70. 14.68 s [go-tests] + set -u
  71. 14.68 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  72. 14.68 s [go-tests] ++ cd ./dev-scripts
  73. 14.68 s [go-tests] ++ pwd
  74. 14.68 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  75. 14.68 s [go-tests] + readonly SCRIPT_DIR
  76. 14.68 s [go-tests] + cd /build/source/dev-scripts/..
  77. 14.68 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  78. 18.72 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  79. 29.37 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  80. 30.51 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  81. 30.51 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  82. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.983s
  83. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.033s
  84. 30.51 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  85. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.009s
  86. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.010s
  87. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  88. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.012s
  89. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  90. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.004s
  91. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.007s
  92. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.009s
  93. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.011s
  94. 30.51 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  95. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.005s
  96. 30.51 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  97. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  98. 30.51 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  99. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.853s
  100. 30.51 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  101. 30.51 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.010s
  102. 30.51 s [go-tests] + [[ -n '' ]]
  103. 30.51 s [go-tests] + go vet ./...
  104. 39.22 s [go-tests] + go_package_dirs=()
  105. 39.25 s [go-tests] + IFS=
  106. 39.25 s [go-tests] + read -r go_package_dir
  107. 39.25 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  108. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 39.29 s [go-tests] + IFS=
  110. 39.29 s [go-tests] + read -r go_package_dir
  111. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 39.29 s [go-tests] + IFS=
  113. 39.29 s [go-tests] + read -r go_package_dir
  114. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 39.29 s [go-tests] + IFS=
  116. 39.29 s [go-tests] + read -r go_package_dir
  117. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 39.29 s [go-tests] + IFS=
  119. 39.29 s [go-tests] + read -r go_package_dir
  120. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 39.29 s [go-tests] + IFS=
  122. 39.29 s [go-tests] + read -r go_package_dir
  123. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 39.29 s [go-tests] + IFS=
  125. 39.29 s [go-tests] + read -r go_package_dir
  126. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 39.29 s [go-tests] + IFS=
  128. 39.29 s [go-tests] + read -r go_package_dir
  129. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 39.29 s [go-tests] + IFS=
  131. 39.29 s [go-tests] + read -r go_package_dir
  132. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 39.29 s [go-tests] + IFS=
  134. 39.29 s [go-tests] + read -r go_package_dir
  135. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 39.29 s [go-tests] + IFS=
  137. 39.29 s [go-tests] + read -r go_package_dir
  138. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 39.29 s [go-tests] + IFS=
  140. 39.29 s [go-tests] + read -r go_package_dir
  141. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 39.29 s [go-tests] + IFS=
  143. 39.29 s [go-tests] + read -r go_package_dir
  144. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 39.29 s [go-tests] + IFS=
  146. 39.29 s [go-tests] + read -r go_package_dir
  147. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 39.29 s [go-tests] + IFS=
  149. 39.29 s [go-tests] + read -r go_package_dir
  150. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 39.29 s [go-tests] + IFS=
  152. 39.29 s [go-tests] + read -r go_package_dir
  153. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 39.29 s [go-tests] + IFS=
  155. 39.29 s [go-tests] + read -r go_package_dir
  156. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 39.29 s [go-tests] + IFS=
  158. 39.29 s [go-tests] + read -r go_package_dir
  159. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 39.29 s [go-tests] + IFS=
  161. 39.29 s [go-tests] + read -r go_package_dir
  162. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 39.29 s [go-tests] + IFS=
  164. 39.29 s [go-tests] + read -r go_package_dir
  165. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 39.29 s [go-tests] + IFS=
  167. 39.29 s [go-tests] + read -r go_package_dir
  168. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  169. 39.29 s [go-tests] + IFS=
  170. 39.29 s [go-tests] + read -r go_package_dir
  171. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  172. 39.29 s [go-tests] + IFS=
  173. 39.29 s [go-tests] + read -r go_package_dir
  174. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  175. 39.29 s [go-tests] + IFS=
  176. 39.29 s [go-tests] + read -r go_package_dir
  177. 39.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  178. 39.29 s [go-tests] + IFS=
  179. 39.29 s [go-tests] + read -r go_package_dir
  180. 39.29 s [go-tests] + readonly go_package_dirs
  181. 39.29 s [go-tests] ++ go env GOBIN
  182. 39.29 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  183. 39.29 s [go-tests] + readonly GCI_PATH
  184. 39.29 s [go-tests] + readonly GCI_VERSION=v0.14.0
  185. 39.29 s [go-tests] + GCI_VERSION=v0.14.0
  186. 39.29 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  187. 39.29 s [go-tests] ++ /build/home/go/bin/gci --version
  188. 39.30 s [go-tests] + gci_version_output='gci version 0.14.0'
  189. 39.30 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  190. 39.30 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  191. 39.30 s [go-tests] + readonly gci_sections
  192. 39.30 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
  193. 39.33 s [go-tests] + gci_output=
  194. 39.33 s [go-tests] + [[ -n '' ]]
  195. 39.33 s [go-tests] ++ go env GOBIN
  196. 39.34 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  197. 39.34 s [go-tests] + readonly GOCRITIC_PATH
  198. 39.34 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  199. 39.34 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  200. 39.34 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  201. 39.34 s [go-tests] + /build/home/go/bin/go-critic check ./...
  202. 40.12 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  203. 40.65 s [go-tests] ++ go env GOBIN
  204. 40.66 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  205. 40.66 s [go-tests] + readonly STATICCHECK_PATH
  206. 40.66 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  207. 40.66 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  208. 40.66 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  209. 40.66 s [go-tests] + /build/home/go/bin/staticcheck ./...
  210. 44.53 s [go-tests] ++ go env GOBIN
  211. 45.70 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  212. 45.70 s [go-tests] + readonly ERRCHECK_PATH
  213. 45.70 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  214. 45.70 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  215. 45.70 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  216. 45.70 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  217. 45.70 s [go-tests] buildPhase completed in 31 seconds
  218. 45.70 s [go-tests] Phase: installPhase
  219. 45.70 s [go-tests] Phase: fixupPhase
  220. 45.70 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/hvycd99cppi26yqbd647zc7jabrx8g3p-go-tests-0.0.0
  221. 45.70 s [go-tests] checking for references to /build/ in /nix/store/hvycd99cppi26yqbd647zc7jabrx8g3p-go-tests-0.0.0...
  222. 45.70 s [go-tests] patching script interpreter paths in /nix/store/hvycd99cppi26yqbd647zc7jabrx8g3p-go-tests-0.0.0
  223. 45.70 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/hvycd99cppi26yqbd647zc7jabrx8g3p-go-tests-0.0.0
  224. 45.70 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  225. 45.70 s [go-tests:post-build] copying 1 paths...
  226. 45.70 s [go-tests:post-build] copying path '/nix/store/hvycd99cppi26yqbd647zc7jabrx8g3p-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  227. 45.70 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  228. 45.83 s [go-tests:post-build] copying 1 paths...
  229. 45.83 s [go-tests:post-build] copying path '/nix/store/4q90digjpkcbjczz9fqdqarphp10dzr0-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  230. 46.08 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  231. 46.08 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  232. 46.08 s /nix/store/hvycd99cppi26yqbd647zc7jabrx8g3p-go-tests-0.0.0
  233. 46.12 s Build succeeded.