build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.07 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=comment-test&rev=8cc5373381ee15493417dba3592ad1b6e1b3bcab#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/66ed9ff3536b9065307b04602ba1385dcdb9a4f9107e84bec5578531d096e221.sqlite' is busy
  3. 0.10 s
  4. 0.10 s Downloading cached source from https://cache.nix-ci.com
  5. 3.54 s Progress: 1 of 1 downloaded from cache
  6. 4.49 s Progress: 0 of 1 downloaded from cache
  7. 4.49 s Downloading cached source from https://cache.nix-ci.com
  8. 15.17 s Progress: 1 of 1 downloaded from cache
  9. 16.64 s Progress: 0 of 1 downloaded from cache
  10. 16.64 s Downloading cached source from https://cache.nix-ci.com
  11. 26.15 s Progress: 1 of 1 downloaded from cache
  12. 27.78 s
  13. 27.78 s Downloading cached errcheck from https://cache.nix-ci.com
  14. 27.78 s Downloading cached gci from https://cache.nix-ci.com
  15. 27.78 s Downloading cached go-tools from https://cache.nix-ci.com
  16. 27.78 s Downloading cached go-critic from https://cache.nix-ci.com
  17. 27.78 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  18. 27.78 s Downloading cached libunistring from https://cache.nix-ci.com
  19. 27.81 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  20. 27.86 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  21. 27.86 s Downloading cached libidn2 from https://cache.nix-ci.com
  22. 27.87 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  23. 27.87 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  24. 27.92 s Progress: 0 of 6 built, 4 of 12 downloaded from cache (4 downloading)
  25. 27.96 s Progress: 0 of 5 built, 5 of 12 downloaded from cache (3 downloading)
  26. 28.09 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  27. 28.24 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  28. 28.24 s Downloading cached zlib from https://cache.nix-ci.com
  29. 28.25 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  30. 28.25 s Downloading cached sqlite from https://cache.nix-ci.com
  31. 28.25 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  32. 28.31 s Progress: 0 of 3 built, 9 of 12 downloaded from cache (2 downloading)
  33. 28.31 s Progress: 0 of 3 built, 10 of 12 downloaded from cache (1 downloading)
  34. 28.32 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  35. 28.32 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  36. 28.34 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  37. 28.54 s Building /nix/store/m6g2w867pj7gk6xzf3jcf0h699ariwn1-go-tests-0.0.0.drv
  38. 28.65 s [go-tests] Phase: unpackPhase
  39. 28.67 s [go-tests] unpacking source archive /nix/store/8pl4jyq6y3vfj2z0gn3n36hjv88yrizy-source
  40. 28.70 s [go-tests] source root is source
  41. 28.75 s [go-tests] Phase: patchPhase
  42. 28.77 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  43. 28.81 s [go-tests] Phase: configurePhase
  44. 28.83 s [go-tests] no configure script, doing nothing
  45. 28.84 s [go-tests] Phase: buildPhase
  46. 28.86 s [go-tests] patching script interpreter paths in ./dev-scripts
  47. 28.86 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"
  48. 28.89 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"
  49. 28.91 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"
  50. 28.93 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"
  51. 28.96 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"
  52. 28.99 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. 29.01 s [go-tests] ./dev-scripts/test-dockerfile: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  54. 29.04 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"
  55. 29.07 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. 29.11 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"
  57. 29.16 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"
  58. 29.19 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"
  59. 29.22 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"
  60. 29.25 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. 29.27 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"
  62. 29.30 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"
  63. 29.32 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. 29.35 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"
  65. 29.38 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"
  66. 29.40 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"
  67. 29.43 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"
  68. 29.48 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"
  69. 29.51 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"
  70. 29.70 s [go-tests] + set -o pipefail
  71. 29.70 s [go-tests] + full_test=
  72. 29.70 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  73. 29.70 s [go-tests] + go_test_flags+=("-fullpath")
  74. 29.70 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  75. 29.70 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  76. 29.70 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  77. 29.70 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  78. 29.70 s [go-tests] + [[ '' = \-\-full ]]
  79. 29.70 s [go-tests] + set -u
  80. 29.70 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  81. 29.70 s [go-tests] ++ cd ./dev-scripts
  82. 29.70 s [go-tests] ++ pwd
  83. 29.71 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  84. 29.71 s [go-tests] + readonly SCRIPT_DIR
  85. 29.71 s [go-tests] + cd /build/source/dev-scripts/..
  86. 29.71 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  87. 36.83 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  88. 43.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  89. 49.74 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  90. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.068s
  91. 50.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  92. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.022s
  93. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  94. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  95. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  96. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  97. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.007s
  98. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  99. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  100. 50.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  101. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.005s
  102. 50.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  103. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  104. 50.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  105. 50.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.003s
  106. 50.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  107. 50.96 s [go-tests] + [[ -n '' ]]
  108. 50.96 s [go-tests] + go vet ./...
  109. 61.76 s [go-tests] + go_package_dirs=()
  110. 61.77 s [go-tests] + IFS=
  111. 61.77 s [go-tests] + read -r go_package_dir
  112. 61.77 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  113. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 61.87 s [go-tests] + IFS=
  115. 61.87 s [go-tests] + read -r go_package_dir
  116. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 61.87 s [go-tests] + IFS=
  118. 61.87 s [go-tests] + read -r go_package_dir
  119. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 61.87 s [go-tests] + IFS=
  121. 61.87 s [go-tests] + read -r go_package_dir
  122. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 61.87 s [go-tests] + IFS=
  124. 61.87 s [go-tests] + read -r go_package_dir
  125. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 61.87 s [go-tests] + IFS=
  127. 61.87 s [go-tests] + read -r go_package_dir
  128. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 61.87 s [go-tests] + IFS=
  130. 61.87 s [go-tests] + read -r go_package_dir
  131. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 61.87 s [go-tests] + IFS=
  133. 61.87 s [go-tests] + read -r go_package_dir
  134. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 61.87 s [go-tests] + IFS=
  136. 61.87 s [go-tests] + read -r go_package_dir
  137. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 61.87 s [go-tests] + IFS=
  139. 61.87 s [go-tests] + read -r go_package_dir
  140. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 61.87 s [go-tests] + IFS=
  142. 61.87 s [go-tests] + read -r go_package_dir
  143. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 61.87 s [go-tests] + IFS=
  145. 61.87 s [go-tests] + read -r go_package_dir
  146. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 61.87 s [go-tests] + IFS=
  148. 61.87 s [go-tests] + read -r go_package_dir
  149. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 61.87 s [go-tests] + IFS=
  151. 61.87 s [go-tests] + read -r go_package_dir
  152. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 61.87 s [go-tests] + IFS=
  154. 61.87 s [go-tests] + read -r go_package_dir
  155. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 61.87 s [go-tests] + IFS=
  157. 61.87 s [go-tests] + read -r go_package_dir
  158. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 61.87 s [go-tests] + IFS=
  160. 61.87 s [go-tests] + read -r go_package_dir
  161. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 61.87 s [go-tests] + IFS=
  163. 61.87 s [go-tests] + read -r go_package_dir
  164. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 61.87 s [go-tests] + IFS=
  166. 61.87 s [go-tests] + read -r go_package_dir
  167. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  168. 61.87 s [go-tests] + IFS=
  169. 61.87 s [go-tests] + read -r go_package_dir
  170. 61.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  171. 61.87 s [go-tests] + IFS=
  172. 61.87 s [go-tests] + read -r go_package_dir
  173. 61.87 s [go-tests] + readonly go_package_dirs
  174. 61.87 s [go-tests] ++ go env GOPATH
  175. 61.88 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  176. 61.88 s [go-tests] + readonly GCI_PATH
  177. 61.88 s [go-tests] + readonly GCI_VERSION=v0.14.0
  178. 61.88 s [go-tests] + GCI_VERSION=v0.14.0
  179. 61.88 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  180. 61.88 s [go-tests] ++ /build/home/go/bin/gci --version
  181. 61.89 s [go-tests] + gci_version_output='gci version 0.14.0'
  182. 61.89 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  183. 61.89 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  184. 61.89 s [go-tests] + readonly gci_sections
  185. 61.89 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/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
  186. 61.94 s [go-tests] + gci_output=
  187. 61.94 s [go-tests] + [[ -n '' ]]
  188. 61.94 s [go-tests] ++ go env GOPATH
  189. 61.94 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  190. 61.94 s [go-tests] + readonly GOCRITIC_PATH
  191. 61.94 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  192. 61.94 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  193. 61.94 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  194. 61.94 s [go-tests] + /build/home/go/bin/go-critic check ./...
  195. 62.90 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  196. 63.66 s [go-tests] ++ go env GOPATH
  197. 63.66 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  198. 63.66 s [go-tests] + readonly STATICCHECK_PATH
  199. 63.66 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  200. 63.66 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  201. 63.66 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  202. 63.66 s [go-tests] + /build/home/go/bin/staticcheck ./...
  203. 68.46 s [go-tests] ++ go env GOPATH
  204. 68.49 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  205. 68.49 s [go-tests] + readonly ERRCHECK_PATH
  206. 68.49 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  207. 68.49 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  208. 68.49 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  209. 68.49 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  210. 68.68 s [go-tests] buildPhase completed in 39 seconds
  211. 68.68 s [go-tests] Phase: installPhase
  212. 68.69 s [go-tests] Phase: fixupPhase
  213. 68.70 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/gqx6hakyzpja8bvcws341wnil8hnh572-go-tests-0.0.0
  214. 68.71 s [go-tests] checking for references to /build/ in /nix/store/gqx6hakyzpja8bvcws341wnil8hnh572-go-tests-0.0.0...
  215. 68.72 s [go-tests] patching script interpreter paths in /nix/store/gqx6hakyzpja8bvcws341wnil8hnh572-go-tests-0.0.0
  216. 69.01 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/gqx6hakyzpja8bvcws341wnil8hnh572-go-tests-0.0.0
  217. 69.07 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  218. 69.08 s [go-tests:post-build] copying 1 paths...
  219. 69.08 s [go-tests:post-build] copying path '/nix/store/gqx6hakyzpja8bvcws341wnil8hnh572-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  220. 69.25 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  221. 71.53 s [go-tests:post-build] copying 1 paths...
  222. 71.53 s [go-tests:post-build] copying path '/nix/store/m6g2w867pj7gk6xzf3jcf0h699ariwn1-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  223. 71.68 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  224. 71.68 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  225. 71.68 s /nix/store/gqx6hakyzpja8bvcws341wnil8hnh572-go-tests-0.0.0
  226. 71.71 s Build succeeded.