1. 0.13 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=edit-media&rev=a5b84def91110954fd11c5b072e81c34630c4300#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.80 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/dcc06f036f78ed8f09ad33668380603863a18786741a21aec8536b03a8d1e9bb.sqlite' is busy
  3. 4.19 s
  4. 4.87 s Building /nix/store/dgw4wqx3mxgshwhssyaf5q85jnr7aapn-go-tests-0.0.0.drv
  5. 4.98 s [go-tests] Phase: unpackPhase
  6. 5.00 s [go-tests] unpacking source archive /nix/store/x9awd3avaxhns9955m786k4681bnl2cw-source
  7. 5.05 s [go-tests] source root is source
  8. 5.11 s [go-tests] Phase: patchPhase
  9. 5.12 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  10. 5.16 s [go-tests] Phase: configurePhase
  11. 5.21 s [go-tests] no configure script, doing nothing
  12. 5.22 s [go-tests] Phase: buildPhase
  13. 5.24 s [go-tests] patching script interpreter paths in ./dev-scripts
  14. 5.25 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"
  15. 5.28 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"
  16. 5.31 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"
  17. 5.35 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"
  18. 5.38 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"
  19. 5.43 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"
  20. 5.48 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"
  21. 5.52 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"
  22. 5.57 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"
  23. 5.61 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  24. 5.65 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"
  25. 5.68 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"
  26. 5.71 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"
  27. 5.74 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"
  28. 5.78 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. 5.81 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"
  30. 5.84 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"
  31. 5.92 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"
  32. 5.97 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"
  33. 6.08 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"
  34. 6.13 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"
  35. 6.55 s [go-tests] + set -o pipefail
  36. 6.55 s [go-tests] + full_test=
  37. 6.55 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  38. 6.55 s [go-tests] + go_test_flags+=("-fullpath")
  39. 6.55 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  40. 6.55 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  41. 6.55 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  42. 6.55 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  43. 6.55 s [go-tests] + [[ '' = \-\-full ]]
  44. 6.55 s [go-tests] + set -u
  45. 6.55 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  46. 6.56 s [go-tests] ++ cd ./dev-scripts
  47. 6.56 s [go-tests] ++ pwd
  48. 6.56 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  49. 6.56 s [go-tests] + readonly SCRIPT_DIR
  50. 6.56 s [go-tests] + cd /build/source/dev-scripts/..
  51. 6.56 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  52. 19.58 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  53. 40.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  54. 40.05 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  55. 40.05 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  56. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.761s
  57. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.051s
  58. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  59. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.010s
  60. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s
  61. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.016s
  62. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  63. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.051s
  64. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.051s
  65. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.051s
  66. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.051s
  67. 41.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  68. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.051s
  69. 41.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  70. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.055s
  71. 41.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  72. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.461s
  73. 41.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  74. 41.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.014s
  75. 42.00 s [go-tests] + [[ -n '' ]]
  76. 42.00 s [go-tests] + go vet ./...
  77. 63.32 s [go-tests] + go_package_dirs=()
  78. 63.33 s [go-tests] + IFS=
  79. 63.33 s [go-tests] + read -r go_package_dir
  80. 63.33 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  81. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  82. 63.60 s [go-tests] + IFS=
  83. 63.60 s [go-tests] + read -r go_package_dir
  84. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  85. 63.60 s [go-tests] + IFS=
  86. 63.60 s [go-tests] + read -r go_package_dir
  87. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 63.60 s [go-tests] + IFS=
  89. 63.60 s [go-tests] + read -r go_package_dir
  90. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 63.60 s [go-tests] + IFS=
  92. 63.60 s [go-tests] + read -r go_package_dir
  93. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 63.60 s [go-tests] + IFS=
  95. 63.60 s [go-tests] + read -r go_package_dir
  96. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 63.60 s [go-tests] + IFS=
  98. 63.60 s [go-tests] + read -r go_package_dir
  99. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 63.60 s [go-tests] + IFS=
  101. 63.60 s [go-tests] + read -r go_package_dir
  102. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 63.60 s [go-tests] + IFS=
  104. 63.60 s [go-tests] + read -r go_package_dir
  105. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 63.60 s [go-tests] + IFS=
  107. 63.60 s [go-tests] + read -r go_package_dir
  108. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 63.60 s [go-tests] + IFS=
  110. 63.60 s [go-tests] + read -r go_package_dir
  111. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 63.60 s [go-tests] + IFS=
  113. 63.60 s [go-tests] + read -r go_package_dir
  114. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 63.60 s [go-tests] + IFS=
  116. 63.60 s [go-tests] + read -r go_package_dir
  117. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 63.60 s [go-tests] + IFS=
  119. 63.60 s [go-tests] + read -r go_package_dir
  120. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 63.60 s [go-tests] + IFS=
  122. 63.60 s [go-tests] + read -r go_package_dir
  123. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 63.60 s [go-tests] + IFS=
  125. 63.60 s [go-tests] + read -r go_package_dir
  126. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 63.60 s [go-tests] + IFS=
  128. 63.60 s [go-tests] + read -r go_package_dir
  129. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 63.60 s [go-tests] + IFS=
  131. 63.60 s [go-tests] + read -r go_package_dir
  132. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 63.60 s [go-tests] + IFS=
  134. 63.60 s [go-tests] + read -r go_package_dir
  135. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 63.60 s [go-tests] + IFS=
  137. 63.60 s [go-tests] + read -r go_package_dir
  138. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 63.60 s [go-tests] + IFS=
  140. 63.60 s [go-tests] + read -r go_package_dir
  141. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 63.60 s [go-tests] + IFS=
  143. 63.60 s [go-tests] + read -r go_package_dir
  144. 63.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 63.61 s [go-tests] + IFS=
  146. 63.61 s [go-tests] + read -r go_package_dir
  147. 63.61 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 63.61 s [go-tests] + IFS=
  149. 63.61 s [go-tests] + read -r go_package_dir
  150. 63.61 s [go-tests] + readonly go_package_dirs
  151. 63.61 s [go-tests] ++ go env GOBIN
  152. 63.63 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  153. 63.63 s [go-tests] + readonly GCI_PATH
  154. 63.63 s [go-tests] + readonly GCI_VERSION=v0.14.0
  155. 63.63 s [go-tests] + GCI_VERSION=v0.14.0
  156. 63.63 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  157. 63.63 s [go-tests] ++ /build/home/go/bin/gci --version
  158. 63.66 s [go-tests] + gci_version_output='gci version 0.14.0'
  159. 63.66 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  160. 63.66 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  161. 63.66 s [go-tests] + readonly gci_sections
  162. 63.66 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
  163. 63.78 s [go-tests] + gci_output=
  164. 63.78 s [go-tests] + [[ -n '' ]]
  165. 63.78 s [go-tests] ++ go env GOBIN
  166. 63.78 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  167. 63.78 s [go-tests] + readonly GOCRITIC_PATH
  168. 63.78 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  169. 63.78 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  170. 63.78 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  171. 63.78 s [go-tests] + /build/home/go/bin/go-critic check ./...
  172. 65.24 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  173. 66.54 s [go-tests] ++ go env GOBIN
  174. 66.54 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  175. 66.54 s [go-tests] + readonly STATICCHECK_PATH
  176. 66.54 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  177. 66.54 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  178. 66.54 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  179. 66.54 s [go-tests] + /build/home/go/bin/staticcheck ./...
  180. 73.18 s [go-tests] ++ go env GOBIN
  181. 73.20 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  182. 73.20 s [go-tests] + readonly ERRCHECK_PATH
  183. 73.20 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  184. 73.20 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  185. 73.20 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  186. 73.20 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  187. 73.50 s [go-tests] buildPhase completed in 1 minutes 9 seconds
  188. 73.50 s [go-tests] Phase: installPhase
  189. 73.51 s [go-tests] Phase: fixupPhase
  190. 73.53 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/bhx0jikd2j3sjdpsynrdhdqhpx5vyqdi-go-tests-0.0.0
  191. 73.54 s [go-tests] checking for references to /build/ in /nix/store/bhx0jikd2j3sjdpsynrdhdqhpx5vyqdi-go-tests-0.0.0...
  192. 73.56 s [go-tests] patching script interpreter paths in /nix/store/bhx0jikd2j3sjdpsynrdhdqhpx5vyqdi-go-tests-0.0.0
  193. 73.92 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/bhx0jikd2j3sjdpsynrdhdqhpx5vyqdi-go-tests-0.0.0
  194. 73.98 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  195. 73.99 s [go-tests:post-build] copying 1 paths...
  196. 73.99 s [go-tests:post-build] copying path '/nix/store/bhx0jikd2j3sjdpsynrdhdqhpx5vyqdi-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  197. 74.99 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  198. 75.31 s [go-tests:post-build] copying 1 paths...
  199. 75.31 s [go-tests:post-build] copying path '/nix/store/dgw4wqx3mxgshwhssyaf5q85jnr7aapn-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  200. 75.48 s Uploaded go-tests in 1.5s
  201. 75.48 s Progress: 1 of 2 built
  202. 75.48 s Built go-tests in 1m10s
  203. 75.48 s Progress: 2 of 2 built
  204. 75.48 s /nix/store/bhx0jikd2j3sjdpsynrdhdqhpx5vyqdi-go-tests-0.0.0
  205. 75.55 s Build succeeded.