build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.65 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=better-fsys&rev=2c4c6adb148b291a257dc99125a03a4f85182293#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.70 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/c08fb20364ff5d6609a245a1ef8dfa4b8af3708ea60fff6b3f2888bce133befd.sqlite' is busy
  3. 1.33 s
  4. 1.42 s Downloading cached source from https://cache.nix-ci.com
  5. 12.12 s Progress: 1 of 1 downloaded from cache
  6. 14.64 s
  7. 14.65 s Downloading cached errcheck from https://cache.nix-ci.com
  8. 14.65 s Downloading cached gci from https://cache.nix-ci.com
  9. 14.65 s Downloading cached go-critic from https://cache.nix-ci.com
  10. 14.65 s Downloading cached go-tools from https://cache.nix-ci.com
  11. 14.65 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  12. 14.65 s Downloading cached libunistring from https://cache.nix-ci.com
  13. 14.85 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  14. 14.92 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  15. 14.92 s Downloading cached libidn2 from https://cache.nix-ci.com
  16. 14.99 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  17. 14.99 s Progress: 0 of 5 built, 4 of 12 downloaded from cache (3 downloading)
  18. 15.03 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  19. 15.03 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  20. 15.08 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  21. 15.49 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  22. 15.49 s Downloading cached zlib from https://cache.nix-ci.com
  23. 15.54 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  24. 15.63 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  25. 15.63 s Downloading cached sqlite from https://cache.nix-ci.com
  26. 15.64 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  27. 15.71 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  28. 15.71 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  29. 15.71 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  30. 15.75 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  31. 15.93 s Building /nix/store/riiwcqycwd2h1qmwkyz3l4jy5sgn75w2-go-tests-0.0.0.drv
  32. 16.04 s [go-tests] Phase: unpackPhase
  33. 16.07 s [go-tests] unpacking source archive /nix/store/nw7kvbf5h5h0bsf9byr1b5cvlplv6w9k-source
  34. 16.11 s [go-tests] source root is source
  35. 16.18 s [go-tests] Phase: patchPhase
  36. 16.23 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  37. 16.28 s [go-tests] Phase: configurePhase
  38. 16.33 s [go-tests] no configure script, doing nothing
  39. 16.35 s [go-tests] Phase: buildPhase
  40. 16.39 s [go-tests] patching script interpreter paths in ./dev-scripts
  41. 16.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"
  42. 16.45 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"
  43. 16.52 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"
  44. 16.59 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"
  45. 16.68 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"
  46. 16.72 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"
  47. 16.76 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  48. 16.80 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"
  49. 16.85 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"
  50. 16.89 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. 16.92 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"
  52. 16.94 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"
  53. 16.96 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"
  54. 17.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"
  55. 17.02 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. 17.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"
  57. 17.09 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"
  58. 17.13 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"
  59. 17.17 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"
  60. 17.17 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"
  61. 17.33 s [go-tests] + set -o pipefail
  62. 17.33 s [go-tests] + full_test=
  63. 17.33 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  64. 17.33 s [go-tests] + go_test_flags+=("-fullpath")
  65. 17.33 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  66. 17.33 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  67. 17.33 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  68. 17.33 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  69. 17.33 s [go-tests] + [[ '' = \-\-full ]]
  70. 17.33 s [go-tests] + set -u
  71. 17.33 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  72. 17.36 s [go-tests] ++ cd ./dev-scripts
  73. 17.36 s [go-tests] ++ pwd
  74. 17.36 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  75. 17.36 s [go-tests] + readonly SCRIPT_DIR
  76. 17.36 s [go-tests] + cd /build/source/dev-scripts/..
  77. 17.36 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  78. 22.07 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  79. 28.39 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  80. 32.94 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  81. 32.94 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  82. 33.76 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.807s
  83. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.016s
  84. 33.79 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  85. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.010s
  86. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  87. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s
  88. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  89. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.006s
  90. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.004s
  91. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.004s
  92. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.004s
  93. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.007s
  94. 33.79 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  95. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.005s
  96. 33.79 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  97. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.003s
  98. 33.79 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  99. 33.79 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.749s
  100. 33.79 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  101. 33.85 s [go-tests] + [[ -n '' ]]
  102. 33.85 s [go-tests] + go vet ./...
  103. 41.71 s [go-tests] + go_package_dirs=()
  104. 41.75 s [go-tests] + IFS=
  105. 41.75 s [go-tests] + read -r go_package_dir
  106. 41.75 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  107. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 41.78 s [go-tests] + IFS=
  109. 41.78 s [go-tests] + read -r go_package_dir
  110. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 41.78 s [go-tests] + IFS=
  112. 41.78 s [go-tests] + read -r go_package_dir
  113. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 41.78 s [go-tests] + IFS=
  115. 41.78 s [go-tests] + read -r go_package_dir
  116. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 41.78 s [go-tests] + IFS=
  118. 41.78 s [go-tests] + read -r go_package_dir
  119. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 41.78 s [go-tests] + IFS=
  121. 41.78 s [go-tests] + read -r go_package_dir
  122. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 41.78 s [go-tests] + IFS=
  124. 41.78 s [go-tests] + read -r go_package_dir
  125. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 41.78 s [go-tests] + IFS=
  127. 41.78 s [go-tests] + read -r go_package_dir
  128. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 41.78 s [go-tests] + IFS=
  130. 41.78 s [go-tests] + read -r go_package_dir
  131. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 41.78 s [go-tests] + IFS=
  133. 41.78 s [go-tests] + read -r go_package_dir
  134. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 41.78 s [go-tests] + IFS=
  136. 41.78 s [go-tests] + read -r go_package_dir
  137. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 41.78 s [go-tests] + IFS=
  139. 41.78 s [go-tests] + read -r go_package_dir
  140. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 41.78 s [go-tests] + IFS=
  142. 41.78 s [go-tests] + read -r go_package_dir
  143. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 41.78 s [go-tests] + IFS=
  145. 41.78 s [go-tests] + read -r go_package_dir
  146. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 41.78 s [go-tests] + IFS=
  148. 41.78 s [go-tests] + read -r go_package_dir
  149. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 41.78 s [go-tests] + IFS=
  151. 41.78 s [go-tests] + read -r go_package_dir
  152. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 41.78 s [go-tests] + IFS=
  154. 41.78 s [go-tests] + read -r go_package_dir
  155. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 41.78 s [go-tests] + IFS=
  157. 41.78 s [go-tests] + read -r go_package_dir
  158. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 41.78 s [go-tests] + IFS=
  160. 41.78 s [go-tests] + read -r go_package_dir
  161. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 41.78 s [go-tests] + IFS=
  163. 41.78 s [go-tests] + read -r go_package_dir
  164. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 41.78 s [go-tests] + IFS=
  166. 41.78 s [go-tests] + read -r go_package_dir
  167. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  168. 41.78 s [go-tests] + IFS=
  169. 41.78 s [go-tests] + read -r go_package_dir
  170. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  171. 41.78 s [go-tests] + IFS=
  172. 41.78 s [go-tests] + read -r go_package_dir
  173. 41.78 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  174. 41.78 s [go-tests] + IFS=
  175. 41.78 s [go-tests] + read -r go_package_dir
  176. 41.78 s [go-tests] + readonly go_package_dirs
  177. 41.79 s [go-tests] ++ go env GOBIN
  178. 41.79 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  179. 41.79 s [go-tests] + readonly GCI_PATH
  180. 41.79 s [go-tests] + readonly GCI_VERSION=v0.14.0
  181. 41.79 s [go-tests] + GCI_VERSION=v0.14.0
  182. 41.79 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  183. 41.79 s [go-tests] ++ /build/home/go/bin/gci --version
  184. 41.79 s [go-tests] + gci_version_output='gci version 0.14.0'
  185. 41.79 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  186. 41.79 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  187. 41.79 s [go-tests] + readonly gci_sections
  188. 41.79 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
  189. 41.83 s [go-tests] + gci_output=
  190. 41.83 s [go-tests] + [[ -n '' ]]
  191. 41.83 s [go-tests] ++ go env GOBIN
  192. 41.83 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  193. 41.83 s [go-tests] + readonly GOCRITIC_PATH
  194. 41.83 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  195. 41.83 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  196. 41.83 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  197. 41.83 s [go-tests] + /build/home/go/bin/go-critic check ./...
  198. 42.56 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  199. 43.12 s [go-tests] ++ go env GOBIN
  200. 43.13 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  201. 43.13 s [go-tests] + readonly STATICCHECK_PATH
  202. 43.13 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  203. 43.13 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  204. 43.13 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  205. 43.13 s [go-tests] + /build/home/go/bin/staticcheck ./...
  206. 47.62 s [go-tests] ++ go env GOBIN
  207. 47.65 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  208. 47.65 s [go-tests] + readonly ERRCHECK_PATH
  209. 47.65 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  210. 47.65 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  211. 47.65 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  212. 47.65 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  213. 47.80 s [go-tests] buildPhase completed in 31 seconds
  214. 47.80 s [go-tests] Phase: installPhase
  215. 47.81 s [go-tests] Phase: fixupPhase
  216. 47.82 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/wqj16yrcfmh5hmvc5w37fm7h0h05fqvv-go-tests-0.0.0
  217. 47.82 s [go-tests] checking for references to /build/ in /nix/store/wqj16yrcfmh5hmvc5w37fm7h0h05fqvv-go-tests-0.0.0...
  218. 47.84 s [go-tests] patching script interpreter paths in /nix/store/wqj16yrcfmh5hmvc5w37fm7h0h05fqvv-go-tests-0.0.0
  219. 48.02 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/wqj16yrcfmh5hmvc5w37fm7h0h05fqvv-go-tests-0.0.0
  220. 48.06 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  221. 48.07 s [go-tests:post-build] copying 1 paths...
  222. 48.07 s [go-tests:post-build] copying path '/nix/store/wqj16yrcfmh5hmvc5w37fm7h0h05fqvv-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  223. 48.23 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  224. 48.85 s [go-tests:post-build] copying 1 paths...
  225. 48.85 s [go-tests:post-build] copying path '/nix/store/riiwcqycwd2h1qmwkyz3l4jy5sgn75w2-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  226. 49.10 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  227. 49.10 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  228. 49.10 s /nix/store/wqj16yrcfmh5hmvc5w37fm7h0h05fqvv-go-tests-0.0.0
  229. 49.14 s Build succeeded.