build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.50 s $ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/86n4l5yri6hys3zk2mwy2azcv9prqb8j-nix-2.31.4/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=not-real-email&rev=746a706ebbcdc699a777618020bbf8e21f3bea3a#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.54 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/e704cf59a86eb38b07cd278486817a5faf286e6f85f8da50c9a23f5818a46082.sqlite' is busy
  3. 0.54 s
  4. 0.54 s Downloading cached source from https://cache.nix-ci.com
  5. 6.20 s Progress: 1 of 1 downloaded from cache
  6. 20.89 s Progress: 0 of 1 downloaded from cache
  7. 20.92 s Downloading cached source from https://cache.nix-ci.com
  8. 31.17 s Progress: 1 of 1 downloaded from cache
  9. 45.93 s Progress: 0 of 1 downloaded from cache
  10. 45.98 s Downloading cached source from https://cache.nix-ci.com
  11. 56.28 s Progress: 1 of 1 downloaded from cache
  12. 69.15 s
  13. 69.15 s Downloading cached errcheck from https://cache.nix-ci.com
  14. 69.24 s Downloading cached gci from https://cache.nix-ci.com
  15. 69.24 s Downloading cached go-critic from https://cache.nix-ci.com
  16. 69.24 s Downloading cached go-tools from https://cache.nix-ci.com
  17. 69.24 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  18. 69.24 s Downloading cached libunistring from https://cache.nix-ci.com
  19. 69.32 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  20. 69.40 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  21. 69.40 s Downloading cached libidn2 from https://cache.nix-ci.com
  22. 69.43 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  23. 69.45 s Progress: 0 of 5 built, 4 of 12 downloaded from cache (3 downloading)
  24. 69.45 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  25. 69.45 s Progress: 0 of 5 built, 5 of 12 downloaded from cache (3 downloading)
  26. 69.52 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  27. 69.78 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  28. 69.83 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  29. 69.83 s Downloading cached zlib from https://cache.nix-ci.com
  30. 69.97 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  31. 69.97 s Downloading cached sqlite from https://cache.nix-ci.com
  32. 69.97 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  33. 70.14 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  34. 70.18 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  35. 70.18 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  36. 70.32 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  37. 70.43 s Building go-tests
  38. 70.49 s [go-tests] Phase: unpackPhase
  39. 70.49 s [go-tests] unpacking source archive /nix/store/iyjz2mfmjs6shqlh9ln93lwp5x1882hh-source
  40. 70.51 s [go-tests] source root is source
  41. 70.53 s [go-tests] Phase: patchPhase
  42. 70.54 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  43. 70.55 s [go-tests] Phase: configurePhase
  44. 70.57 s [go-tests] no configure script, doing nothing
  45. 70.57 s [go-tests] Phase: buildPhase
  46. 70.58 s [go-tests] patching script interpreter paths in ./dev-scripts
  47. 70.58 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"
  48. 70.60 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"
  49. 70.62 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"
  50. 70.63 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"
  51. 70.65 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"
  52. 70.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"
  53. 70.68 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"
  54. 70.70 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"
  55. 70.72 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  56. 70.73 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"
  57. 70.75 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. 70.77 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"
  59. 70.78 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"
  60. 70.80 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"
  61. 70.82 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"
  62. 70.84 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"
  63. 70.85 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"
  64. 70.87 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"
  65. 70.89 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"
  66. 70.90 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"
  67. 70.92 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"
  68. 70.94 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"
  69. 71.09 s [go-tests] + set -o pipefail
  70. 71.09 s [go-tests] + full_test=
  71. 71.09 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  72. 71.09 s [go-tests] + go_test_flags+=("-fullpath")
  73. 71.09 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  74. 71.09 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  75. 71.09 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  76. 71.09 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  77. 71.09 s [go-tests] + [[ '' = \-\-full ]]
  78. 71.09 s [go-tests] + set -u
  79. 71.09 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  80. 71.09 s [go-tests] ++ cd ./dev-scripts
  81. 71.09 s [go-tests] ++ pwd
  82. 71.09 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  83. 71.09 s [go-tests] + readonly SCRIPT_DIR
  84. 71.09 s [go-tests] + cd /build/source/dev-scripts/..
  85. 71.09 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  86. 74.30 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  87. 77.66 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  88. 81.72 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  89. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.773s
  90. 82.50 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  91. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  92. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.004s
  93. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  94. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  95. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.003s
  96. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.003s
  97. 82.50 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  98. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  99. 82.50 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  100. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.003s
  101. 82.50 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  102. 82.50 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.717s
  103. 82.50 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  104. 82.59 s [go-tests] + [[ -n '' ]]
  105. 82.59 s [go-tests] + go vet ./...
  106. 90.42 s [go-tests] + go_package_dirs=()
  107. 90.45 s [go-tests] + IFS=
  108. 90.45 s [go-tests] + read -r go_package_dir
  109. 90.45 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  110. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 90.49 s [go-tests] + IFS=
  112. 90.49 s [go-tests] + read -r go_package_dir
  113. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 90.49 s [go-tests] + IFS=
  115. 90.49 s [go-tests] + read -r go_package_dir
  116. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 90.49 s [go-tests] + IFS=
  118. 90.49 s [go-tests] + read -r go_package_dir
  119. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 90.49 s [go-tests] + IFS=
  121. 90.49 s [go-tests] + read -r go_package_dir
  122. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 90.49 s [go-tests] + IFS=
  124. 90.49 s [go-tests] + read -r go_package_dir
  125. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 90.49 s [go-tests] + IFS=
  127. 90.49 s [go-tests] + read -r go_package_dir
  128. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 90.49 s [go-tests] + IFS=
  130. 90.49 s [go-tests] + read -r go_package_dir
  131. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 90.49 s [go-tests] + IFS=
  133. 90.49 s [go-tests] + read -r go_package_dir
  134. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 90.49 s [go-tests] + IFS=
  136. 90.49 s [go-tests] + read -r go_package_dir
  137. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 90.49 s [go-tests] + IFS=
  139. 90.49 s [go-tests] + read -r go_package_dir
  140. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 90.49 s [go-tests] + IFS=
  142. 90.49 s [go-tests] + read -r go_package_dir
  143. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 90.49 s [go-tests] + IFS=
  145. 90.49 s [go-tests] + read -r go_package_dir
  146. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 90.49 s [go-tests] + IFS=
  148. 90.49 s [go-tests] + read -r go_package_dir
  149. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 90.49 s [go-tests] + IFS=
  151. 90.49 s [go-tests] + read -r go_package_dir
  152. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 90.49 s [go-tests] + IFS=
  154. 90.49 s [go-tests] + read -r go_package_dir
  155. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 90.49 s [go-tests] + IFS=
  157. 90.49 s [go-tests] + read -r go_package_dir
  158. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 90.49 s [go-tests] + IFS=
  160. 90.49 s [go-tests] + read -r go_package_dir
  161. 90.49 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 90.49 s [go-tests] + IFS=
  163. 90.49 s [go-tests] + read -r go_package_dir
  164. 90.49 s [go-tests] + readonly go_package_dirs
  165. 90.49 s [go-tests] ++ go env GOPATH
  166. 90.50 s [go-tests] + GCI_PATH=/build/go/bin/gci
  167. 90.50 s [go-tests] + readonly GCI_PATH
  168. 90.50 s [go-tests] + readonly GCI_VERSION=v0.14.0
  169. 90.50 s [go-tests] + GCI_VERSION=v0.14.0
  170. 90.50 s [go-tests] + [[ -f /build/go/bin/gci ]]
  171. 90.50 s [go-tests] ++ /build/go/bin/gci --version
  172. 90.50 s [go-tests] + gci_version_output='gci version 0.14.0'
  173. 90.50 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  174. 90.50 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  175. 90.50 s [go-tests] + readonly gci_sections
  176. 90.50 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/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite
  177. 90.53 s [go-tests] + gci_output=
  178. 90.53 s [go-tests] + [[ -n '' ]]
  179. 90.53 s [go-tests] ++ go env GOPATH
  180. 90.54 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  181. 90.54 s [go-tests] + readonly GOCRITIC_PATH
  182. 90.54 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  183. 90.54 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  184. 90.54 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  185. 90.54 s [go-tests] + /build/go/bin/go-critic check ./...
  186. 91.24 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  187. 91.76 s [go-tests] ++ go env GOPATH
  188. 91.76 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  189. 91.76 s [go-tests] + readonly STATICCHECK_PATH
  190. 91.76 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  191. 91.76 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  192. 91.76 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  193. 91.76 s [go-tests] + /build/go/bin/staticcheck ./...
  194. 95.40 s [go-tests] ++ go env GOPATH
  195. 95.40 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  196. 95.40 s [go-tests] + readonly ERRCHECK_PATH
  197. 95.40 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  198. 95.40 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  199. 95.40 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  200. 95.40 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  201. 95.58 s [go-tests] Phase: installPhase
  202. 95.62 s [go-tests] Phase: fixupPhase
  203. 95.62 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/wsn803lq8nfjawqvsgdx6m2w0ps4nqrx-go-tests-0.0.0
  204. 95.62 s [go-tests] checking for references to /build/ in /nix/store/wsn803lq8nfjawqvsgdx6m2w0ps4nqrx-go-tests-0.0.0...
  205. 95.62 s [go-tests] patching script interpreter paths in /nix/store/wsn803lq8nfjawqvsgdx6m2w0ps4nqrx-go-tests-0.0.0
  206. 95.65 s [post-build-hook] Uploading to the NixCI cache: /nix/store/wsn803lq8nfjawqvsgdx6m2w0ps4nqrx-go-tests-0.0.0
  207. 95.70 s [post-build-hook] copying 1 paths...
  208. 95.70 s [post-build-hook] copying path '/nix/store/wsn803lq8nfjawqvsgdx6m2w0ps4nqrx-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  209. 96.40 s [post-build-hook] copying 1 paths...
  210. 96.40 s [post-build-hook] copying path '/nix/store/svfb6acnnwis3sk6kzym8z94zjjfivyc-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  211. 96.86 s Progress: 1 of 2 built, 12 of 12 downloaded from cache