1. 0.16 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=master&rev=753a13dfc2140781d5711518bcf5987ecfb6b800&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.19 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/14066f0c1ed9a7fe8ff88e553de1612feaa3818e6a5e2d73ad4805523b52b891.sqlite' is busy
  3. 2.13 s
  4. 2.31 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 2.31 s Downloading cached gci from https://cache.nix-ci.com
  6. 2.31 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 2.31 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 2.31 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  9. 2.44 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 135ms
  10. 2.44 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  11. 2.44 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  12. 2.56 s Downloaded cached gci (14.3 MiB) in 250ms
  13. 2.56 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  14. 3.16 s Downloaded cached go-critic (9.3 MiB) in 853ms
  15. 3.16 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  16. 3.58 s Downloaded cached errcheck (5.2 MiB) in 1.2s
  17. 3.58 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  18. 3.60 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 1.1s
  19. 3.60 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  20. 5.36 s Downloaded cached go-tools (45.4 MiB) in 3.0s
  21. 5.45 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  22. 5.46 s Building /nix/store/jn6ij26psrxz2vs6cga86ajsqs7qswwr-go-tests-0.0.0.drv
  23. 5.52 s [go-tests] Phase: unpackPhase
  24. 5.53 s [go-tests] unpacking source archive /nix/store/ywfri1akvvzc8vz9pqsgzj40hvqf4fyh-source
  25. 5.55 s [go-tests] source root is source
  26. 5.57 s [go-tests] Phase: patchPhase
  27. 5.57 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  28. 5.59 s [go-tests] Phase: configurePhase
  29. 5.60 s [go-tests] no configure script, doing nothing
  30. 5.61 s [go-tests] Phase: buildPhase
  31. 5.62 s [go-tests] patching script interpreter paths in ./dev-scripts
  32. 5.62 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  33. 5.64 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"
  34. 5.66 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"
  35. 5.68 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"
  36. 5.70 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"
  37. 5.72 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"
  38. 5.76 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"
  39. 5.80 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  40. 5.82 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  41. 5.86 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"
  42. 5.90 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"
  43. 5.94 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"
  44. 5.98 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"
  45. 6.07 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"
  46. 6.16 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. 6.21 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"
  48. 6.25 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"
  49. 6.27 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  50. 6.30 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"
  51. 6.32 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"
  52. 6.35 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. 6.37 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"
  54. 6.56 s [go-tests] + set -o pipefail
  55. 6.56 s [go-tests] + full_test=
  56. 6.56 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  57. 6.56 s [go-tests] + go_test_flags+=("-fullpath")
  58. 6.56 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  59. 6.56 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  60. 6.56 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  61. 6.56 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  62. 6.56 s [go-tests] + case "${1:-}" in
  63. 6.56 s [go-tests] + [[ 0 -gt 1 ]]
  64. 6.56 s [go-tests] + set -u
  65. 6.56 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  66. 6.57 s [go-tests] ++ cd ./dev-scripts
  67. 6.57 s [go-tests] ++ pwd
  68. 6.57 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  69. 6.57 s [go-tests] + readonly SCRIPT_DIR
  70. 6.57 s [go-tests] + cd /build/source/dev-scripts/..
  71. 6.57 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  72. 12.68 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  73. 27.25 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  74. 27.29 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  75. 27.29 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  76. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.677s
  77. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.037s
  78. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.021s
  79. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 1.436s
  80. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.016s
  81. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.013s
  82. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.011s
  83. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.018s
  84. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.015s
  85. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.011s
  86. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.017s
  87. 28.93 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  88. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.013s
  89. 28.93 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  90. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.014s
  91. 28.93 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  92. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.357s
  93. 28.93 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  94. 28.93 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.023s
  95. 29.05 s [go-tests] + [[ -n '' ]]
  96. 29.05 s [go-tests] + go vet ./...
  97. 42.43 s [go-tests] + go_package_dirs=()
  98. 42.46 s [go-tests] + IFS=
  99. 42.46 s [go-tests] + read -r go_package_dir
  100. 42.46 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  101. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  102. 42.53 s [go-tests] + IFS=
  103. 42.53 s [go-tests] + read -r go_package_dir
  104. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  105. 42.53 s [go-tests] + IFS=
  106. 42.53 s [go-tests] + read -r go_package_dir
  107. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 42.53 s [go-tests] + IFS=
  109. 42.53 s [go-tests] + read -r go_package_dir
  110. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 42.53 s [go-tests] + IFS=
  112. 42.53 s [go-tests] + read -r go_package_dir
  113. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 42.53 s [go-tests] + IFS=
  115. 42.53 s [go-tests] + read -r go_package_dir
  116. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 42.53 s [go-tests] + IFS=
  118. 42.53 s [go-tests] + read -r go_package_dir
  119. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 42.53 s [go-tests] + IFS=
  121. 42.53 s [go-tests] + read -r go_package_dir
  122. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 42.53 s [go-tests] + IFS=
  124. 42.53 s [go-tests] + read -r go_package_dir
  125. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 42.53 s [go-tests] + IFS=
  127. 42.53 s [go-tests] + read -r go_package_dir
  128. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 42.53 s [go-tests] + IFS=
  130. 42.53 s [go-tests] + read -r go_package_dir
  131. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 42.53 s [go-tests] + IFS=
  133. 42.53 s [go-tests] + read -r go_package_dir
  134. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 42.53 s [go-tests] + IFS=
  136. 42.53 s [go-tests] + read -r go_package_dir
  137. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 42.53 s [go-tests] + IFS=
  139. 42.53 s [go-tests] + read -r go_package_dir
  140. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 42.53 s [go-tests] + IFS=
  142. 42.53 s [go-tests] + read -r go_package_dir
  143. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 42.53 s [go-tests] + IFS=
  145. 42.53 s [go-tests] + read -r go_package_dir
  146. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 42.53 s [go-tests] + IFS=
  148. 42.53 s [go-tests] + read -r go_package_dir
  149. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 42.53 s [go-tests] + IFS=
  151. 42.53 s [go-tests] + read -r go_package_dir
  152. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 42.53 s [go-tests] + IFS=
  154. 42.53 s [go-tests] + read -r go_package_dir
  155. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 42.53 s [go-tests] + IFS=
  157. 42.53 s [go-tests] + read -r go_package_dir
  158. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 42.53 s [go-tests] + IFS=
  160. 42.53 s [go-tests] + read -r go_package_dir
  161. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 42.53 s [go-tests] + IFS=
  163. 42.53 s [go-tests] + read -r go_package_dir
  164. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 42.53 s [go-tests] + IFS=
  166. 42.53 s [go-tests] + read -r go_package_dir
  167. 42.53 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  168. 42.53 s [go-tests] + IFS=
  169. 42.53 s [go-tests] + read -r go_package_dir
  170. 42.53 s [go-tests] + readonly go_package_dirs
  171. 42.53 s [go-tests] ++ go env GOBIN
  172. 42.54 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  173. 42.54 s [go-tests] + readonly GCI_PATH
  174. 42.54 s [go-tests] + readonly GCI_VERSION=v0.14.0
  175. 42.54 s [go-tests] + GCI_VERSION=v0.14.0
  176. 42.54 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  177. 42.54 s [go-tests] ++ /build/home/go/bin/gci --version
  178. 42.54 s [go-tests] + gci_version_output='gci version 0.14.0'
  179. 42.54 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  180. 42.54 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  181. 42.54 s [go-tests] + readonly gci_sections
  182. 42.54 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/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
  183. 42.59 s [go-tests] + gci_output=
  184. 42.59 s [go-tests] + [[ -n '' ]]
  185. 42.59 s [go-tests] ++ go env GOBIN
  186. 42.59 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  187. 42.59 s [go-tests] + readonly GOCRITIC_PATH
  188. 42.59 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  189. 42.59 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  190. 42.59 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  191. 42.59 s [go-tests] + /build/home/go/bin/go-critic check ./...
  192. 43.80 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  193. 44.66 s [go-tests] ++ go env GOBIN
  194. 44.67 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  195. 44.67 s [go-tests] + readonly STATICCHECK_PATH
  196. 44.67 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  197. 44.67 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  198. 44.67 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  199. 44.67 s [go-tests] + /build/home/go/bin/staticcheck ./...
  200. 49.19 s [go-tests] ++ go env GOBIN
  201. 49.25 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  202. 49.25 s [go-tests] + readonly ERRCHECK_PATH
  203. 49.25 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  204. 49.25 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  205. 49.25 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  206. 49.25 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  207. 49.42 s [go-tests] buildPhase completed in 44 seconds
  208. 49.42 s [go-tests] Phase: installPhase
  209. 49.43 s [go-tests] Phase: fixupPhase
  210. 49.45 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/spif10z6r250nrbr4gy3p13nakr3l28v-go-tests-0.0.0
  211. 49.45 s [go-tests] checking for references to /build/ in /nix/store/spif10z6r250nrbr4gy3p13nakr3l28v-go-tests-0.0.0...
  212. 49.47 s [go-tests] patching script interpreter paths in /nix/store/spif10z6r250nrbr4gy3p13nakr3l28v-go-tests-0.0.0
  213. 49.71 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/spif10z6r250nrbr4gy3p13nakr3l28v-go-tests-0.0.0
  214. 49.76 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  215. 49.77 s [go-tests:post-build] copying 1 paths...
  216. 49.77 s [go-tests:post-build] copying path '/nix/store/spif10z6r250nrbr4gy3p13nakr3l28v-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  217. 49.94 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  218. 50.37 s [go-tests:post-build] copying 1 paths...
  219. 50.37 s [go-tests:post-build] copying path '/nix/store/jn6ij26psrxz2vs6cga86ajsqs7qswwr-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  220. 50.60 s Uploaded go-tests in 908ms
  221. 50.60 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  222. 50.60 s Built go-tests in 45.1s
  223. 50.60 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  224. 50.60 s /nix/store/spif10z6r250nrbr4gy3p13nakr3l28v-go-tests-0.0.0
  225. 50.66 s Build succeeded.