1. 1.10 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=milestone-completion&rev=32abed9f1c0a5f57f30ef2c49f7d51b62062dccc#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.28 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/356b9433067cffa0dfefce0e0bdc961fb523998f6ec495e9b0a8be1889a3936f.sqlite' is busy
  3. 2.06 s
  4. 2.51 s Downloading cached little-moments-0.0.1-go-modules from https://cache.nix-ci.com
  5. 2.51 s Downloading cached errcheck from https://cache.nix-ci.com
  6. 2.51 s Downloading cached go-tools from https://cache.nix-ci.com
  7. 2.51 s Downloading cached go-critic from https://cache.nix-ci.com
  8. 2.65 s Progress: 0 of 5 built, 1 of 4 downloaded from cache (3 downloading)
  9. 2.70 s Progress: 0 of 4 built, 2 of 4 downloaded from cache (2 downloading)
  10. 2.85 s Progress: 0 of 3 built, 3 of 4 downloaded from cache (1 downloading)
  11. 3.03 s Progress: 0 of 2 built, 4 of 4 downloaded from cache
  12. 3.12 s Building /nix/store/d8378f3g7glr8bp81c1n3sadmm3r41nz-go-tests-0.0.0.drv
  13. 3.20 s [go-tests] Phase: unpackPhase
  14. 3.21 s [go-tests] unpacking source archive /nix/store/fqdans8gnm7zmdx6zq10m3x2ajjlzpr4-source
  15. 3.24 s [go-tests] source root is source
  16. 3.26 s [go-tests] Phase: patchPhase
  17. 3.28 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  18. 3.30 s [go-tests] Phase: configurePhase
  19. 3.36 s [go-tests] no configure script, doing nothing
  20. 3.36 s [go-tests] Phase: buildPhase
  21. 3.38 s [go-tests] patching script interpreter paths in ./dev-scripts
  22. 3.38 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"
  23. 3.41 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"
  24. 3.50 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"
  25. 3.55 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"
  26. 3.59 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"
  27. 3.62 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"
  28. 3.66 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"
  29. 3.70 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"
  30. 3.73 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"
  31. 3.76 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"
  32. 3.80 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"
  33. 3.83 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"
  34. 3.86 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"
  35. 3.89 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"
  36. 3.93 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"
  37. 3.96 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"
  38. 3.99 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"
  39. 4.02 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"
  40. 4.05 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"
  41. 4.08 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  42. 4.11 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"
  43. 4.13 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"
  44. 4.31 s [go-tests] + set -o pipefail
  45. 4.31 s [go-tests] + full_test=
  46. 4.31 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  47. 4.31 s [go-tests] + go_test_flags+=("-fullpath")
  48. 4.31 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  49. 4.31 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  50. 4.31 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  51. 4.31 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  52. 4.31 s [go-tests] + [[ '' = \-\-full ]]
  53. 4.31 s [go-tests] + set -u
  54. 4.31 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  55. 4.32 s [go-tests] ++ cd ./dev-scripts
  56. 4.32 s [go-tests] ++ pwd
  57. 4.32 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  58. 4.32 s [go-tests] + readonly SCRIPT_DIR
  59. 4.32 s [go-tests] + cd /build/source/dev-scripts/..
  60. 4.32 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  61. 9.93 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  62. 15.93 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  63. 21.24 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  64. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.940s
  65. 22.18 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  66. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.027s
  67. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.008s
  68. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.008s
  69. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.008s
  70. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.008s
  71. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.015s
  72. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.010s
  73. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.009s
  74. 22.18 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  75. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.008s
  76. 22.18 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  77. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.016s
  78. 22.18 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  79. 22.18 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.913s
  80. 22.18 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  81. 22.31 s [go-tests] + [[ -n '' ]]
  82. 22.31 s [go-tests] + go vet ./...
  83. 33.19 s [go-tests] + go_package_dirs=()
  84. 33.20 s [go-tests] + IFS=
  85. 33.20 s [go-tests] + read -r go_package_dir
  86. 33.20 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  87. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 33.27 s [go-tests] + IFS=
  89. 33.27 s [go-tests] + read -r go_package_dir
  90. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 33.27 s [go-tests] + IFS=
  92. 33.27 s [go-tests] + read -r go_package_dir
  93. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 33.27 s [go-tests] + IFS=
  95. 33.27 s [go-tests] + read -r go_package_dir
  96. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 33.27 s [go-tests] + IFS=
  98. 33.27 s [go-tests] + read -r go_package_dir
  99. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 33.27 s [go-tests] + IFS=
  101. 33.27 s [go-tests] + read -r go_package_dir
  102. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 33.27 s [go-tests] + IFS=
  104. 33.27 s [go-tests] + read -r go_package_dir
  105. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 33.27 s [go-tests] + IFS=
  107. 33.27 s [go-tests] + read -r go_package_dir
  108. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 33.27 s [go-tests] + IFS=
  110. 33.27 s [go-tests] + read -r go_package_dir
  111. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 33.27 s [go-tests] + IFS=
  113. 33.27 s [go-tests] + read -r go_package_dir
  114. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 33.27 s [go-tests] + IFS=
  116. 33.27 s [go-tests] + read -r go_package_dir
  117. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 33.27 s [go-tests] + IFS=
  119. 33.27 s [go-tests] + read -r go_package_dir
  120. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 33.27 s [go-tests] + IFS=
  122. 33.27 s [go-tests] + read -r go_package_dir
  123. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 33.27 s [go-tests] + IFS=
  125. 33.27 s [go-tests] + read -r go_package_dir
  126. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 33.27 s [go-tests] + IFS=
  128. 33.27 s [go-tests] + read -r go_package_dir
  129. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 33.27 s [go-tests] + IFS=
  131. 33.27 s [go-tests] + read -r go_package_dir
  132. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 33.27 s [go-tests] + IFS=
  134. 33.27 s [go-tests] + read -r go_package_dir
  135. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 33.27 s [go-tests] + IFS=
  137. 33.27 s [go-tests] + read -r go_package_dir
  138. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 33.27 s [go-tests] + IFS=
  140. 33.27 s [go-tests] + read -r go_package_dir
  141. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 33.27 s [go-tests] + IFS=
  143. 33.27 s [go-tests] + read -r go_package_dir
  144. 33.27 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 33.27 s [go-tests] + IFS=
  146. 33.27 s [go-tests] + read -r go_package_dir
  147. 33.27 s [go-tests] + readonly go_package_dirs
  148. 33.27 s [go-tests] ++ go env GOPATH
  149. 33.27 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  150. 33.27 s [go-tests] + readonly GCI_PATH
  151. 33.27 s [go-tests] + readonly GCI_VERSION=v0.14.0
  152. 33.27 s [go-tests] + GCI_VERSION=v0.14.0
  153. 33.27 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  154. 33.28 s [go-tests] ++ /build/home/go/bin/gci --version
  155. 33.28 s [go-tests] + gci_version_output='gci version 0.14.0'
  156. 33.28 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  157. 33.28 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  158. 33.28 s [go-tests] + readonly gci_sections
  159. 33.28 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
  160. 33.31 s [go-tests] + gci_output=
  161. 33.31 s [go-tests] + [[ -n '' ]]
  162. 33.31 s [go-tests] ++ go env GOPATH
  163. 33.32 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  164. 33.32 s [go-tests] + readonly GOCRITIC_PATH
  165. 33.32 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  166. 33.32 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  167. 33.32 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  168. 33.32 s [go-tests] + /build/home/go/bin/go-critic check ./...
  169. 34.26 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  170. 34.92 s [go-tests] ++ go env GOPATH
  171. 34.92 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  172. 34.92 s [go-tests] + readonly STATICCHECK_PATH
  173. 34.92 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  174. 34.92 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  175. 34.92 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  176. 34.92 s [go-tests] + /build/home/go/bin/staticcheck ./...
  177. 39.00 s [go-tests] ++ go env GOPATH
  178. 39.03 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  179. 39.03 s [go-tests] + readonly ERRCHECK_PATH
  180. 39.03 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  181. 39.03 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  182. 39.03 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  183. 39.03 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  184. 39.19 s [go-tests] buildPhase completed in 36 seconds
  185. 39.19 s [go-tests] Phase: installPhase
  186. 39.20 s [go-tests] Phase: fixupPhase
  187. 39.21 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/xywmznwx54kr5xl1x8y2vkigwgd6zwri-go-tests-0.0.0
  188. 39.21 s [go-tests] checking for references to /build/ in /nix/store/xywmznwx54kr5xl1x8y2vkigwgd6zwri-go-tests-0.0.0...
  189. 39.22 s [go-tests] patching script interpreter paths in /nix/store/xywmznwx54kr5xl1x8y2vkigwgd6zwri-go-tests-0.0.0
  190. 39.44 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/xywmznwx54kr5xl1x8y2vkigwgd6zwri-go-tests-0.0.0
  191. 39.48 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  192. 39.48 s [go-tests:post-build] copying 1 paths...
  193. 39.48 s [go-tests:post-build] copying path '/nix/store/xywmznwx54kr5xl1x8y2vkigwgd6zwri-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  194. 39.56 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  195. 40.14 s [go-tests:post-build] copying 1 paths...
  196. 40.14 s [go-tests:post-build] copying path '/nix/store/d8378f3g7glr8bp81c1n3sadmm3r41nz-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  197. 40.28 s Progress: 1 of 2 built, 4 of 4 downloaded from cache
  198. 40.28 s Progress: 2 of 2 built, 4 of 4 downloaded from cache
  199. 40.28 s /nix/store/xywmznwx54kr5xl1x8y2vkigwgd6zwri-go-tests-0.0.0
  200. 40.31 s Build succeeded.