1. 0.10 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-2&rev=59e00b9aea61b5687efd0194bcb034cf9ac46d92#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.68 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/f580290dbc6f71ac3aa01a98e0c68f66fad13b5f4c0316009c788dbcc431b89a.sqlite' is busy
  3. 3.83 s
  4. 4.29 s Downloading cached go-tools from https://cache.nix-ci.com
  5. 4.29 s Downloading cached go-critic from https://cache.nix-ci.com
  6. 4.29 s Downloading cached errcheck from https://cache.nix-ci.com
  7. 4.29 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  8. 4.30 s Downloading cached gci from https://cache.nix-ci.com
  9. 4.30 s Downloading cached libunistring from https://cache.nix-ci.com
  10. 4.39 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  11. 4.53 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  12. 4.54 s Downloading cached libidn2 from https://cache.nix-ci.com
  13. 4.58 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  14. 4.58 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  15. 4.58 s Progress: 0 of 6 built, 4 of 12 downloaded from cache (4 downloading)
  16. 4.62 s Progress: 0 of 5 built, 5 of 12 downloaded from cache (3 downloading)
  17. 4.64 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  18. 5.05 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  19. 5.05 s Downloading cached zlib from https://cache.nix-ci.com
  20. 5.07 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  21. 5.07 s Downloading cached sqlite from https://cache.nix-ci.com
  22. 5.07 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  23. 5.13 s Progress: 0 of 3 built, 9 of 12 downloaded from cache (2 downloading)
  24. 5.15 s Progress: 0 of 3 built, 10 of 12 downloaded from cache (1 downloading)
  25. 5.15 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  26. 5.15 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  27. 5.16 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  28. 5.29 s Building /nix/store/5lxcscc9p8wcn3536gnn2ymk8nw43vyk-go-tests-0.0.0.drv
  29. 5.40 s [go-tests] Phase: unpackPhase
  30. 5.41 s [go-tests] unpacking source archive /nix/store/6z35k3livaw7as1bi8z0m4c4qsdaj514-source
  31. 5.44 s [go-tests] source root is source
  32. 5.48 s [go-tests] Phase: patchPhase
  33. 5.49 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  34. 5.51 s [go-tests] Phase: configurePhase
  35. 5.54 s [go-tests] no configure script, doing nothing
  36. 5.55 s [go-tests] Phase: buildPhase
  37. 5.56 s [go-tests] patching script interpreter paths in ./dev-scripts
  38. 5.56 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"
  39. 5.59 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"
  40. 5.62 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"
  41. 5.64 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"
  42. 5.67 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"
  43. 5.69 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"
  44. 5.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"
  45. 5.74 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"
  46. 5.77 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  47. 5.80 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"
  48. 5.83 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"
  49. 5.85 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"
  50. 5.87 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"
  51. 5.90 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. 5.92 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.94 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"
  54. 5.97 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. 5.99 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"
  56. 6.02 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"
  57. 6.04 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"
  58. 6.23 s [go-tests] + set -o pipefail
  59. 6.23 s [go-tests] + full_test=
  60. 6.23 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  61. 6.23 s [go-tests] + go_test_flags+=("-fullpath")
  62. 6.23 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  63. 6.23 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  64. 6.23 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  65. 6.23 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  66. 6.23 s [go-tests] + [[ '' = \-\-full ]]
  67. 6.23 s [go-tests] + set -u
  68. 6.23 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  69. 6.24 s [go-tests] ++ cd ./dev-scripts
  70. 6.24 s [go-tests] ++ pwd
  71. 6.24 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  72. 6.24 s [go-tests] + readonly SCRIPT_DIR
  73. 6.24 s [go-tests] + cd /build/source/dev-scripts/..
  74. 6.24 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  75. 14.47 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  76. 37.05 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  77. 37.07 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  78. 37.07 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  79. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.045s
  80. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.043s
  81. 38.11 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  82. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.013s
  83. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.010s
  84. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  85. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.008s
  86. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.007s
  87. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.030s
  88. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.010s
  89. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  90. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.006s
  91. 38.11 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  92. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.011s
  93. 38.11 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  94. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.008s
  95. 38.11 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  96. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.915s
  97. 38.11 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  98. 38.11 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.008s
  99. 38.26 s [go-tests] + [[ -n '' ]]
  100. 38.26 s [go-tests] + go vet ./...
  101. 51.62 s [go-tests] + go_package_dirs=()
  102. 51.63 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  103. 51.63 s [go-tests] + IFS=
  104. 51.63 s [go-tests] + read -r go_package_dir
  105. 51.69 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 51.69 s [go-tests] + IFS=
  107. 51.70 s [go-tests] + read -r go_package_dir
  108. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 51.70 s [go-tests] + IFS=
  110. 51.70 s [go-tests] + read -r go_package_dir
  111. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 51.70 s [go-tests] + IFS=
  113. 51.70 s [go-tests] + read -r go_package_dir
  114. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 51.70 s [go-tests] + IFS=
  116. 51.70 s [go-tests] + read -r go_package_dir
  117. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 51.70 s [go-tests] + IFS=
  119. 51.70 s [go-tests] + read -r go_package_dir
  120. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 51.70 s [go-tests] + IFS=
  122. 51.70 s [go-tests] + read -r go_package_dir
  123. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 51.70 s [go-tests] + IFS=
  125. 51.70 s [go-tests] + read -r go_package_dir
  126. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 51.70 s [go-tests] + IFS=
  128. 51.70 s [go-tests] + read -r go_package_dir
  129. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 51.70 s [go-tests] + IFS=
  131. 51.70 s [go-tests] + read -r go_package_dir
  132. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 51.70 s [go-tests] + IFS=
  134. 51.70 s [go-tests] + read -r go_package_dir
  135. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 51.70 s [go-tests] + IFS=
  137. 51.70 s [go-tests] + read -r go_package_dir
  138. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 51.70 s [go-tests] + IFS=
  140. 51.70 s [go-tests] + read -r go_package_dir
  141. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 51.70 s [go-tests] + IFS=
  143. 51.70 s [go-tests] + read -r go_package_dir
  144. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 51.70 s [go-tests] + IFS=
  146. 51.70 s [go-tests] + read -r go_package_dir
  147. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 51.70 s [go-tests] + IFS=
  149. 51.70 s [go-tests] + read -r go_package_dir
  150. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 51.70 s [go-tests] + IFS=
  152. 51.70 s [go-tests] + read -r go_package_dir
  153. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 51.70 s [go-tests] + IFS=
  155. 51.70 s [go-tests] + read -r go_package_dir
  156. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 51.70 s [go-tests] + IFS=
  158. 51.70 s [go-tests] + read -r go_package_dir
  159. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 51.70 s [go-tests] + IFS=
  161. 51.70 s [go-tests] + read -r go_package_dir
  162. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 51.70 s [go-tests] + IFS=
  164. 51.70 s [go-tests] + read -r go_package_dir
  165. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 51.70 s [go-tests] + IFS=
  167. 51.70 s [go-tests] + read -r go_package_dir
  168. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  169. 51.70 s [go-tests] + IFS=
  170. 51.70 s [go-tests] + read -r go_package_dir
  171. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  172. 51.70 s [go-tests] + IFS=
  173. 51.70 s [go-tests] + read -r go_package_dir
  174. 51.70 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  175. 51.70 s [go-tests] + IFS=
  176. 51.70 s [go-tests] + read -r go_package_dir
  177. 51.70 s [go-tests] + readonly go_package_dirs
  178. 51.70 s [go-tests] ++ go env GOBIN
  179. 51.70 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  180. 51.70 s [go-tests] + readonly GCI_PATH
  181. 51.70 s [go-tests] + readonly GCI_VERSION=v0.14.0
  182. 51.70 s [go-tests] + GCI_VERSION=v0.14.0
  183. 51.70 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  184. 51.70 s [go-tests] ++ /build/home/go/bin/gci --version
  185. 51.71 s [go-tests] + gci_version_output='gci version 0.14.0'
  186. 51.71 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  187. 51.71 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  188. 51.71 s [go-tests] + readonly gci_sections
  189. 51.71 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. 51.74 s [go-tests] + gci_output=
  191. 51.74 s [go-tests] + [[ -n '' ]]
  192. 51.74 s [go-tests] ++ go env GOBIN
  193. 51.75 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  194. 51.75 s [go-tests] + readonly GOCRITIC_PATH
  195. 51.75 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  196. 51.75 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  197. 51.75 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  198. 51.75 s [go-tests] + /build/home/go/bin/go-critic check ./...
  199. 52.50 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  200. 53.01 s [go-tests] ++ go env GOBIN
  201. 53.01 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  202. 53.01 s [go-tests] + readonly STATICCHECK_PATH
  203. 53.01 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  204. 53.01 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  205. 53.01 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  206. 53.01 s [go-tests] + /build/home/go/bin/staticcheck ./...
  207. 56.58 s [go-tests] ++ go env GOBIN
  208. 56.58 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  209. 56.58 s [go-tests] + readonly ERRCHECK_PATH
  210. 56.58 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  211. 56.58 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  212. 56.58 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  213. 56.58 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  214. 56.76 s [go-tests] buildPhase completed in 51 seconds
  215. 56.78 s [go-tests] Phase: installPhase
  216. 56.78 s [go-tests] Phase: fixupPhase
  217. 56.78 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/hfvxwwb9zy5h77c9a9mah6ya4lkxla9f-go-tests-0.0.0
  218. 56.78 s [go-tests] checking for references to /build/ in /nix/store/hfvxwwb9zy5h77c9a9mah6ya4lkxla9f-go-tests-0.0.0...
  219. 56.80 s [go-tests] patching script interpreter paths in /nix/store/hfvxwwb9zy5h77c9a9mah6ya4lkxla9f-go-tests-0.0.0
  220. 57.01 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/hfvxwwb9zy5h77c9a9mah6ya4lkxla9f-go-tests-0.0.0
  221. 57.05 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  222. 57.06 s [go-tests:post-build] copying 1 paths...
  223. 57.06 s [go-tests:post-build] copying path '/nix/store/hfvxwwb9zy5h77c9a9mah6ya4lkxla9f-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  224. 57.12 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  225. 57.92 s [go-tests:post-build] copying 1 paths...
  226. 57.92 s [go-tests:post-build] copying path '/nix/store/5lxcscc9p8wcn3536gnn2ymk8nw43vyk-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  227. 58.61 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  228. 58.61 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  229. 58.61 s /nix/store/hfvxwwb9zy5h77c9a9mah6ya4lkxla9f-go-tests-0.0.0
  230. 58.65 s Build succeeded.