build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.11 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=document-s3-incompat&rev=c5bcf9eca1d2a728bd8b9a6505f74946860c468b#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.67 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/99e3814a9739ce53e2e6c4317e891d47d4f43f18eee6f0df1787f5ba498d24d6.sqlite' is busy
  3. 1.02 s
  4. 1.02 s Downloading cached source from https://cache.nix-ci.com
  5. 10.58 s Progress: 1 of 1 downloaded from cache
  6. 12.17 s
  7. 12.18 s Downloading cached little-moments-0.0.1-go-modules from https://cache.nix-ci.com
  8. 12.18 s Downloading cached errcheck from https://cache.nix-ci.com
  9. 12.18 s Downloading cached gci from https://cache.nix-ci.com
  10. 12.18 s Downloading cached go-critic from https://cache.nix-ci.com
  11. 12.18 s Downloading cached go-tools from https://cache.nix-ci.com
  12. 12.18 s Downloading cached gcc from https://cache.nix-ci.com
  13. 12.18 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  14. 12.18 s Downloading cached libunistring from https://cache.nix-ci.com
  15. 12.35 s Progress: 0 of 8 built, 1 of 15 downloaded from cache (7 downloading)
  16. 12.45 s Progress: 0 of 8 built, 2 of 15 downloaded from cache (6 downloading)
  17. 12.51 s Progress: 0 of 7 built, 3 of 15 downloaded from cache (5 downloading)
  18. 12.53 s Progress: 0 of 6 built, 4 of 15 downloaded from cache (4 downloading)
  19. 12.57 s Progress: 0 of 5 built, 5 of 15 downloaded from cache (3 downloading)
  20. 12.57 s Downloading cached libidn2 from https://cache.nix-ci.com
  21. 12.67 s Progress: 0 of 5 built, 6 of 15 downloaded from cache (3 downloading)
  22. 12.67 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  23. 12.87 s Progress: 0 of 5 built, 7 of 15 downloaded from cache (3 downloading)
  24. 13.94 s Progress: 0 of 4 built, 8 of 15 downloaded from cache (2 downloading)
  25. 13.94 s Downloading cached zlib from https://cache.nix-ci.com
  26. 14.09 s Progress: 0 of 4 built, 9 of 15 downloaded from cache (2 downloading)
  27. 14.09 s Downloading cached sqlite from https://cache.nix-ci.com
  28. 14.09 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  29. 14.15 s Progress: 0 of 4 built, 10 of 15 downloaded from cache (3 downloading)
  30. 14.16 s Progress: 0 of 4 built, 11 of 15 downloaded from cache (2 downloading)
  31. 14.16 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  32. 14.21 s Progress: 0 of 4 built, 12 of 15 downloaded from cache (2 downloading)
  33. 14.22 s Progress: 0 of 3 built, 13 of 15 downloaded from cache (1 downloading)
  34. 14.32 s Progress: 0 of 2 built, 14 of 15 downloaded from cache
  35. 14.32 s Downloading cached gcc-wrapper from https://cache.nix-ci.com
  36. 14.32 s Progress: 0 of 2 built, 15 of 15 downloaded from cache
  37. 14.46 s Building /nix/store/sc50j7scbax426w5ia4nlrf8hn58rwgd-go-tests-0.0.0.drv
  38. 14.53 s [go-tests] Phase: unpackPhase
  39. 14.53 s [go-tests] unpacking source archive /nix/store/inla5s5vyy8kia41fzknamcq7wwp6sbn-source
  40. 14.55 s [go-tests] source root is source
  41. 14.57 s [go-tests] Phase: patchPhase
  42. 14.58 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  43. 14.61 s [go-tests] Phase: configurePhase
  44. 14.64 s [go-tests] no configure script, doing nothing
  45. 14.64 s [go-tests] Phase: buildPhase
  46. 14.66 s [go-tests] patching script interpreter paths in ./dev-scripts
  47. 14.66 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"
  48. 14.69 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. 14.71 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"
  50. 14.73 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"
  51. 14.75 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"
  52. 14.76 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"
  53. 14.78 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"
  54. 14.80 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"
  55. 14.81 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"
  56. 14.83 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. 14.86 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"
  58. 14.93 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. 14.97 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"
  60. 15.04 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"
  61. 15.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"
  62. 15.10 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"
  63. 15.12 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"
  64. 15.13 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"
  65. 15.15 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"
  66. 15.17 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"
  67. 15.18 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"
  68. 15.20 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  69. 15.35 s [go-tests] + set -o pipefail
  70. 15.35 s [go-tests] + full_test=
  71. 15.35 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  72. 15.35 s [go-tests] + go_test_flags+=("-fullpath")
  73. 15.35 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  74. 15.35 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  75. 15.35 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  76. 15.35 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  77. 15.35 s [go-tests] + [[ '' = \-\-full ]]
  78. 15.35 s [go-tests] + set -u
  79. 15.35 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  80. 15.35 s [go-tests] ++ cd ./dev-scripts
  81. 15.35 s [go-tests] ++ pwd
  82. 15.35 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  83. 15.35 s [go-tests] + readonly SCRIPT_DIR
  84. 15.35 s [go-tests] + cd /build/source/dev-scripts/..
  85. 15.35 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  86. 20.30 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  87. 26.98 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  88. 31.92 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  89. 32.99 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.056s
  90. 33.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  91. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.026s
  92. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.012s
  93. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s
  94. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  95. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.006s
  96. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.009s
  97. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.005s
  98. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.008s
  99. 33.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  100. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.006s
  101. 33.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  102. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  103. 33.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  104. 33.01 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.968s
  105. 33.01 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  106. 33.11 s [go-tests] + [[ -n '' ]]
  107. 33.11 s [go-tests] + go vet ./...
  108. 44.72 s [go-tests] + go_package_dirs=()
  109. 44.73 s [go-tests] + IFS=
  110. 44.73 s [go-tests] + read -r go_package_dir
  111. 44.73 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  112. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 44.81 s [go-tests] + IFS=
  114. 44.81 s [go-tests] + read -r go_package_dir
  115. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 44.81 s [go-tests] + IFS=
  117. 44.81 s [go-tests] + read -r go_package_dir
  118. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  119. 44.81 s [go-tests] + IFS=
  120. 44.81 s [go-tests] + read -r go_package_dir
  121. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  122. 44.81 s [go-tests] + IFS=
  123. 44.81 s [go-tests] + read -r go_package_dir
  124. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  125. 44.81 s [go-tests] + IFS=
  126. 44.81 s [go-tests] + read -r go_package_dir
  127. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  128. 44.81 s [go-tests] + IFS=
  129. 44.81 s [go-tests] + read -r go_package_dir
  130. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  131. 44.81 s [go-tests] + IFS=
  132. 44.81 s [go-tests] + read -r go_package_dir
  133. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  134. 44.81 s [go-tests] + IFS=
  135. 44.81 s [go-tests] + read -r go_package_dir
  136. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  137. 44.81 s [go-tests] + IFS=
  138. 44.81 s [go-tests] + read -r go_package_dir
  139. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  140. 44.81 s [go-tests] + IFS=
  141. 44.81 s [go-tests] + read -r go_package_dir
  142. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  143. 44.81 s [go-tests] + IFS=
  144. 44.81 s [go-tests] + read -r go_package_dir
  145. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  146. 44.81 s [go-tests] + IFS=
  147. 44.81 s [go-tests] + read -r go_package_dir
  148. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  149. 44.81 s [go-tests] + IFS=
  150. 44.81 s [go-tests] + read -r go_package_dir
  151. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  152. 44.81 s [go-tests] + IFS=
  153. 44.81 s [go-tests] + read -r go_package_dir
  154. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  155. 44.81 s [go-tests] + IFS=
  156. 44.81 s [go-tests] + read -r go_package_dir
  157. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  158. 44.81 s [go-tests] + IFS=
  159. 44.81 s [go-tests] + read -r go_package_dir
  160. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  161. 44.81 s [go-tests] + IFS=
  162. 44.81 s [go-tests] + read -r go_package_dir
  163. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  164. 44.81 s [go-tests] + IFS=
  165. 44.81 s [go-tests] + read -r go_package_dir
  166. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  167. 44.81 s [go-tests] + IFS=
  168. 44.81 s [go-tests] + read -r go_package_dir
  169. 44.81 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  170. 44.81 s [go-tests] + IFS=
  171. 44.81 s [go-tests] + read -r go_package_dir
  172. 44.81 s [go-tests] + readonly go_package_dirs
  173. 44.81 s [go-tests] ++ go env GOPATH
  174. 44.81 s [go-tests] + GCI_PATH=/build/go/bin/gci
  175. 44.81 s [go-tests] + readonly GCI_PATH
  176. 44.81 s [go-tests] + readonly GCI_VERSION=v0.14.0
  177. 44.81 s [go-tests] + GCI_VERSION=v0.14.0
  178. 44.81 s [go-tests] + [[ -f /build/go/bin/gci ]]
  179. 44.82 s [go-tests] ++ /build/go/bin/gci --version
  180. 44.82 s [go-tests] + gci_version_output='gci version 0.14.0'
  181. 44.82 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  182. 44.82 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  183. 44.82 s [go-tests] + readonly gci_sections
  184. 44.82 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
  185. 44.86 s [go-tests] + gci_output=
  186. 44.86 s [go-tests] + [[ -n '' ]]
  187. 44.87 s [go-tests] ++ go env GOPATH
  188. 44.87 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  189. 44.87 s [go-tests] + readonly GOCRITIC_PATH
  190. 44.87 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  191. 44.87 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  192. 44.87 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  193. 44.87 s [go-tests] + /build/go/bin/go-critic check ./...
  194. 45.62 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  195. 46.17 s [go-tests] ++ go env GOPATH
  196. 46.18 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  197. 46.18 s [go-tests] + readonly STATICCHECK_PATH
  198. 46.18 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  199. 46.18 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  200. 46.18 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  201. 46.18 s [go-tests] + /build/go/bin/staticcheck ./...
  202. 50.51 s [go-tests] ++ go env GOPATH
  203. 50.53 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  204. 50.53 s [go-tests] + readonly ERRCHECK_PATH
  205. 50.53 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  206. 50.53 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  207. 50.53 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  208. 50.53 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  209. 50.71 s [go-tests] buildPhase completed in 36 seconds
  210. 50.71 s [go-tests] Phase: installPhase
  211. 50.72 s [go-tests] Phase: fixupPhase
  212. 50.74 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/p4acdi73qfy42ic5bx6ips5jxyqrihc7-go-tests-0.0.0
  213. 50.74 s [go-tests] checking for references to /build/ in /nix/store/p4acdi73qfy42ic5bx6ips5jxyqrihc7-go-tests-0.0.0...
  214. 50.75 s [go-tests] patching script interpreter paths in /nix/store/p4acdi73qfy42ic5bx6ips5jxyqrihc7-go-tests-0.0.0
  215. 50.99 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/p4acdi73qfy42ic5bx6ips5jxyqrihc7-go-tests-0.0.0
  216. 51.12 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  217. 51.12 s [go-tests:post-build] copying 1 paths...
  218. 51.13 s [go-tests:post-build] copying path '/nix/store/p4acdi73qfy42ic5bx6ips5jxyqrihc7-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  219. 51.39 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  220. 51.61 s [go-tests:post-build] copying 1 paths...
  221. 51.62 s [go-tests:post-build] copying path '/nix/store/sc50j7scbax426w5ia4nlrf8hn58rwgd-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  222. 53.81 s Progress: 1 of 2 built, 15 of 15 downloaded from cache
  223. 53.81 s Progress: 2 of 2 built, 15 of 15 downloaded from cache
  224. 53.81 s /nix/store/p4acdi73qfy42ic5bx6ips5jxyqrihc7-go-tests-0.0.0
  225. 53.85 s Build succeeded.