1. 0.14 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=litestream-0.5.x&rev=647902dcc1230114158a269ad15fcdaef2d8ca59#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.46 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/11377272fdf6f8743883a9ab5d47d5ac2aa84e22f4aed373c5f9faaf22a6a4ca.sqlite' is busy
  3. 0.86 s
  4. 0.92 s Downloading cached source from https://cache.nix-ci.com
  5. 9.78 s Progress: 1 of 1 downloaded from cache
  6. 11.22 s
  7. 11.23 s Downloading cached errcheck from https://cache.nix-ci.com
  8. 11.23 s Downloading cached gci from https://cache.nix-ci.com
  9. 11.23 s Downloading cached go-critic from https://cache.nix-ci.com
  10. 11.23 s Downloading cached go-tools from https://cache.nix-ci.com
  11. 11.24 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  12. 11.24 s Downloading cached libunistring from https://cache.nix-ci.com
  13. 11.25 s Waiting for lock on little-moments-0.0.1-go-modules
  14. 11.39 s Progress: 0 of 7 built, 1 of 12 downloaded from cache (5 downloading)
  15. 11.40 s Progress: 0 of 7 built, 2 of 12 downloaded from cache (4 downloading)
  16. 11.47 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (3 downloading)
  17. 11.47 s Downloading cached libidn2 from https://cache.nix-ci.com
  18. 11.49 s Progress: 0 of 6 built, 4 of 12 downloaded from cache (3 downloading)
  19. 11.52 s Progress: 0 of 5 built, 5 of 12 downloaded from cache (2 downloading)
  20. 11.52 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  21. 11.53 s Progress: 0 of 5 built, 6 of 12 downloaded from cache (2 downloading)
  22. 11.82 s Progress: 0 of 4 built, 7 of 12 downloaded from cache (1 downloading)
  23. 11.84 s Progress: 0 of 3 built, 8 of 12 downloaded from cache
  24. 11.84 s Downloading cached zlib from https://cache.nix-ci.com
  25. 11.89 s Progress: 0 of 3 built, 9 of 12 downloaded from cache
  26. 11.89 s Downloading cached sqlite from https://cache.nix-ci.com
  27. 11.89 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  28. 11.95 s Progress: 0 of 3 built, 10 of 12 downloaded from cache (1 downloading)
  29. 11.96 s Progress: 0 of 3 built, 11 of 12 downloaded from cache
  30. 11.96 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  31. 12.00 s Progress: 0 of 3 built, 12 of 12 downloaded from cache
  32. 17.13 s Building /nix/store/k247ylc986sj8vr51irjq1i8cznwcfc5-go-tests-0.0.0.drv
  33. 17.20 s [go-tests] Phase: unpackPhase
  34. 17.21 s [go-tests] unpacking source archive /nix/store/hs7m46m2f5x88dy0zg3vrii2dhhs4lg1-source
  35. 17.23 s [go-tests] source root is source
  36. 17.25 s [go-tests] Phase: patchPhase
  37. 17.26 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  38. 17.27 s [go-tests] Phase: configurePhase
  39. 17.29 s [go-tests] no configure script, doing nothing
  40. 17.29 s [go-tests] Phase: buildPhase
  41. 17.30 s [go-tests] patching script interpreter paths in ./dev-scripts
  42. 17.31 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"
  43. 17.33 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"
  44. 17.34 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"
  45. 17.36 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"
  46. 17.38 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"
  47. 17.40 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"
  48. 17.42 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"
  49. 17.44 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"
  50. 17.45 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"
  51. 17.47 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. 17.49 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  53. 17.51 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"
  54. 17.52 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"
  55. 17.54 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"
  56. 17.56 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"
  57. 17.58 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"
  58. 17.59 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"
  59. 17.61 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"
  60. 17.68 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"
  61. 17.79 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"
  62. 17.87 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"
  63. 17.89 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"
  64. 18.11 s [go-tests] + set -o pipefail
  65. 18.11 s [go-tests] + full_test=
  66. 18.11 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  67. 18.11 s [go-tests] + go_test_flags+=("-fullpath")
  68. 18.11 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  69. 18.11 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  70. 18.11 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  71. 18.11 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  72. 18.11 s [go-tests] + [[ '' = \-\-full ]]
  73. 18.11 s [go-tests] + set -u
  74. 18.11 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  75. 18.12 s [go-tests] ++ cd ./dev-scripts
  76. 18.12 s [go-tests] ++ pwd
  77. 18.12 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  78. 18.12 s [go-tests] + readonly SCRIPT_DIR
  79. 18.12 s [go-tests] + cd /build/source/dev-scripts/..
  80. 18.12 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  81. 23.09 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  82. 27.28 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  83. 31.91 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  84. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.888s
  85. 32.80 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  86. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  87. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.004s
  88. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  89. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.006s
  90. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  91. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.004s
  92. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.004s
  93. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.004s
  94. 32.80 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  95. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  96. 32.80 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  97. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  98. 32.80 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  99. 32.80 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.852s
  100. 32.80 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  101. 32.91 s [go-tests] + [[ -n '' ]]
  102. 32.91 s [go-tests] + go vet ./...
  103. 40.91 s [go-tests] + go_package_dirs=()
  104. 41.41 s [go-tests] + IFS=
  105. 41.41 s [go-tests] + read -r go_package_dir
  106. 41.41 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  107. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 41.41 s [go-tests] + IFS=
  109. 41.41 s [go-tests] + read -r go_package_dir
  110. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 41.41 s [go-tests] + IFS=
  112. 41.41 s [go-tests] + read -r go_package_dir
  113. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 41.41 s [go-tests] + IFS=
  115. 41.41 s [go-tests] + read -r go_package_dir
  116. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 41.41 s [go-tests] + IFS=
  118. 41.41 s [go-tests] + read -r go_package_dir
  119. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 41.41 s [go-tests] + IFS=
  121. 41.41 s [go-tests] + read -r go_package_dir
  122. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 41.41 s [go-tests] + IFS=
  124. 41.41 s [go-tests] + read -r go_package_dir
  125. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 41.41 s [go-tests] + IFS=
  127. 41.41 s [go-tests] + read -r go_package_dir
  128. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 41.41 s [go-tests] + IFS=
  130. 41.41 s [go-tests] + read -r go_package_dir
  131. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 41.41 s [go-tests] + IFS=
  133. 41.41 s [go-tests] + read -r go_package_dir
  134. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 41.41 s [go-tests] + IFS=
  136. 41.41 s [go-tests] + read -r go_package_dir
  137. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 41.41 s [go-tests] + IFS=
  139. 41.41 s [go-tests] + read -r go_package_dir
  140. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 41.41 s [go-tests] + IFS=
  142. 41.41 s [go-tests] + read -r go_package_dir
  143. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 41.41 s [go-tests] + IFS=
  145. 41.41 s [go-tests] + read -r go_package_dir
  146. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 41.41 s [go-tests] + IFS=
  148. 41.41 s [go-tests] + read -r go_package_dir
  149. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 41.41 s [go-tests] + IFS=
  151. 41.41 s [go-tests] + read -r go_package_dir
  152. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 41.41 s [go-tests] + IFS=
  154. 41.41 s [go-tests] + read -r go_package_dir
  155. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 41.41 s [go-tests] + IFS=
  157. 41.41 s [go-tests] + read -r go_package_dir
  158. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 41.41 s [go-tests] + IFS=
  160. 41.41 s [go-tests] + read -r go_package_dir
  161. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 41.41 s [go-tests] + IFS=
  163. 41.41 s [go-tests] + read -r go_package_dir
  164. 41.41 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 41.41 s [go-tests] + IFS=
  166. 41.41 s [go-tests] + read -r go_package_dir
  167. 41.41 s [go-tests] + readonly go_package_dirs
  168. 41.41 s [go-tests] ++ go env GOPATH
  169. 41.41 s [go-tests] + GCI_PATH=/build/go/bin/gci
  170. 41.41 s [go-tests] + readonly GCI_PATH
  171. 41.41 s [go-tests] + readonly GCI_VERSION=v0.14.0
  172. 41.41 s [go-tests] + GCI_VERSION=v0.14.0
  173. 41.41 s [go-tests] + [[ -f /build/go/bin/gci ]]
  174. 41.41 s [go-tests] ++ /build/go/bin/gci --version
  175. 41.41 s [go-tests] + gci_version_output='gci version 0.14.0'
  176. 41.41 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  177. 41.41 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  178. 41.41 s [go-tests] + readonly gci_sections
  179. 41.41 s [go-tests] ++ /build/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
  180. 41.41 s [go-tests] + gci_output=
  181. 41.41 s [go-tests] + [[ -n '' ]]
  182. 41.41 s [go-tests] ++ go env GOPATH
  183. 41.41 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  184. 41.41 s [go-tests] + readonly GOCRITIC_PATH
  185. 41.41 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  186. 41.41 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  187. 41.41 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  188. 41.41 s [go-tests] + /build/go/bin/go-critic check ./...
  189. 41.73 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  190. 42.28 s [go-tests] ++ go env GOPATH
  191. 42.28 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  192. 42.28 s [go-tests] + readonly STATICCHECK_PATH
  193. 42.28 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  194. 42.28 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  195. 42.28 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  196. 42.28 s [go-tests] + /build/go/bin/staticcheck ./...
  197. 46.02 s [go-tests] ++ go env GOPATH
  198. 47.58 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  199. 47.58 s [go-tests] + readonly ERRCHECK_PATH
  200. 47.58 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  201. 47.58 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  202. 47.58 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  203. 47.58 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  204. 47.58 s [go-tests] Phase: installPhase
  205. 47.58 s [go-tests] Phase: fixupPhase
  206. 47.58 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/k33dnpbbpkaak6sjykqrrkviisk1hcfh-go-tests-0.0.0
  207. 47.58 s [go-tests] checking for references to /build/ in /nix/store/k33dnpbbpkaak6sjykqrrkviisk1hcfh-go-tests-0.0.0...
  208. 47.58 s [go-tests] patching script interpreter paths in /nix/store/k33dnpbbpkaak6sjykqrrkviisk1hcfh-go-tests-0.0.0
  209. 47.58 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/k33dnpbbpkaak6sjykqrrkviisk1hcfh-go-tests-0.0.0
  210. 47.58 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  211. 47.58 s [go-tests:post-build] copying 1 paths...
  212. 47.58 s [go-tests:post-build] copying path '/nix/store/k33dnpbbpkaak6sjykqrrkviisk1hcfh-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  213. 47.58 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  214. 47.58 s [go-tests:post-build] copying 1 paths...
  215. 47.58 s [go-tests:post-build] copying path '/nix/store/k247ylc986sj8vr51irjq1i8cznwcfc5-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  216. 47.58 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  217. 47.58 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  218. 47.58 s /nix/store/k33dnpbbpkaak6sjykqrrkviisk1hcfh-go-tests-0.0.0
  219. 47.58 s Build succeeded.