1. 1.26 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=no-air&rev=6979cd6885260f403f45d3454e92ca52cdd42973&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.60 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/d5baa8e514c1eb81fe614e9405505a187cfceb111c0388474d92a97ebfab9d87.sqlite' is busy
  3. 3.60 s
  4. 3.61 s Downloading cached bash-interactive-5.3p9-dev from https://cache.nix-ci.com
  5. 3.61 s Downloading cached gci from https://cache.nix-ci.com
  6. 3.61 s Downloading cached errcheck from https://cache.nix-ci.com
  7. 3.61 s Downloading cached go-critic from https://cache.nix-ci.com
  8. 3.61 s Downloading cached go-tools from https://cache.nix-ci.com
  9. 3.61 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  10. 3.61 s Downloaded cached bash-interactive-5.3p9-dev (326 KiB) in 5ms
  11. 3.61 s Progress: 0 of 7 built, 1 of 7 downloaded from cache (5 downloading)
  12. 3.63 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 23ms
  13. 3.63 s Progress: 0 of 6 built, 2 of 7 downloaded from cache (4 downloading)
  14. 3.63 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  15. 3.64 s Downloaded cached gci (14.3 MiB) in 38ms
  16. 3.64 s Progress: 0 of 6 built, 3 of 7 downloaded from cache (4 downloading)
  17. 4.15 s Downloaded cached go-critic (9.3 MiB) in 539ms
  18. 4.15 s Progress: 0 of 5 built, 4 of 7 downloaded from cache (3 downloading)
  19. 4.55 s Downloaded cached errcheck (5.2 MiB) in 943ms
  20. 4.55 s Progress: 0 of 4 built, 5 of 7 downloaded from cache (2 downloading)
  21. 4.56 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 933ms
  22. 4.56 s Progress: 0 of 3 built, 6 of 7 downloaded from cache (1 downloading)
  23. 6.56 s Downloaded cached go-tools (45.4 MiB) in 2.9s
  24. 6.60 s Progress: 0 of 2 built, 7 of 7 downloaded from cache
  25. 6.63 s Building /nix/store/xcjlz2dw84scl4zdq82vgfz1mss4z0hq-go-tests-0.0.0.drv
  26. 6.70 s [go-tests] Phase: unpackPhase
  27. 6.70 s [go-tests] unpacking source archive /nix/store/lcyanpc4iv8rvamr369r1xmx0jiwy0qp-source
  28. 6.72 s [go-tests] source root is source
  29. 6.74 s [go-tests] Phase: patchPhase
  30. 6.74 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  31. 6.76 s [go-tests] Phase: configurePhase
  32. 6.77 s [go-tests] no configure script, doing nothing
  33. 6.77 s [go-tests] Phase: buildPhase
  34. 6.78 s [go-tests] patching script interpreter paths in ./dev-scripts
  35. 6.78 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. 6.80 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"
  37. 6.81 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"
  38. 6.83 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"
  39. 6.84 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"
  40. 6.86 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. 6.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"
  42. 6.89 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"
  43. 6.90 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"
  44. 6.92 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"
  45. 6.93 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. 6.95 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"
  47. 6.97 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"
  48. 6.98 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  49. 7.00 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"
  50. 7.01 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"
  51. 7.03 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"
  52. 7.04 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"
  53. 7.06 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"
  54. 7.07 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"
  55. 7.09 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"
  56. 7.10 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"
  57. 7.24 s [go-tests] + set -o pipefail
  58. 7.24 s [go-tests] + full_test=
  59. 7.24 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  60. 7.24 s [go-tests] + go_test_flags+=("-fullpath")
  61. 7.24 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  62. 7.24 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  63. 7.24 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  64. 7.24 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  65. 7.24 s [go-tests] + case "${1:-}" in
  66. 7.24 s [go-tests] + [[ 0 -gt 1 ]]
  67. 7.24 s [go-tests] + set -u
  68. 7.24 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  69. 7.24 s [go-tests] ++ cd ./dev-scripts
  70. 7.24 s [go-tests] ++ pwd
  71. 7.24 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  72. 7.24 s [go-tests] + readonly SCRIPT_DIR
  73. 7.24 s [go-tests] + cd /build/source/dev-scripts/..
  74. 7.24 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  75. 10.25 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  76. 17.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  77. 17.18 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  78. 17.18 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  79. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.935s
  80. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.020s
  81. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.007s
  82. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.707s
  83. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  84. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  85. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.004s
  86. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.006s
  87. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  88. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  89. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.008s
  90. 18.09 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  91. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.005s
  92. 18.09 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  93. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  94. 18.09 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  95. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.686s
  96. 18.09 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  97. 18.09 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.006s
  98. 18.18 s [go-tests] + [[ -n '' ]]
  99. 18.18 s [go-tests] + go vet ./...
  100. 25.43 s [go-tests] + go_package_dirs=()
  101. 25.63 s [go-tests] + IFS=
  102. 25.63 s [go-tests] + read -r go_package_dir
  103. 25.63 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  104. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  105. 25.63 s [go-tests] + IFS=
  106. 25.63 s [go-tests] + read -r go_package_dir
  107. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 25.63 s [go-tests] + IFS=
  109. 25.63 s [go-tests] + read -r go_package_dir
  110. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 25.63 s [go-tests] + IFS=
  112. 25.63 s [go-tests] + read -r go_package_dir
  113. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 25.63 s [go-tests] + IFS=
  115. 25.63 s [go-tests] + read -r go_package_dir
  116. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 25.63 s [go-tests] + IFS=
  118. 25.63 s [go-tests] + read -r go_package_dir
  119. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 25.63 s [go-tests] + IFS=
  121. 25.63 s [go-tests] + read -r go_package_dir
  122. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 25.63 s [go-tests] + IFS=
  124. 25.63 s [go-tests] + read -r go_package_dir
  125. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 25.63 s [go-tests] + IFS=
  127. 25.63 s [go-tests] + read -r go_package_dir
  128. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 25.63 s [go-tests] + IFS=
  130. 25.63 s [go-tests] + read -r go_package_dir
  131. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 25.63 s [go-tests] + IFS=
  133. 25.63 s [go-tests] + read -r go_package_dir
  134. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 25.63 s [go-tests] + IFS=
  136. 25.63 s [go-tests] + read -r go_package_dir
  137. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 25.63 s [go-tests] + IFS=
  139. 25.63 s [go-tests] + read -r go_package_dir
  140. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 25.63 s [go-tests] + IFS=
  142. 25.63 s [go-tests] + read -r go_package_dir
  143. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 25.63 s [go-tests] + IFS=
  145. 25.63 s [go-tests] + read -r go_package_dir
  146. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 25.63 s [go-tests] + IFS=
  148. 25.63 s [go-tests] + read -r go_package_dir
  149. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 25.63 s [go-tests] + IFS=
  151. 25.63 s [go-tests] + read -r go_package_dir
  152. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 25.63 s [go-tests] + IFS=
  154. 25.63 s [go-tests] + read -r go_package_dir
  155. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 25.63 s [go-tests] + IFS=
  157. 25.63 s [go-tests] + read -r go_package_dir
  158. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 25.63 s [go-tests] + IFS=
  160. 25.63 s [go-tests] + read -r go_package_dir
  161. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 25.63 s [go-tests] + IFS=
  163. 25.63 s [go-tests] + read -r go_package_dir
  164. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 25.63 s [go-tests] + IFS=
  166. 25.63 s [go-tests] + read -r go_package_dir
  167. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  168. 25.63 s [go-tests] + IFS=
  169. 25.63 s [go-tests] + read -r go_package_dir
  170. 25.63 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  171. 25.63 s [go-tests] + IFS=
  172. 25.63 s [go-tests] + read -r go_package_dir
  173. 25.63 s [go-tests] + readonly go_package_dirs
  174. 25.63 s [go-tests] ++ go env GOBIN
  175. 25.63 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  176. 25.63 s [go-tests] + readonly GCI_PATH
  177. 25.63 s [go-tests] + readonly GCI_VERSION=v0.14.0
  178. 25.63 s [go-tests] + GCI_VERSION=v0.14.0
  179. 25.63 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  180. 25.63 s [go-tests] ++ /build/home/go/bin/gci --version
  181. 25.63 s [go-tests] + gci_version_output='gci version 0.14.0'
  182. 25.63 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  183. 25.63 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  184. 25.63 s [go-tests] + readonly gci_sections
  185. 25.63 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
  186. 25.63 s [go-tests] + gci_output=
  187. 25.63 s [go-tests] + [[ -n '' ]]
  188. 25.63 s [go-tests] ++ go env GOBIN
  189. 25.63 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  190. 25.63 s [go-tests] + readonly GOCRITIC_PATH
  191. 25.63 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  192. 25.63 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  193. 25.63 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  194. 25.63 s [go-tests] + /build/home/go/bin/go-critic check ./...
  195. 26.27 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  196. 26.78 s [go-tests] ++ go env GOBIN
  197. 26.78 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  198. 26.78 s [go-tests] + readonly STATICCHECK_PATH
  199. 26.78 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  200. 26.78 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  201. 26.78 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  202. 26.78 s [go-tests] + /build/home/go/bin/staticcheck ./...
  203. 30.19 s [go-tests] ++ go env GOBIN
  204. 30.19 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  205. 30.19 s [go-tests] + readonly ERRCHECK_PATH
  206. 30.19 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  207. 30.19 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  208. 30.19 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  209. 30.19 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  210. 30.38 s [go-tests] Phase: installPhase
  211. 30.39 s [go-tests] Phase: fixupPhase
  212. 30.40 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/0j7sgnmibmivh31n70gn65397afrp86r-go-tests-0.0.0
  213. 30.40 s [go-tests] checking for references to /build/ in /nix/store/0j7sgnmibmivh31n70gn65397afrp86r-go-tests-0.0.0...
  214. 30.41 s [go-tests] patching script interpreter paths in /nix/store/0j7sgnmibmivh31n70gn65397afrp86r-go-tests-0.0.0
  215. 30.59 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/0j7sgnmibmivh31n70gn65397afrp86r-go-tests-0.0.0
  216. 30.65 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  217. 30.65 s [go-tests:post-build] copying 1 paths...
  218. 30.65 s [go-tests:post-build] copying path '/nix/store/0j7sgnmibmivh31n70gn65397afrp86r-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  219. 30.79 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  220. 31.20 s [go-tests:post-build] copying 1 paths...
  221. 31.20 s [go-tests:post-build] copying path '/nix/store/xcjlz2dw84scl4zdq82vgfz1mss4z0hq-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  222. 31.42 s Uploaded go-tests in 836ms
  223. 31.42 s Progress: 1 of 2 built, 7 of 7 downloaded from cache
  224. 31.42 s Built go-tests in 24.7s
  225. 31.42 s Progress: 2 of 2 built, 7 of 7 downloaded from cache
  226. 31.42 s /nix/store/0j7sgnmibmivh31n70gn65397afrp86r-go-tests-0.0.0
  227. 31.46 s Build succeeded.