build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.12 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=email-auth&rev=e08f5dd4f03533eab8c11fd12e3960e5a1caffb2#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.65 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/6338539cad017c5c1d08a00c381a007864c74dc6aea9b0329710e4f4a7d5fc5b.sqlite' is busy
  3. 1.17 s
  4. 1.22 s Downloading cached source from https://cache.nix-ci.com
  5. 11.71 s Progress: 1 of 1 downloaded from cache
  6. 14.28 s
  7. 14.28 s Downloading cached little-moments-0.0.1-go-modules from https://cache.nix-ci.com
  8. 14.29 s Downloading cached errcheck from https://cache.nix-ci.com
  9. 14.29 s Downloading cached gci from https://cache.nix-ci.com
  10. 14.29 s Downloading cached go-critic from https://cache.nix-ci.com
  11. 14.29 s Downloading cached go-tools from https://cache.nix-ci.com
  12. 14.29 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  13. 14.29 s Downloading cached libunistring from https://cache.nix-ci.com
  14. 14.34 s Progress: 0 of 7 built, 1 of 13 downloaded from cache (6 downloading)
  15. 14.39 s Progress: 0 of 7 built, 2 of 13 downloaded from cache (5 downloading)
  16. 14.39 s Downloading cached libidn2 from https://cache.nix-ci.com
  17. 14.41 s Progress: 0 of 7 built, 3 of 13 downloaded from cache (5 downloading)
  18. 14.41 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  19. 14.43 s Progress: 0 of 7 built, 4 of 13 downloaded from cache (5 downloading)
  20. 14.45 s Progress: 0 of 6 built, 5 of 13 downloaded from cache (4 downloading)
  21. 14.51 s Progress: 0 of 5 built, 6 of 13 downloaded from cache (3 downloading)
  22. 14.57 s Progress: 0 of 4 built, 7 of 13 downloaded from cache (2 downloading)
  23. 14.75 s Progress: 0 of 3 built, 8 of 13 downloaded from cache (1 downloading)
  24. 14.75 s Downloading cached zlib from https://cache.nix-ci.com
  25. 14.77 s Progress: 0 of 3 built, 9 of 13 downloaded from cache (1 downloading)
  26. 14.77 s Downloading cached sqlite from https://cache.nix-ci.com
  27. 14.77 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  28. 14.83 s Progress: 0 of 3 built, 10 of 13 downloaded from cache (2 downloading)
  29. 14.83 s Progress: 0 of 2 built, 11 of 13 downloaded from cache (1 downloading)
  30. 14.83 s Progress: 0 of 2 built, 12 of 13 downloaded from cache
  31. 14.83 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  32. 14.86 s Progress: 0 of 2 built, 13 of 13 downloaded from cache
  33. 14.97 s Building /nix/store/qwvdmgqz8a22n2162z7jisv8bmdxgkd7-go-tests-0.0.0.drv
  34. 15.05 s [go-tests] Phase: unpackPhase
  35. 15.05 s [go-tests] unpacking source archive /nix/store/zcsahz9sc6a6p4a85ngb8jgg2lnnk365-source
  36. 15.08 s [go-tests] source root is source
  37. 15.10 s [go-tests] Phase: patchPhase
  38. 15.11 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  39. 15.13 s [go-tests] Phase: configurePhase
  40. 15.15 s [go-tests] no configure script, doing nothing
  41. 15.15 s [go-tests] Phase: buildPhase
  42. 15.17 s [go-tests] patching script interpreter paths in ./dev-scripts
  43. 15.17 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"
  44. 15.19 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"
  45. 15.21 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"
  46. 15.24 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"
  47. 15.28 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"
  48. 15.32 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"
  49. 15.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"
  50. 15.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"
  51. 15.45 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"
  52. 15.48 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"
  53. 15.50 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"
  54. 15.53 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"
  55. 15.56 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"
  56. 15.58 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"
  57. 15.61 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"
  58. 15.64 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"
  59. 15.66 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"
  60. 15.69 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"
  61. 15.72 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. 15.75 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"
  63. 15.78 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  64. 15.80 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"
  65. 15.99 s [go-tests] + set -o pipefail
  66. 15.99 s [go-tests] + full_test=
  67. 15.99 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  68. 15.99 s [go-tests] + go_test_flags+=("-fullpath")
  69. 15.99 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  70. 15.99 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  71. 15.99 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  72. 15.99 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  73. 15.99 s [go-tests] + [[ '' = \-\-full ]]
  74. 15.99 s [go-tests] + set -u
  75. 15.99 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  76. 16.00 s [go-tests] ++ cd ./dev-scripts
  77. 16.00 s [go-tests] ++ pwd
  78. 16.00 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  79. 16.00 s [go-tests] + readonly SCRIPT_DIR
  80. 16.00 s [go-tests] + cd /build/source/dev-scripts/..
  81. 16.00 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  82. 21.56 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  83. 27.63 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  84. 32.48 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  85. 33.70 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.217s
  86. 33.71 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  87. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  88. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  89. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  90. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.006s
  91. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.003s
  92. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  93. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.004s
  94. 33.71 s [go-tests] ? codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp [no test files]
  95. 33.71 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  96. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  97. 33.71 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  98. 33.71 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  99. 33.71 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  100. 33.81 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.325s
  101. 33.81 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  102. 33.97 s [go-tests] + [[ -n '' ]]
  103. 33.97 s [go-tests] + go vet ./...
  104. 48.32 s [go-tests] + go_package_dirs=()
  105. 48.33 s [go-tests] + IFS=
  106. 48.33 s [go-tests] + read -r go_package_dir
  107. 48.33 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  108. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 48.43 s [go-tests] + IFS=
  110. 48.43 s [go-tests] + read -r go_package_dir
  111. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 48.43 s [go-tests] + IFS=
  113. 48.43 s [go-tests] + read -r go_package_dir
  114. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 48.43 s [go-tests] + IFS=
  116. 48.43 s [go-tests] + read -r go_package_dir
  117. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 48.43 s [go-tests] + IFS=
  119. 48.43 s [go-tests] + read -r go_package_dir
  120. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 48.43 s [go-tests] + IFS=
  122. 48.43 s [go-tests] + read -r go_package_dir
  123. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 48.43 s [go-tests] + IFS=
  125. 48.43 s [go-tests] + read -r go_package_dir
  126. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 48.43 s [go-tests] + IFS=
  128. 48.43 s [go-tests] + read -r go_package_dir
  129. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 48.43 s [go-tests] + IFS=
  131. 48.43 s [go-tests] + read -r go_package_dir
  132. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 48.43 s [go-tests] + IFS=
  134. 48.43 s [go-tests] + read -r go_package_dir
  135. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 48.43 s [go-tests] + IFS=
  137. 48.43 s [go-tests] + read -r go_package_dir
  138. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 48.43 s [go-tests] + IFS=
  140. 48.43 s [go-tests] + read -r go_package_dir
  141. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 48.43 s [go-tests] + IFS=
  143. 48.43 s [go-tests] + read -r go_package_dir
  144. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 48.43 s [go-tests] + IFS=
  146. 48.43 s [go-tests] + read -r go_package_dir
  147. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 48.43 s [go-tests] + IFS=
  149. 48.43 s [go-tests] + read -r go_package_dir
  150. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 48.43 s [go-tests] + IFS=
  152. 48.43 s [go-tests] + read -r go_package_dir
  153. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 48.43 s [go-tests] + IFS=
  155. 48.43 s [go-tests] + read -r go_package_dir
  156. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 48.43 s [go-tests] + IFS=
  158. 48.43 s [go-tests] + read -r go_package_dir
  159. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 48.43 s [go-tests] + IFS=
  161. 48.43 s [go-tests] + read -r go_package_dir
  162. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 48.43 s [go-tests] + IFS=
  164. 48.43 s [go-tests] + read -r go_package_dir
  165. 48.43 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 48.43 s [go-tests] + IFS=
  167. 48.43 s [go-tests] + read -r go_package_dir
  168. 48.44 s [go-tests] + readonly go_package_dirs
  169. 48.44 s [go-tests] ++ go env GOPATH
  170. 48.44 s [go-tests] + GCI_PATH=/build/go/bin/gci
  171. 48.44 s [go-tests] + readonly GCI_PATH
  172. 48.44 s [go-tests] + readonly GCI_VERSION=v0.14.0
  173. 48.44 s [go-tests] + GCI_VERSION=v0.14.0
  174. 48.44 s [go-tests] + [[ -f /build/go/bin/gci ]]
  175. 48.44 s [go-tests] ++ /build/go/bin/gci --version
  176. 48.45 s [go-tests] + gci_version_output='gci version 0.14.0'
  177. 48.45 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  178. 48.45 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  179. 48.45 s [go-tests] + readonly gci_sections
  180. 48.45 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
  181. 48.50 s [go-tests] + gci_output=
  182. 48.50 s [go-tests] + [[ -n '' ]]
  183. 48.50 s [go-tests] ++ go env GOPATH
  184. 48.50 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  185. 48.50 s [go-tests] + readonly GOCRITIC_PATH
  186. 48.50 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  187. 48.50 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  188. 48.50 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  189. 48.50 s [go-tests] + /build/go/bin/go-critic check ./...
  190. 49.73 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  191. 50.64 s [go-tests] ++ go env GOPATH
  192. 50.64 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  193. 50.64 s [go-tests] + readonly STATICCHECK_PATH
  194. 50.64 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  195. 50.64 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  196. 50.64 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  197. 50.64 s [go-tests] + /build/go/bin/staticcheck ./...
  198. 58.24 s [go-tests] ++ go env GOPATH
  199. 58.24 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  200. 58.25 s [go-tests] + readonly ERRCHECK_PATH
  201. 58.25 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  202. 58.25 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  203. 58.25 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  204. 58.25 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  205. 58.57 s [go-tests] buildPhase completed in 43 seconds
  206. 58.57 s [go-tests] Phase: installPhase
  207. 58.58 s [go-tests] Phase: fixupPhase
  208. 58.61 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/95kczidy6bjarphb3w0jmwggqq3yf02f-go-tests-0.0.0
  209. 58.61 s [go-tests] checking for references to /build/ in /nix/store/95kczidy6bjarphb3w0jmwggqq3yf02f-go-tests-0.0.0...
  210. 58.63 s [go-tests] patching script interpreter paths in /nix/store/95kczidy6bjarphb3w0jmwggqq3yf02f-go-tests-0.0.0
  211. 59.03 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/95kczidy6bjarphb3w0jmwggqq3yf02f-go-tests-0.0.0
  212. 59.10 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  213. 59.11 s [go-tests:post-build] copying 1 paths...
  214. 59.11 s [go-tests:post-build] copying path '/nix/store/95kczidy6bjarphb3w0jmwggqq3yf02f-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  215. 59.24 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  216. 61.78 s [go-tests:post-build] copying 1 paths...
  217. 61.78 s [go-tests:post-build] copying path '/nix/store/qwvdmgqz8a22n2162z7jisv8bmdxgkd7-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  218. 62.27 s Progress: 1 of 2 built, 13 of 13 downloaded from cache
  219. 62.27 s Progress: 2 of 2 built, 13 of 13 downloaded from cache
  220. 62.27 s /nix/store/95kczidy6bjarphb3w0jmwggqq3yf02f-go-tests-0.0.0
  221. 62.35 s Build succeeded.