build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.63 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=5d2e31103877525e29beaaceadb35d68b272e1c8#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.43 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/f309a52007c2d90b0f25ee6ffaf0f31297fd85b3156314475acc1068cd8f2268.sqlite' is busy
  3. 2.28 s
  4. 2.76 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 2.76 s Downloading cached gci from https://cache.nix-ci.com
  6. 2.76 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 2.76 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 2.76 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  9. 2.76 s Downloading cached libunistring from https://cache.nix-ci.com
  10. 2.78 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  11. 2.84 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  12. 2.84 s Downloading cached libidn2 from https://cache.nix-ci.com
  13. 2.86 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  14. 2.86 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  15. 2.89 s Progress: 0 of 6 built, 4 of 12 downloaded from cache (4 downloading)
  16. 2.93 s Progress: 0 of 5 built, 5 of 12 downloaded from cache (3 downloading)
  17. 2.99 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  18. 3.27 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  19. 3.27 s Downloading cached zlib from https://cache.nix-ci.com
  20. 3.29 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  21. 3.29 s Downloading cached sqlite from https://cache.nix-ci.com
  22. 3.29 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  23. 3.33 s Progress: 0 of 3 built, 9 of 12 downloaded from cache (2 downloading)
  24. 3.36 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  25. 3.36 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  26. 3.36 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  27. 3.39 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  28. 3.75 s Building /nix/store/xgvwx5dxrhyambkdrgqfvf7h886mq33m-go-tests-0.0.0.drv
  29. 3.86 s [go-tests] Phase: unpackPhase
  30. 3.89 s [go-tests] unpacking source archive /nix/store/zyqyq55am9m0wxsmkm3q4hgfq2y6s4h4-source
  31. 3.94 s [go-tests] source root is source
  32. 4.00 s [go-tests] Phase: patchPhase
  33. 4.04 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  34. 4.11 s [go-tests] Phase: configurePhase
  35. 4.20 s [go-tests] no configure script, doing nothing
  36. 4.22 s [go-tests] Phase: buildPhase
  37. 4.24 s [go-tests] patching script interpreter paths in ./dev-scripts
  38. 4.25 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"
  39. 4.34 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"
  40. 4.43 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"
  41. 4.49 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. 4.60 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"
  43. 4.72 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. 4.78 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"
  45. 4.86 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"
  46. 4.90 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"
  47. 4.95 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"
  48. 5.02 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. 5.13 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"
  50. 5.25 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"
  51. 5.35 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. 5.49 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"
  53. 5.64 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"
  54. 5.79 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"
  55. 5.88 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"
  56. 6.00 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"
  57. 6.08 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  58. 6.49 s [go-tests] + set -o pipefail
  59. 6.49 s [go-tests] + full_test=
  60. 6.49 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  61. 6.49 s [go-tests] + go_test_flags+=("-fullpath")
  62. 6.49 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  63. 6.49 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  64. 6.49 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  65. 6.49 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  66. 6.49 s [go-tests] + [[ '' = \-\-full ]]
  67. 6.49 s [go-tests] + set -u
  68. 6.49 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  69. 6.50 s [go-tests] ++ cd ./dev-scripts
  70. 6.50 s [go-tests] ++ pwd
  71. 6.50 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  72. 6.50 s [go-tests] + readonly SCRIPT_DIR
  73. 6.50 s [go-tests] + cd /build/source/dev-scripts/..
  74. 6.50 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  75. 15.58 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  76. 33.39 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  77. 33.40 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  78. 33.40 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  79. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.610s
  80. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.037s
  81. 35.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  82. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.016s
  83. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  84. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.015s
  85. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.008s
  86. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.008s
  87. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.011s
  88. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.010s
  89. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  90. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.010s
  91. 35.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  92. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.010s
  93. 35.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  94. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.010s
  95. 35.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  96. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.306s
  97. 35.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  98. 35.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.007s
  99. 35.22 s [go-tests] + [[ -n '' ]]
  100. 35.22 s [go-tests] + go vet ./...
  101. 47.79 s [go-tests] + go_package_dirs=()
  102. 47.80 s [go-tests] + IFS=
  103. 47.80 s [go-tests] + read -r go_package_dir
  104. 47.80 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  105. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 47.86 s [go-tests] + IFS=
  107. 47.86 s [go-tests] + read -r go_package_dir
  108. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 47.86 s [go-tests] + IFS=
  110. 47.86 s [go-tests] + read -r go_package_dir
  111. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 47.86 s [go-tests] + IFS=
  113. 47.86 s [go-tests] + read -r go_package_dir
  114. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 47.86 s [go-tests] + IFS=
  116. 47.86 s [go-tests] + read -r go_package_dir
  117. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 47.86 s [go-tests] + IFS=
  119. 47.86 s [go-tests] + read -r go_package_dir
  120. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 47.86 s [go-tests] + IFS=
  122. 47.86 s [go-tests] + read -r go_package_dir
  123. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 47.86 s [go-tests] + IFS=
  125. 47.86 s [go-tests] + read -r go_package_dir
  126. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 47.86 s [go-tests] + IFS=
  128. 47.86 s [go-tests] + read -r go_package_dir
  129. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 47.86 s [go-tests] + IFS=
  131. 47.86 s [go-tests] + read -r go_package_dir
  132. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 47.86 s [go-tests] + IFS=
  134. 47.86 s [go-tests] + read -r go_package_dir
  135. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 47.86 s [go-tests] + IFS=
  137. 47.86 s [go-tests] + read -r go_package_dir
  138. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 47.86 s [go-tests] + IFS=
  140. 47.86 s [go-tests] + read -r go_package_dir
  141. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 47.86 s [go-tests] + IFS=
  143. 47.86 s [go-tests] + read -r go_package_dir
  144. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 47.86 s [go-tests] + IFS=
  146. 47.86 s [go-tests] + read -r go_package_dir
  147. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 47.86 s [go-tests] + IFS=
  149. 47.86 s [go-tests] + read -r go_package_dir
  150. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 47.86 s [go-tests] + IFS=
  152. 47.86 s [go-tests] + read -r go_package_dir
  153. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 47.86 s [go-tests] + IFS=
  155. 47.86 s [go-tests] + read -r go_package_dir
  156. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 47.86 s [go-tests] + IFS=
  158. 47.86 s [go-tests] + read -r go_package_dir
  159. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 47.86 s [go-tests] + IFS=
  161. 47.86 s [go-tests] + read -r go_package_dir
  162. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 47.86 s [go-tests] + IFS=
  164. 47.86 s [go-tests] + read -r go_package_dir
  165. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 47.86 s [go-tests] + IFS=
  167. 47.86 s [go-tests] + read -r go_package_dir
  168. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  169. 47.86 s [go-tests] + IFS=
  170. 47.86 s [go-tests] + read -r go_package_dir
  171. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  172. 47.86 s [go-tests] + IFS=
  173. 47.86 s [go-tests] + read -r go_package_dir
  174. 47.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  175. 47.86 s [go-tests] + IFS=
  176. 47.86 s [go-tests] + read -r go_package_dir
  177. 47.86 s [go-tests] + readonly go_package_dirs
  178. 47.86 s [go-tests] ++ go env GOBIN
  179. 47.87 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  180. 47.87 s [go-tests] + readonly GCI_PATH
  181. 47.87 s [go-tests] + readonly GCI_VERSION=v0.14.0
  182. 47.87 s [go-tests] + GCI_VERSION=v0.14.0
  183. 47.87 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  184. 47.87 s [go-tests] ++ /build/home/go/bin/gci --version
  185. 47.88 s [go-tests] + gci_version_output='gci version 0.14.0'
  186. 47.88 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  187. 47.88 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  188. 47.88 s [go-tests] + readonly gci_sections
  189. 47.88 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. 47.91 s [go-tests] + gci_output=
  191. 47.91 s [go-tests] + [[ -n '' ]]
  192. 47.91 s [go-tests] ++ go env GOBIN
  193. 47.92 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  194. 47.92 s [go-tests] + readonly GOCRITIC_PATH
  195. 47.92 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  196. 47.92 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  197. 47.92 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  198. 47.92 s [go-tests] + /build/home/go/bin/go-critic check ./...
  199. 48.68 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  200. 49.23 s [go-tests] ++ go env GOBIN
  201. 49.23 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  202. 49.23 s [go-tests] + readonly STATICCHECK_PATH
  203. 49.23 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  204. 49.23 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  205. 49.23 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  206. 49.23 s [go-tests] + /build/home/go/bin/staticcheck ./...
  207. 53.16 s [go-tests] ++ go env GOBIN
  208. 53.19 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  209. 53.19 s [go-tests] + readonly ERRCHECK_PATH
  210. 53.19 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  211. 53.19 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  212. 53.19 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  213. 53.19 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  214. 53.36 s [go-tests] buildPhase completed in 49 seconds
  215. 53.36 s [go-tests] Phase: installPhase
  216. 53.37 s [go-tests] Phase: fixupPhase
  217. 53.39 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/vmp8f64m7xc8dc049xl0smw00rabjdg0-go-tests-0.0.0
  218. 53.39 s [go-tests] checking for references to /build/ in /nix/store/vmp8f64m7xc8dc049xl0smw00rabjdg0-go-tests-0.0.0...
  219. 53.40 s [go-tests] patching script interpreter paths in /nix/store/vmp8f64m7xc8dc049xl0smw00rabjdg0-go-tests-0.0.0
  220. 53.64 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/vmp8f64m7xc8dc049xl0smw00rabjdg0-go-tests-0.0.0
  221. 53.68 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  222. 53.69 s [go-tests:post-build] copying 1 paths...
  223. 53.69 s [go-tests:post-build] copying path '/nix/store/vmp8f64m7xc8dc049xl0smw00rabjdg0-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  224. 53.78 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  225. 54.43 s [go-tests:post-build] copying 1 paths...
  226. 54.43 s [go-tests:post-build] copying path '/nix/store/xgvwx5dxrhyambkdrgqfvf7h886mq33m-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  227. 54.57 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  228. 54.57 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  229. 54.57 s /nix/store/vmp8f64m7xc8dc049xl0smw00rabjdg0-go-tests-0.0.0
  230. 54.62 s Build succeeded.