1. 0.08 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=toc-design&rev=9acce0b8609750ad8a49fd4f0621859dbf0ac65e#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.53 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/cbb407864909713f44a971e97d11a0a2702b7252eb9d2d2c1933eea73d74d30a.sqlite' is busy
  3. 1.03 s
  4. 1.08 s Downloading cached source from https://cache.nix-ci.com
  5. 11.73 s Progress: 1 of 1 downloaded from cache
  6. 15.77 s
  7. 15.79 s Downloading cached little-moments-0.0.1-go-modules from https://cache.nix-ci.com
  8. 15.79 s Downloading cached errcheck from https://cache.nix-ci.com
  9. 15.79 s Downloading cached gci from https://cache.nix-ci.com
  10. 15.79 s Downloading cached go-critic from https://cache.nix-ci.com
  11. 15.79 s Downloading cached go-tools from https://cache.nix-ci.com
  12. 15.79 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  13. 15.79 s Downloading cached libunistring from https://cache.nix-ci.com
  14. 15.88 s Progress: 0 of 7 built, 1 of 13 downloaded from cache (6 downloading)
  15. 15.93 s Progress: 0 of 7 built, 2 of 13 downloaded from cache (5 downloading)
  16. 15.93 s Downloading cached libidn2 from https://cache.nix-ci.com
  17. 15.99 s Progress: 0 of 7 built, 3 of 13 downloaded from cache (5 downloading)
  18. 16.00 s Progress: 0 of 6 built, 4 of 13 downloaded from cache (4 downloading)
  19. 16.03 s Progress: 0 of 5 built, 5 of 13 downloaded from cache (3 downloading)
  20. 16.04 s Progress: 0 of 4 built, 6 of 13 downloaded from cache (2 downloading)
  21. 16.04 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  22. 16.25 s Progress: 0 of 4 built, 7 of 13 downloaded from cache (2 downloading)
  23. 16.42 s Progress: 0 of 3 built, 8 of 13 downloaded from cache (1 downloading)
  24. 16.43 s Progress: 0 of 2 built, 9 of 13 downloaded from cache
  25. 16.43 s Downloading cached zlib from https://cache.nix-ci.com
  26. 16.45 s Progress: 0 of 2 built, 10 of 13 downloaded from cache
  27. 16.45 s Downloading cached sqlite from https://cache.nix-ci.com
  28. 16.45 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  29. 16.49 s Progress: 0 of 2 built, 11 of 13 downloaded from cache (1 downloading)
  30. 16.50 s Progress: 0 of 2 built, 12 of 13 downloaded from cache
  31. 16.50 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  32. 16.51 s Progress: 0 of 2 built, 13 of 13 downloaded from cache
  33. 16.67 s Building /nix/store/gbsrbhnd44bh5jn4a3yfl4f40rdngkv6-go-tests-0.0.0.drv
  34. 16.77 s [go-tests] Phase: unpackPhase
  35. 16.79 s [go-tests] unpacking source archive /nix/store/flhbjabbapnnzjb5lripy6xgasy4vy86-source
  36. 16.81 s [go-tests] source root is source
  37. 16.83 s [go-tests] Phase: patchPhase
  38. 16.84 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  39. 16.86 s [go-tests] Phase: configurePhase
  40. 16.89 s [go-tests] no configure script, doing nothing
  41. 16.90 s [go-tests] Phase: buildPhase
  42. 16.91 s [go-tests] patching script interpreter paths in ./dev-scripts
  43. 16.91 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"
  44. 16.93 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"
  45. 16.95 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"
  46. 16.97 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"
  47. 16.99 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"
  48. 17.01 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"
  49. 17.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"
  50. 17.06 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"
  51. 17.10 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  52. 17.12 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"
  53. 17.14 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"
  54. 17.16 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"
  55. 17.19 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"
  56. 17.21 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"
  57. 17.24 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"
  58. 17.26 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"
  59. 17.28 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"
  60. 17.31 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"
  61. 17.34 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"
  62. 17.36 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"
  63. 17.38 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"
  64. 17.41 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"
  65. 17.59 s [go-tests] + set -o pipefail
  66. 17.59 s [go-tests] + full_test=
  67. 17.59 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  68. 17.59 s [go-tests] + go_test_flags+=("-fullpath")
  69. 17.59 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  70. 17.59 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  71. 17.59 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  72. 17.59 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  73. 17.59 s [go-tests] + [[ '' = \-\-full ]]
  74. 17.59 s [go-tests] + set -u
  75. 17.59 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  76. 17.59 s [go-tests] ++ cd ./dev-scripts
  77. 17.59 s [go-tests] ++ pwd
  78. 17.59 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  79. 17.59 s [go-tests] + readonly SCRIPT_DIR
  80. 17.59 s [go-tests] + cd /build/source/dev-scripts/..
  81. 17.59 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  82. 23.09 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  83. 28.46 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  84. 32.79 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  85. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.230s
  86. 34.03 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  87. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.018s
  88. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  89. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  90. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  91. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  92. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.004s
  93. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.004s
  94. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.004s
  95. 34.03 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  96. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  97. 34.03 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  98. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  99. 34.03 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  100. 34.03 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.228s
  101. 34.03 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  102. 34.14 s [go-tests] + [[ -n '' ]]
  103. 34.14 s [go-tests] + go vet ./...
  104. 46.67 s [go-tests] + go_package_dirs=()
  105. 46.68 s [go-tests] + IFS=
  106. 46.68 s [go-tests] + read -r go_package_dir
  107. 46.68 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  108. 46.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 46.75 s [go-tests] + IFS=
  110. 46.75 s [go-tests] + read -r go_package_dir
  111. 46.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 46.75 s [go-tests] + IFS=
  113. 46.75 s [go-tests] + read -r go_package_dir
  114. 46.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 46.75 s [go-tests] + IFS=
  116. 46.76 s [go-tests] + read -r go_package_dir
  117. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 46.76 s [go-tests] + IFS=
  119. 46.76 s [go-tests] + read -r go_package_dir
  120. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 46.76 s [go-tests] + IFS=
  122. 46.76 s [go-tests] + read -r go_package_dir
  123. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 46.76 s [go-tests] + IFS=
  125. 46.76 s [go-tests] + read -r go_package_dir
  126. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 46.76 s [go-tests] + IFS=
  128. 46.76 s [go-tests] + read -r go_package_dir
  129. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 46.76 s [go-tests] + IFS=
  131. 46.76 s [go-tests] + read -r go_package_dir
  132. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 46.76 s [go-tests] + IFS=
  134. 46.76 s [go-tests] + read -r go_package_dir
  135. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 46.76 s [go-tests] + IFS=
  137. 46.76 s [go-tests] + read -r go_package_dir
  138. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 46.76 s [go-tests] + IFS=
  140. 46.76 s [go-tests] + read -r go_package_dir
  141. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 46.76 s [go-tests] + IFS=
  143. 46.76 s [go-tests] + read -r go_package_dir
  144. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 46.76 s [go-tests] + IFS=
  146. 46.76 s [go-tests] + read -r go_package_dir
  147. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 46.76 s [go-tests] + IFS=
  149. 46.76 s [go-tests] + read -r go_package_dir
  150. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 46.76 s [go-tests] + IFS=
  152. 46.76 s [go-tests] + read -r go_package_dir
  153. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 46.76 s [go-tests] + IFS=
  155. 46.76 s [go-tests] + read -r go_package_dir
  156. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 46.76 s [go-tests] + IFS=
  158. 46.76 s [go-tests] + read -r go_package_dir
  159. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 46.76 s [go-tests] + IFS=
  161. 46.76 s [go-tests] + read -r go_package_dir
  162. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 46.76 s [go-tests] + IFS=
  164. 46.76 s [go-tests] + read -r go_package_dir
  165. 46.76 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 46.76 s [go-tests] + IFS=
  167. 46.76 s [go-tests] + read -r go_package_dir
  168. 46.76 s [go-tests] + readonly go_package_dirs
  169. 46.76 s [go-tests] ++ go env GOPATH
  170. 46.76 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  171. 46.76 s [go-tests] + readonly GCI_PATH
  172. 46.76 s [go-tests] + readonly GCI_VERSION=v0.14.0
  173. 46.76 s [go-tests] + GCI_VERSION=v0.14.0
  174. 46.76 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  175. 46.76 s [go-tests] ++ /build/home/go/bin/gci --version
  176. 46.77 s [go-tests] + gci_version_output='gci version 0.14.0'
  177. 46.77 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  178. 46.77 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  179. 46.77 s [go-tests] + readonly gci_sections
  180. 46.77 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
  181. 46.81 s [go-tests] + gci_output=
  182. 46.81 s [go-tests] + [[ -n '' ]]
  183. 46.81 s [go-tests] ++ go env GOPATH
  184. 46.81 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  185. 46.81 s [go-tests] + readonly GOCRITIC_PATH
  186. 46.81 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  187. 46.81 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  188. 46.81 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  189. 46.81 s [go-tests] + /build/home/go/bin/go-critic check ./...
  190. 47.73 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  191. 48.36 s [go-tests] ++ go env GOPATH
  192. 48.36 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  193. 48.36 s [go-tests] + readonly STATICCHECK_PATH
  194. 48.36 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  195. 48.36 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  196. 48.36 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  197. 48.36 s [go-tests] + /build/home/go/bin/staticcheck ./...
  198. 55.68 s [go-tests] ++ go env GOPATH
  199. 55.69 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  200. 55.69 s [go-tests] + readonly ERRCHECK_PATH
  201. 55.69 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  202. 55.69 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  203. 55.69 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  204. 55.69 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  205. 55.93 s [go-tests] buildPhase completed in 39 seconds
  206. 55.93 s [go-tests] Phase: installPhase
  207. 55.95 s [go-tests] Phase: fixupPhase
  208. 55.99 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/ddis7d1f2c60kjqm9khlbahdb6gzwvb7-go-tests-0.0.0
  209. 55.99 s [go-tests] checking for references to /build/ in /nix/store/ddis7d1f2c60kjqm9khlbahdb6gzwvb7-go-tests-0.0.0...
  210. 56.01 s [go-tests] patching script interpreter paths in /nix/store/ddis7d1f2c60kjqm9khlbahdb6gzwvb7-go-tests-0.0.0
  211. 56.38 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/ddis7d1f2c60kjqm9khlbahdb6gzwvb7-go-tests-0.0.0
  212. 56.44 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  213. 56.46 s [go-tests:post-build] copying 1 paths...
  214. 56.46 s [go-tests:post-build] copying path '/nix/store/ddis7d1f2c60kjqm9khlbahdb6gzwvb7-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  215. 56.61 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  216. 57.59 s [go-tests:post-build] copying 1 paths...
  217. 57.59 s [go-tests:post-build] copying path '/nix/store/gbsrbhnd44bh5jn4a3yfl4f40rdngkv6-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  218. 57.77 s Progress: 1 of 2 built, 13 of 13 downloaded from cache
  219. 57.77 s Progress: 2 of 2 built, 13 of 13 downloaded from cache
  220. 57.77 s /nix/store/ddis7d1f2c60kjqm9khlbahdb6gzwvb7-go-tests-0.0.0
  221. 57.82 s Build succeeded.