build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.11 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=s3-env&rev=b6051428d45421875bd63331b12256eb32ceebd2#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.14 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/04982f2049f32546bfcdfb1ef46769cdac1a003df4cbcec774ae5769ceaa452d.sqlite' is busy
  3. 2.72 s
  4. 3.11 s Downloading cached iana-etc from https://cache.nix-ci.com
  5. 3.11 s Downloading cached tzdata from https://cache.nix-ci.com
  6. 3.11 s Downloading cached errcheck from https://cache.nix-ci.com
  7. 3.11 s Downloading cached go-critic from https://cache.nix-ci.com
  8. 3.11 s Downloading cached go-tools from https://cache.nix-ci.com
  9. 3.11 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  10. 3.11 s Downloading cached libunistring from https://cache.nix-ci.com
  11. 3.11 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  12. 3.11 s Downloading cached libunistring from https://cache.nix-ci.com
  13. 3.14 s Progress: 0 of 6 built, 1 of 18 downloaded from cache (8 downloading)
  14. 3.14 s Progress: 0 of 6 built, 2 of 18 downloaded from cache (7 downloading)
  15. 3.15 s Progress: 0 of 6 built, 3 of 18 downloaded from cache (6 downloading)
  16. 3.17 s Progress: 0 of 6 built, 4 of 18 downloaded from cache (5 downloading)
  17. 3.17 s Downloading cached libidn2 from https://cache.nix-ci.com
  18. 3.17 s Progress: 0 of 6 built, 5 of 18 downloaded from cache (5 downloading)
  19. 3.17 s Downloading cached libidn2 from https://cache.nix-ci.com
  20. 3.19 s Progress: 0 of 6 built, 6 of 18 downloaded from cache (5 downloading)
  21. 3.19 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  22. 3.23 s Progress: 0 of 6 built, 7 of 18 downloaded from cache (5 downloading)
  23. 3.23 s Progress: 0 of 6 built, 8 of 18 downloaded from cache (4 downloading)
  24. 3.25 s Progress: 0 of 5 built, 9 of 18 downloaded from cache (3 downloading)
  25. 3.34 s Progress: 0 of 4 built, 10 of 18 downloaded from cache (2 downloading)
  26. 3.34 s Downloading cached glibc-2.42 from https://cache.nix-ci.com
  27. 5.37 s Progress: 0 of 4 built, 11 of 18 downloaded from cache (2 downloading)
  28. 5.43 s Downloading cached zlib from https://cache.nix-ci.com
  29. 5.43 s Progress: 0 of 4 built, 12 of 18 downloaded from cache (2 downloading)
  30. 5.43 s Downloading cached sqlite from https://cache.nix-ci.com
  31. 5.43 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  32. 5.44 s Progress: 0 of 4 built, 13 of 18 downloaded from cache (3 downloading)
  33. 5.44 s Progress: 0 of 4 built, 14 of 18 downloaded from cache (2 downloading)
  34. 5.44 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  35. 5.46 s Progress: 0 of 4 built, 15 of 18 downloaded from cache (2 downloading)
  36. 5.46 s Progress: 0 of 3 built, 16 of 18 downloaded from cache (1 downloading)
  37. 5.47 s Progress: 0 of 2 built, 17 of 18 downloaded from cache
  38. 5.47 s Downloading cached gci from https://cache.nix-ci.com
  39. 5.65 s Progress: 0 of 2 built, 18 of 18 downloaded from cache
  40. 5.88 s Building go-tests
  41. 5.98 s [go-tests] Phase: unpackPhase
  42. 5.99 s [go-tests] unpacking source archive /nix/store/ijfg3489w3w184cmlmywkc2hci6qmw52-source
  43. 6.03 s [go-tests] source root is source
  44. 6.11 s [go-tests] Phase: patchPhase
  45. 6.12 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  46. 6.14 s [go-tests] Phase: configurePhase
  47. 6.16 s [go-tests] no configure script, doing nothing
  48. 6.16 s [go-tests] Phase: buildPhase
  49. 6.17 s [go-tests] patching script interpreter paths in ./dev-scripts
  50. 6.18 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"
  51. 6.20 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. 6.23 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"
  53. 6.25 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"
  54. 6.27 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. 6.29 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"
  56. 6.31 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"
  57. 6.33 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. 6.35 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"
  59. 6.37 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"
  60. 6.40 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"
  61. 6.42 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"
  62. 6.44 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"
  63. 6.47 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"
  64. 6.49 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"
  65. 6.51 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"
  66. 6.53 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"
  67. 6.55 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"
  68. 6.58 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"
  69. 6.64 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"
  70. 6.69 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  71. 6.71 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"
  72. 7.16 s [go-tests] + set -o pipefail
  73. 7.16 s [go-tests] + full_test=
  74. 7.16 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  75. 7.16 s [go-tests] + go_test_flags+=("-fullpath")
  76. 7.16 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  77. 7.16 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  78. 7.16 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  79. 7.16 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  80. 7.16 s [go-tests] + [[ '' = \-\-full ]]
  81. 7.16 s [go-tests] + set -u
  82. 7.16 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  83. 7.16 s [go-tests] ++ cd ./dev-scripts
  84. 7.16 s [go-tests] ++ pwd
  85. 7.16 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  86. 7.16 s [go-tests] + readonly SCRIPT_DIR
  87. 7.16 s [go-tests] + cd /build/source/dev-scripts/..
  88. 7.16 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  89. 11.47 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  90. 15.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  91. 19.49 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  92. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.847s
  93. 20.35 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  94. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  95. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.004s
  96. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.003s
  97. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  98. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.003s
  99. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.003s
  100. 20.35 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  101. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.003s
  102. 20.35 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  103. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.003s
  104. 20.35 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  105. 20.35 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.779s
  106. 20.35 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  107. 20.45 s [go-tests] + [[ -n '' ]]
  108. 20.45 s [go-tests] + go vet ./...
  109. 29.95 s [go-tests] + go_package_dirs=()
  110. 29.96 s [go-tests] + IFS=
  111. 29.96 s [go-tests] + read -r go_package_dir
  112. 29.96 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  113. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 30.05 s [go-tests] + IFS=
  115. 30.05 s [go-tests] + read -r go_package_dir
  116. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 30.05 s [go-tests] + IFS=
  118. 30.05 s [go-tests] + read -r go_package_dir
  119. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 30.05 s [go-tests] + IFS=
  121. 30.05 s [go-tests] + read -r go_package_dir
  122. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 30.05 s [go-tests] + IFS=
  124. 30.05 s [go-tests] + read -r go_package_dir
  125. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 30.05 s [go-tests] + IFS=
  127. 30.05 s [go-tests] + read -r go_package_dir
  128. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 30.05 s [go-tests] + IFS=
  130. 30.05 s [go-tests] + read -r go_package_dir
  131. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 30.05 s [go-tests] + IFS=
  133. 30.05 s [go-tests] + read -r go_package_dir
  134. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 30.05 s [go-tests] + IFS=
  136. 30.05 s [go-tests] + read -r go_package_dir
  137. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 30.05 s [go-tests] + IFS=
  139. 30.05 s [go-tests] + read -r go_package_dir
  140. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 30.05 s [go-tests] + IFS=
  142. 30.05 s [go-tests] + read -r go_package_dir
  143. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 30.05 s [go-tests] + IFS=
  145. 30.05 s [go-tests] + read -r go_package_dir
  146. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 30.05 s [go-tests] + IFS=
  148. 30.05 s [go-tests] + read -r go_package_dir
  149. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 30.05 s [go-tests] + IFS=
  151. 30.05 s [go-tests] + read -r go_package_dir
  152. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 30.05 s [go-tests] + IFS=
  154. 30.05 s [go-tests] + read -r go_package_dir
  155. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 30.05 s [go-tests] + IFS=
  157. 30.05 s [go-tests] + read -r go_package_dir
  158. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 30.05 s [go-tests] + IFS=
  160. 30.05 s [go-tests] + read -r go_package_dir
  161. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 30.05 s [go-tests] + IFS=
  163. 30.05 s [go-tests] + read -r go_package_dir
  164. 30.05 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 30.05 s [go-tests] + IFS=
  166. 30.05 s [go-tests] + read -r go_package_dir
  167. 30.05 s [go-tests] + readonly go_package_dirs
  168. 30.05 s [go-tests] ++ go env GOPATH
  169. 30.06 s [go-tests] + GCI_PATH=/build/go/bin/gci
  170. 30.06 s [go-tests] + readonly GCI_PATH
  171. 30.06 s [go-tests] + readonly GCI_VERSION=v0.14.0
  172. 30.06 s [go-tests] + GCI_VERSION=v0.14.0
  173. 30.06 s [go-tests] + [[ -f /build/go/bin/gci ]]
  174. 30.06 s [go-tests] ++ /build/go/bin/gci --version
  175. 30.07 s [go-tests] + gci_version_output='gci version 0.14.0'
  176. 30.07 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  177. 30.07 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  178. 30.07 s [go-tests] + readonly gci_sections
  179. 30.07 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
  180. 30.10 s [go-tests] + gci_output=
  181. 30.10 s [go-tests] + [[ -n '' ]]
  182. 30.10 s [go-tests] ++ go env GOPATH
  183. 30.11 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  184. 30.11 s [go-tests] + readonly GOCRITIC_PATH
  185. 30.11 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  186. 30.11 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  187. 30.11 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  188. 30.11 s [go-tests] + /build/go/bin/go-critic check ./...
  189. 31.10 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  190. 31.75 s [go-tests] ++ go env GOPATH
  191. 31.75 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  192. 31.75 s [go-tests] + readonly STATICCHECK_PATH
  193. 31.75 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  194. 31.75 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  195. 31.75 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  196. 31.75 s [go-tests] + /build/go/bin/staticcheck ./...
  197. 35.86 s [go-tests] ++ go env GOPATH
  198. 35.88 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  199. 35.88 s [go-tests] + readonly ERRCHECK_PATH
  200. 35.88 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  201. 35.88 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  202. 35.88 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  203. 35.88 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  204. 36.06 s [go-tests] buildPhase completed in 30 seconds
  205. 36.06 s [go-tests] Phase: installPhase
  206. 36.07 s [go-tests] Phase: fixupPhase
  207. 36.09 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/r229fpw7m8gfgmjayxmvbrar1s7npncv-go-tests-0.0.0
  208. 36.09 s [go-tests] checking for references to /build/ in /nix/store/r229fpw7m8gfgmjayxmvbrar1s7npncv-go-tests-0.0.0...
  209. 36.10 s [go-tests] patching script interpreter paths in /nix/store/r229fpw7m8gfgmjayxmvbrar1s7npncv-go-tests-0.0.0
  210. 36.13 s [post-build-hook] Uploading to the NixCI cache: /nix/store/r229fpw7m8gfgmjayxmvbrar1s7npncv-go-tests-0.0.0
  211. 36.19 s [post-build-hook] copying 1 paths...
  212. 36.19 s [post-build-hook] copying path '/nix/store/r229fpw7m8gfgmjayxmvbrar1s7npncv-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  213. 37.60 s [post-build-hook] copying 1 paths...
  214. 37.60 s [post-build-hook] copying path '/nix/store/r1527y3zdiz5xq38xpcfj8kjaln63zxs-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  215. 38.30 s Progress: 1 of 2 built, 18 of 18 downloaded from cache