build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.15 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=redirect-dev&rev=7a00a1ee3122935ddef3d8668b1f7bc8d974d0a3#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.50 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/ee59e851962f0b9f70960631ec58bfa347b3a62f2e713c2861da2bf1f3078744.sqlite' is busy
  3. 0.92 s
  4. 1.01 s Downloading cached source from https://cache.nix-ci.com
  5. 9.03 s Progress: 1 of 1 downloaded from cache
  6. 10.90 s
  7. 10.91 s Downloading cached errcheck from https://cache.nix-ci.com
  8. 10.91 s Downloading cached gci from https://cache.nix-ci.com
  9. 10.91 s Downloading cached go-critic from https://cache.nix-ci.com
  10. 10.91 s Downloading cached go-tools from https://cache.nix-ci.com
  11. 10.91 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  12. 10.91 s Downloading cached libunistring from https://cache.nix-ci.com
  13. 11.06 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  14. 11.20 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  15. 11.25 s Progress: 0 of 5 built, 3 of 12 downloaded from cache (3 downloading)
  16. 11.29 s Progress: 0 of 4 built, 4 of 12 downloaded from cache (2 downloading)
  17. 11.29 s Downloading cached libidn2 from https://cache.nix-ci.com
  18. 11.42 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  19. 11.50 s Progress: 0 of 3 built, 6 of 12 downloaded from cache (1 downloading)
  20. 11.50 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  21. 12.14 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  22. 12.52 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  23. 12.52 s Downloading cached zlib from https://cache.nix-ci.com
  24. 12.57 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  25. 12.57 s Downloading cached sqlite from https://cache.nix-ci.com
  26. 12.57 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  27. 12.65 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  28. 12.65 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  29. 12.65 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  30. 12.70 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  31. 12.79 s Building /nix/store/fwwsm4sq9d75k7m989fnb8py26nc7gfk-go-tests-0.0.0.drv
  32. 12.86 s [go-tests] Phase: unpackPhase
  33. 12.86 s [go-tests] unpacking source archive /nix/store/xmsppqpayxyvfs8cpw1i5by7pfac9a02-source
  34. 12.89 s [go-tests] source root is source
  35. 12.90 s [go-tests] Phase: patchPhase
  36. 12.91 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  37. 12.93 s [go-tests] Phase: configurePhase
  38. 12.94 s [go-tests] no configure script, doing nothing
  39. 12.95 s [go-tests] Phase: buildPhase
  40. 12.96 s [go-tests] patching script interpreter paths in ./dev-scripts
  41. 12.96 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"
  42. 12.98 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"
  43. 13.00 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. 13.02 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"
  45. 13.04 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"
  46. 13.05 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"
  47. 13.07 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"
  48. 13.09 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"
  49. 13.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"
  50. 13.12 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. 13.14 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"
  52. 13.16 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"
  53. 13.18 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  54. 13.20 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"
  55. 13.22 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"
  56. 13.23 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"
  57. 13.25 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"
  58. 13.27 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"
  59. 13.29 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"
  60. 13.31 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. 13.32 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. 13.34 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"
  63. 13.48 s [go-tests] + set -o pipefail
  64. 13.48 s [go-tests] + full_test=
  65. 13.48 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  66. 13.48 s [go-tests] + go_test_flags+=("-fullpath")
  67. 13.48 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  68. 13.48 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  69. 13.48 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  70. 13.48 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  71. 13.48 s [go-tests] + [[ '' = \-\-full ]]
  72. 13.48 s [go-tests] + set -u
  73. 13.48 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  74. 13.48 s [go-tests] ++ cd ./dev-scripts
  75. 13.48 s [go-tests] ++ pwd
  76. 13.48 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  77. 13.48 s [go-tests] + readonly SCRIPT_DIR
  78. 13.48 s [go-tests] + cd /build/source/dev-scripts/..
  79. 13.48 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  80. 16.70 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  81. 21.63 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  82. 25.77 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  83. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.778s
  84. 26.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  85. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.018s
  86. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.008s
  87. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  88. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  89. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.007s
  90. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  91. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.005s
  92. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.004s
  93. 26.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  94. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.003s
  95. 26.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  96. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.003s
  97. 26.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  98. 26.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.732s
  99. 26.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  100. 26.65 s [go-tests] + [[ -n '' ]]
  101. 26.65 s [go-tests] + go vet ./...
  102. 35.88 s [go-tests] + go_package_dirs=()
  103. 35.91 s [go-tests] + IFS=
  104. 35.91 s [go-tests] + read -r go_package_dir
  105. 35.91 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  106. 35.96 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  107. 35.96 s [go-tests] + IFS=
  108. 35.97 s [go-tests] + read -r go_package_dir
  109. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  110. 35.97 s [go-tests] + IFS=
  111. 35.97 s [go-tests] + read -r go_package_dir
  112. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 35.97 s [go-tests] + IFS=
  114. 35.97 s [go-tests] + read -r go_package_dir
  115. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 35.97 s [go-tests] + IFS=
  117. 35.97 s [go-tests] + read -r go_package_dir
  118. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  119. 35.97 s [go-tests] + IFS=
  120. 35.97 s [go-tests] + read -r go_package_dir
  121. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  122. 35.97 s [go-tests] + IFS=
  123. 35.97 s [go-tests] + read -r go_package_dir
  124. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  125. 35.97 s [go-tests] + IFS=
  126. 35.97 s [go-tests] + read -r go_package_dir
  127. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  128. 35.97 s [go-tests] + IFS=
  129. 35.97 s [go-tests] + read -r go_package_dir
  130. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  131. 35.97 s [go-tests] + IFS=
  132. 35.97 s [go-tests] + read -r go_package_dir
  133. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  134. 35.97 s [go-tests] + IFS=
  135. 35.97 s [go-tests] + read -r go_package_dir
  136. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  137. 35.97 s [go-tests] + IFS=
  138. 35.97 s [go-tests] + read -r go_package_dir
  139. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  140. 35.97 s [go-tests] + IFS=
  141. 35.97 s [go-tests] + read -r go_package_dir
  142. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  143. 35.97 s [go-tests] + IFS=
  144. 35.97 s [go-tests] + read -r go_package_dir
  145. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  146. 35.97 s [go-tests] + IFS=
  147. 35.97 s [go-tests] + read -r go_package_dir
  148. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  149. 35.97 s [go-tests] + IFS=
  150. 35.97 s [go-tests] + read -r go_package_dir
  151. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  152. 35.97 s [go-tests] + IFS=
  153. 35.97 s [go-tests] + read -r go_package_dir
  154. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  155. 35.97 s [go-tests] + IFS=
  156. 35.97 s [go-tests] + read -r go_package_dir
  157. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  158. 35.97 s [go-tests] + IFS=
  159. 35.97 s [go-tests] + read -r go_package_dir
  160. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  161. 35.97 s [go-tests] + IFS=
  162. 35.97 s [go-tests] + read -r go_package_dir
  163. 35.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  164. 35.97 s [go-tests] + IFS=
  165. 35.97 s [go-tests] + read -r go_package_dir
  166. 35.97 s [go-tests] + readonly go_package_dirs
  167. 35.97 s [go-tests] ++ go env GOPATH
  168. 35.98 s [go-tests] + GCI_PATH=/build/go/bin/gci
  169. 35.98 s [go-tests] + readonly GCI_PATH
  170. 35.98 s [go-tests] + readonly GCI_VERSION=v0.14.0
  171. 35.98 s [go-tests] + GCI_VERSION=v0.14.0
  172. 35.98 s [go-tests] + [[ -f /build/go/bin/gci ]]
  173. 35.98 s [go-tests] ++ /build/go/bin/gci --version
  174. 35.98 s [go-tests] + gci_version_output='gci version 0.14.0'
  175. 35.98 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  176. 35.98 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  177. 35.98 s [go-tests] + readonly gci_sections
  178. 35.98 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
  179. 36.03 s [go-tests] + gci_output=
  180. 36.03 s [go-tests] + [[ -n '' ]]
  181. 36.03 s [go-tests] ++ go env GOPATH
  182. 36.03 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  183. 36.03 s [go-tests] + readonly GOCRITIC_PATH
  184. 36.03 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  185. 36.03 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  186. 36.03 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  187. 36.03 s [go-tests] + /build/go/bin/go-critic check ./...
  188. 36.93 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  189. 37.52 s [go-tests] ++ go env GOPATH
  190. 37.52 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  191. 37.52 s [go-tests] + readonly STATICCHECK_PATH
  192. 37.52 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  193. 37.52 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  194. 37.52 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  195. 37.52 s [go-tests] + /build/go/bin/staticcheck ./...
  196. 41.85 s [go-tests] ++ go env GOPATH
  197. 41.90 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  198. 41.90 s [go-tests] + readonly ERRCHECK_PATH
  199. 41.90 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  200. 41.90 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  201. 41.90 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  202. 41.90 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  203. 42.04 s [go-tests] Phase: installPhase
  204. 42.05 s [go-tests] Phase: fixupPhase
  205. 42.06 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/c02193lmsgm130mhxr9n4vzwpjw6dr0f-go-tests-0.0.0
  206. 42.06 s [go-tests] checking for references to /build/ in /nix/store/c02193lmsgm130mhxr9n4vzwpjw6dr0f-go-tests-0.0.0...
  207. 42.08 s [go-tests] patching script interpreter paths in /nix/store/c02193lmsgm130mhxr9n4vzwpjw6dr0f-go-tests-0.0.0
  208. 42.27 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/c02193lmsgm130mhxr9n4vzwpjw6dr0f-go-tests-0.0.0
  209. 42.31 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  210. 42.31 s [go-tests:post-build] copying 1 paths...
  211. 42.31 s [go-tests:post-build] copying path '/nix/store/c02193lmsgm130mhxr9n4vzwpjw6dr0f-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  212. 42.48 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  213. 43.71 s [go-tests:post-build] copying 1 paths...
  214. 43.71 s [go-tests:post-build] copying path '/nix/store/fwwsm4sq9d75k7m989fnb8py26nc7gfk-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  215. 43.98 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  216. 43.98 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  217. 43.98 s /nix/store/c02193lmsgm130mhxr9n4vzwpjw6dr0f-go-tests-0.0.0
  218. 44.01 s Build succeeded.