build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.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=backport-gas1&rev=1b32c2dfeae01d45afe250280084915b05e03039#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.17 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/d9f2aac874027630ae1b529028d8f2474db8187d373b39e45da9b45247d61b6e.sqlite' is busy
  3. 1.67 s
  4. 1.73 s Downloading cached source from https://cache.nix-ci.com
  5. 12.43 s Progress: 1 of 1 downloaded from cache
  6. 14.36 s
  7. 14.37 s Downloading cached errcheck from https://cache.nix-ci.com
  8. 14.37 s Downloading cached gci from https://cache.nix-ci.com
  9. 14.37 s Downloading cached go-critic from https://cache.nix-ci.com
  10. 14.37 s Downloading cached go-tools from https://cache.nix-ci.com
  11. 14.37 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  12. 14.37 s Downloading cached libunistring from https://cache.nix-ci.com
  13. 14.40 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  14. 14.44 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  15. 14.44 s Downloading cached libidn2 from https://cache.nix-ci.com
  16. 14.46 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  17. 14.46 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  18. 14.50 s Progress: 0 of 6 built, 4 of 12 downloaded from cache (4 downloading)
  19. 14.54 s Progress: 0 of 5 built, 5 of 12 downloaded from cache (3 downloading)
  20. 14.61 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  21. 14.86 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  22. 14.86 s Downloading cached zlib from https://cache.nix-ci.com
  23. 14.88 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  24. 14.88 s Downloading cached sqlite from https://cache.nix-ci.com
  25. 14.88 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  26. 14.92 s Progress: 0 of 3 built, 9 of 12 downloaded from cache (2 downloading)
  27. 14.92 s Progress: 0 of 3 built, 10 of 12 downloaded from cache (1 downloading)
  28. 14.92 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  29. 14.94 s Progress: 0 of 3 built, 11 of 12 downloaded from cache (1 downloading)
  30. 14.97 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  31. 15.09 s Building /nix/store/a0zffig03j6jkivcswdid1ivfw8jrkbp-go-tests-0.0.0.drv
  32. 15.16 s [go-tests] Phase: unpackPhase
  33. 15.17 s [go-tests] unpacking source archive /nix/store/bgndrdlsycyflg64x3xh3lmfzbzlryx6-source
  34. 15.20 s [go-tests] source root is source
  35. 15.22 s [go-tests] Phase: patchPhase
  36. 15.24 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  37. 15.27 s [go-tests] Phase: configurePhase
  38. 15.32 s [go-tests] no configure script, doing nothing
  39. 15.32 s [go-tests] Phase: buildPhase
  40. 15.33 s [go-tests] patching script interpreter paths in ./dev-scripts
  41. 15.34 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"
  42. 15.37 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"
  43. 15.43 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  44. 15.46 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"
  45. 15.49 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"
  46. 15.52 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"
  47. 15.55 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. 15.61 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"
  49. 15.95 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"
  50. 15.97 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"
  51. 15.99 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"
  52. 16.02 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"
  53. 16.05 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"
  54. 16.07 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"
  55. 16.09 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. 16.12 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"
  57. 16.15 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"
  58. 16.19 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"
  59. 16.25 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"
  60. 16.27 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"
  61. 16.32 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. 16.38 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"
  63. 16.66 s [go-tests] + set -o pipefail
  64. 16.66 s [go-tests] + full_test=
  65. 16.66 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  66. 16.66 s [go-tests] + go_test_flags+=("-fullpath")
  67. 16.66 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  68. 16.66 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  69. 16.66 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  70. 16.66 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  71. 16.66 s [go-tests] + [[ '' = \-\-full ]]
  72. 16.66 s [go-tests] + set -u
  73. 16.66 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  74. 16.67 s [go-tests] ++ cd ./dev-scripts
  75. 16.67 s [go-tests] ++ pwd
  76. 16.67 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  77. 16.67 s [go-tests] + readonly SCRIPT_DIR
  78. 16.67 s [go-tests] + cd /build/source/dev-scripts/..
  79. 16.68 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  80. 22.07 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  81. 28.31 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  82. 33.52 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  83. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.112s
  84. 34.64 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  85. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.020s
  86. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  87. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s
  88. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  89. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.009s
  90. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.007s
  91. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  92. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.007s
  93. 34.64 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  94. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.006s
  95. 34.64 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  96. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  97. 34.64 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  98. 34.64 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.058s
  99. 34.64 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  100. 34.79 s [go-tests] + [[ -n '' ]]
  101. 34.79 s [go-tests] + go vet ./...
  102. 46.99 s [go-tests] + go_package_dirs=()
  103. 47.00 s [go-tests] + IFS=
  104. 47.00 s [go-tests] + read -r go_package_dir
  105. 47.00 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  106. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  107. 47.08 s [go-tests] + IFS=
  108. 47.08 s [go-tests] + read -r go_package_dir
  109. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  110. 47.08 s [go-tests] + IFS=
  111. 47.08 s [go-tests] + read -r go_package_dir
  112. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 47.08 s [go-tests] + IFS=
  114. 47.08 s [go-tests] + read -r go_package_dir
  115. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 47.08 s [go-tests] + IFS=
  117. 47.08 s [go-tests] + read -r go_package_dir
  118. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  119. 47.08 s [go-tests] + IFS=
  120. 47.08 s [go-tests] + read -r go_package_dir
  121. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  122. 47.08 s [go-tests] + IFS=
  123. 47.08 s [go-tests] + read -r go_package_dir
  124. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  125. 47.08 s [go-tests] + IFS=
  126. 47.08 s [go-tests] + read -r go_package_dir
  127. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  128. 47.08 s [go-tests] + IFS=
  129. 47.08 s [go-tests] + read -r go_package_dir
  130. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  131. 47.08 s [go-tests] + IFS=
  132. 47.08 s [go-tests] + read -r go_package_dir
  133. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  134. 47.08 s [go-tests] + IFS=
  135. 47.08 s [go-tests] + read -r go_package_dir
  136. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  137. 47.08 s [go-tests] + IFS=
  138. 47.08 s [go-tests] + read -r go_package_dir
  139. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  140. 47.08 s [go-tests] + IFS=
  141. 47.08 s [go-tests] + read -r go_package_dir
  142. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  143. 47.08 s [go-tests] + IFS=
  144. 47.08 s [go-tests] + read -r go_package_dir
  145. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  146. 47.08 s [go-tests] + IFS=
  147. 47.08 s [go-tests] + read -r go_package_dir
  148. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  149. 47.08 s [go-tests] + IFS=
  150. 47.08 s [go-tests] + read -r go_package_dir
  151. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  152. 47.08 s [go-tests] + IFS=
  153. 47.08 s [go-tests] + read -r go_package_dir
  154. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  155. 47.08 s [go-tests] + IFS=
  156. 47.08 s [go-tests] + read -r go_package_dir
  157. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  158. 47.08 s [go-tests] + IFS=
  159. 47.08 s [go-tests] + read -r go_package_dir
  160. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  161. 47.08 s [go-tests] + IFS=
  162. 47.08 s [go-tests] + read -r go_package_dir
  163. 47.08 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  164. 47.08 s [go-tests] + IFS=
  165. 47.08 s [go-tests] + read -r go_package_dir
  166. 47.08 s [go-tests] + readonly go_package_dirs
  167. 47.08 s [go-tests] ++ go env GOBIN
  168. 47.08 s [go-tests] + GO_BIN_DIR=
  169. 47.08 s [go-tests] + [[ -z '' ]]
  170. 47.08 s [go-tests] ++ go env GOPATH
  171. 47.09 s [go-tests] + GO_BIN_DIR=/build/home/go/bin
  172. 47.09 s [go-tests] + readonly GO_BIN_DIR
  173. 47.09 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  174. 47.09 s [go-tests] + readonly GCI_PATH
  175. 47.09 s [go-tests] + readonly GCI_VERSION=v0.14.0
  176. 47.09 s [go-tests] + GCI_VERSION=v0.14.0
  177. 47.09 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  178. 47.09 s [go-tests] ++ /build/home/go/bin/gci --version
  179. 47.09 s [go-tests] + gci_version_output='gci version 0.14.0'
  180. 47.09 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  181. 47.09 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  182. 47.09 s [go-tests] + readonly gci_sections
  183. 47.09 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
  184. 47.13 s [go-tests] + gci_output=
  185. 47.13 s [go-tests] + [[ -n '' ]]
  186. 47.13 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  187. 47.13 s [go-tests] + readonly GOCRITIC_PATH
  188. 47.13 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  189. 47.13 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  190. 47.13 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  191. 47.13 s [go-tests] + /build/home/go/bin/go-critic check ./...
  192. 47.86 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  193. 48.51 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  194. 48.51 s [go-tests] + readonly STATICCHECK_PATH
  195. 48.51 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  196. 48.51 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  197. 48.51 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  198. 48.51 s [go-tests] + /build/home/go/bin/staticcheck ./...
  199. 53.31 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  200. 53.34 s [go-tests] + readonly ERRCHECK_PATH
  201. 53.34 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  202. 53.34 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  203. 53.34 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  204. 53.34 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  205. 53.58 s [go-tests] buildPhase completed in 38 seconds
  206. 53.58 s [go-tests] Phase: installPhase
  207. 53.59 s [go-tests] Phase: fixupPhase
  208. 53.62 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/fl943vapms91k34xjv6mp07c4cghd7kf-go-tests-0.0.0
  209. 53.62 s [go-tests] checking for references to /build/ in /nix/store/fl943vapms91k34xjv6mp07c4cghd7kf-go-tests-0.0.0...
  210. 53.64 s [go-tests] patching script interpreter paths in /nix/store/fl943vapms91k34xjv6mp07c4cghd7kf-go-tests-0.0.0
  211. 53.95 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/fl943vapms91k34xjv6mp07c4cghd7kf-go-tests-0.0.0
  212. 54.01 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  213. 54.02 s [go-tests:post-build] copying 1 paths...
  214. 54.02 s [go-tests:post-build] copying path '/nix/store/fl943vapms91k34xjv6mp07c4cghd7kf-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  215. 54.12 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  216. 55.60 s [go-tests:post-build] copying 1 paths...
  217. 55.60 s [go-tests:post-build] copying path '/nix/store/a0zffig03j6jkivcswdid1ivfw8jrkbp-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  218. 56.08 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  219. 56.08 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  220. 56.08 s /nix/store/fl943vapms91k34xjv6mp07c4cghd7kf-go-tests-0.0.0
  221. 56.13 s Build succeeded.