1. 2.58 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=redo-edit-caption%2F2%2Fedit-caption&rev=c7190ca62c1b95a8f77e397f8be838181784bed8&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 5.48 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/481d6a5cf93081d8e7181ec840684e4112874ea8e9957b42790c4baddea8bc09.sqlite' is busy
  3. 5.48 s
  4. 5.48 s Downloading cached go-tools from https://cache.nix-ci.com
  5. 5.48 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  6. 5.55 s Downloaded cached glibc-2.40 (28.8 MiB) in 72ms
  7. 5.55 s Progress: 0 of 3 built, 1 of 6 downloaded from cache (1 downloading)
  8. 5.55 s Downloading cached zlib from https://cache.nix-ci.com
  9. 5.56 s Downloaded cached zlib (129 KiB) in 3ms
  10. 5.56 s Progress: 0 of 3 built, 2 of 6 downloaded from cache (1 downloading)
  11. 5.56 s Downloading cached sqlite from https://cache.nix-ci.com
  12. 5.56 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  13. 5.58 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 18ms
  14. 5.58 s Progress: 0 of 3 built, 3 of 6 downloaded from cache (2 downloading)
  15. 5.58 s Downloaded cached sqlite (3.8 MiB) in 18ms
  16. 5.58 s Progress: 0 of 3 built, 4 of 6 downloaded from cache (1 downloading)
  17. 5.58 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  18. 5.58 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 5ms
  19. 5.58 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  20. 5.58 s Downloaded cached go-tools (45.4 MiB) in 101ms
  21. 5.58 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  22. 5.58 s Building /nix/store/d4kg0i8k8i8fmsnx0kfswd2bzm94f909-go-tests-0.0.0.drv
  23. 5.58 s [go-tests] Phase: unpackPhase
  24. 5.58 s [go-tests] unpacking source archive /nix/store/6lbxaygqyaagrakc6a9jf00aa3mwp47v-source
  25. 5.58 s [go-tests] source root is source
  26. 5.58 s [go-tests] Phase: patchPhase
  27. 5.58 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  28. 5.58 s [go-tests] Phase: configurePhase
  29. 5.58 s [go-tests] no configure script, doing nothing
  30. 5.58 s [go-tests] Phase: buildPhase
  31. 5.58 s [go-tests] patching script interpreter paths in ./dev-scripts
  32. 5.58 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"
  33. 5.59 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"
  34. 5.59 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"
  35. 5.59 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"
  36. 5.59 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"
  37. 5.59 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"
  38. 5.59 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"
  39. 5.59 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"
  40. 5.59 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"
  41. 5.59 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"
  42. 5.59 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"
  43. 5.59 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  44. 5.59 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"
  45. 5.59 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"
  46. 5.59 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"
  47. 5.59 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.59 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.59 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"
  50. 5.59 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"
  51. 5.59 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"
  52. 5.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"
  53. 5.59 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. 5.59 s [go-tests] + set -o pipefail
  55. 5.59 s [go-tests] + full_test=
  56. 5.59 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  57. 5.59 s [go-tests] + go_test_flags+=("-fullpath")
  58. 5.59 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  59. 5.59 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  60. 5.59 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  61. 5.59 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  62. 5.59 s [go-tests] + case "${1:-}" in
  63. 5.59 s [go-tests] + [[ 0 -gt 1 ]]
  64. 5.59 s [go-tests] + set -u
  65. 5.59 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  66. 5.59 s [go-tests] ++ cd ./dev-scripts
  67. 5.59 s [go-tests] ++ pwd
  68. 5.59 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  69. 5.59 s [go-tests] + readonly SCRIPT_DIR
  70. 5.59 s [go-tests] + cd /build/source/dev-scripts/..
  71. 5.59 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  72. 10.45 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  73. 21.71 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  74. 21.74 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  75. 21.74 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  76. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.141s
  77. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.024s
  78. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.007s
  79. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.870s
  80. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.006s
  81. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.006s
  82. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.004s
  83. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.006s
  84. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.004s
  85. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  86. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.006s
  87. 22.85 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  88. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  89. 22.85 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  90. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  91. 22.85 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  92. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.910s
  93. 22.85 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  94. 22.85 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.004s
  95. 22.97 s [go-tests] + [[ -n '' ]]
  96. 22.97 s [go-tests] + go vet ./...
  97. 34.42 s [go-tests] + go_package_dirs=()
  98. 34.46 s [go-tests] + IFS=
  99. 34.46 s [go-tests] + read -r go_package_dir
  100. 34.46 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  101. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  102. 34.49 s [go-tests] + IFS=
  103. 34.49 s [go-tests] + read -r go_package_dir
  104. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  105. 34.49 s [go-tests] + IFS=
  106. 34.49 s [go-tests] + read -r go_package_dir
  107. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 34.49 s [go-tests] + IFS=
  109. 34.49 s [go-tests] + read -r go_package_dir
  110. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 34.49 s [go-tests] + IFS=
  112. 34.49 s [go-tests] + read -r go_package_dir
  113. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 34.49 s [go-tests] + IFS=
  115. 34.49 s [go-tests] + read -r go_package_dir
  116. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 34.49 s [go-tests] + IFS=
  118. 34.49 s [go-tests] + read -r go_package_dir
  119. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 34.49 s [go-tests] + IFS=
  121. 34.49 s [go-tests] + read -r go_package_dir
  122. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 34.49 s [go-tests] + IFS=
  124. 34.49 s [go-tests] + read -r go_package_dir
  125. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 34.49 s [go-tests] + IFS=
  127. 34.49 s [go-tests] + read -r go_package_dir
  128. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 34.49 s [go-tests] + IFS=
  130. 34.49 s [go-tests] + read -r go_package_dir
  131. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 34.49 s [go-tests] + IFS=
  133. 34.49 s [go-tests] + read -r go_package_dir
  134. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 34.49 s [go-tests] + IFS=
  136. 34.49 s [go-tests] + read -r go_package_dir
  137. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 34.49 s [go-tests] + IFS=
  139. 34.49 s [go-tests] + read -r go_package_dir
  140. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 34.49 s [go-tests] + IFS=
  142. 34.49 s [go-tests] + read -r go_package_dir
  143. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 34.49 s [go-tests] + IFS=
  145. 34.49 s [go-tests] + read -r go_package_dir
  146. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 34.49 s [go-tests] + IFS=
  148. 34.49 s [go-tests] + read -r go_package_dir
  149. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 34.49 s [go-tests] + IFS=
  151. 34.49 s [go-tests] + read -r go_package_dir
  152. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 34.49 s [go-tests] + IFS=
  154. 34.49 s [go-tests] + read -r go_package_dir
  155. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 34.49 s [go-tests] + IFS=
  157. 34.49 s [go-tests] + read -r go_package_dir
  158. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 34.49 s [go-tests] + IFS=
  160. 34.49 s [go-tests] + read -r go_package_dir
  161. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 34.49 s [go-tests] + IFS=
  163. 34.49 s [go-tests] + read -r go_package_dir
  164. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 34.49 s [go-tests] + IFS=
  166. 34.49 s [go-tests] + read -r go_package_dir
  167. 34.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  168. 34.49 s [go-tests] + IFS=
  169. 34.49 s [go-tests] + read -r go_package_dir
  170. 34.49 s [go-tests] + readonly go_package_dirs
  171. 34.49 s [go-tests] ++ go env GOBIN
  172. 34.49 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  173. 34.49 s [go-tests] + readonly GCI_PATH
  174. 34.49 s [go-tests] + readonly GCI_VERSION=v0.14.0
  175. 34.49 s [go-tests] + GCI_VERSION=v0.14.0
  176. 34.49 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  177. 34.49 s [go-tests] ++ /build/home/go/bin/gci --version
  178. 34.50 s [go-tests] + gci_version_output='gci version 0.14.0'
  179. 34.50 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  180. 34.50 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  181. 34.50 s [go-tests] + readonly gci_sections
  182. 34.50 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. 34.53 s [go-tests] + gci_output=
  184. 34.53 s [go-tests] + [[ -n '' ]]
  185. 34.53 s [go-tests] ++ go env GOBIN
  186. 34.54 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  187. 34.54 s [go-tests] + readonly GOCRITIC_PATH
  188. 34.54 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  189. 34.54 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  190. 34.54 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  191. 34.54 s [go-tests] + /build/home/go/bin/go-critic check ./...
  192. 35.29 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  193. 35.82 s [go-tests] ++ go env GOBIN
  194. 35.82 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  195. 35.82 s [go-tests] + readonly STATICCHECK_PATH
  196. 35.82 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  197. 35.82 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  198. 35.82 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  199. 35.82 s [go-tests] + /build/home/go/bin/staticcheck ./...
  200. 39.63 s [go-tests] ++ go env GOBIN
  201. 42.77 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  202. 42.77 s [go-tests] + readonly ERRCHECK_PATH
  203. 42.77 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  204. 42.77 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  205. 42.77 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  206. 42.77 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  207. 42.77 s [go-tests] buildPhase completed in 36 seconds
  208. 42.77 s [go-tests] Phase: installPhase
  209. 42.77 s [go-tests] Phase: fixupPhase
  210. 42.77 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/qsk8j940frfigfgjqjrb0vhw87fwcibc-go-tests-0.0.0
  211. 42.77 s [go-tests] checking for references to /build/ in /nix/store/qsk8j940frfigfgjqjrb0vhw87fwcibc-go-tests-0.0.0...
  212. 42.77 s [go-tests] patching script interpreter paths in /nix/store/qsk8j940frfigfgjqjrb0vhw87fwcibc-go-tests-0.0.0
  213. 42.77 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/qsk8j940frfigfgjqjrb0vhw87fwcibc-go-tests-0.0.0
  214. 42.77 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  215. 42.77 s [go-tests:post-build] copying 1 paths...
  216. 42.77 s [go-tests:post-build] copying path '/nix/store/qsk8j940frfigfgjqjrb0vhw87fwcibc-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  217. 42.77 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  218. 42.77 s [go-tests:post-build] copying 1 paths...
  219. 42.77 s [go-tests:post-build] copying path '/nix/store/d4kg0i8k8i8fmsnx0kfswd2bzm94f909-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  220. 42.77 s Uploaded go-tests in 0ms
  221. 42.77 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  222. 42.77 s Built go-tests in 37.1s
  223. 42.77 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  224. 42.77 s /nix/store/qsk8j940frfigfgjqjrb0vhw87fwcibc-go-tests-0.0.0
  225. 42.77 s Build succeeded.