build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.15 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=build-bin&rev=3c543626cc5ffea5a58d53f0396c6f33b5f81f0a#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.61 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/d618eecbc9889da489258be7dbe149c852b0edb361c1d9e42fac28cf3d0aa41e.sqlite' is busy
  3. 1.12 s
  4. 1.37 s Downloading cached source from https://cache.nix-ci.com
  5. 11.09 s Progress: 1 of 1 downloaded from cache
  6. 26.54 s
  7. 26.55 s Downloading cached errcheck from https://cache.nix-ci.com
  8. 26.59 s Downloading cached gci from https://cache.nix-ci.com
  9. 26.59 s Downloading cached go-critic from https://cache.nix-ci.com
  10. 26.59 s Downloading cached go-tools from https://cache.nix-ci.com
  11. 26.59 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  12. 26.59 s Downloading cached libunistring from https://cache.nix-ci.com
  13. 26.78 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  14. 26.81 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  15. 26.81 s Downloading cached libidn2 from https://cache.nix-ci.com
  16. 26.86 s Progress: 0 of 6 built, 3 of 12 downloaded from cache (4 downloading)
  17. 26.87 s Progress: 0 of 5 built, 4 of 12 downloaded from cache (3 downloading)
  18. 26.91 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  19. 26.91 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  20. 27.07 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  21. 27.40 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  22. 27.42 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  23. 27.42 s Downloading cached zlib from https://cache.nix-ci.com
  24. 27.47 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  25. 27.47 s Downloading cached sqlite from https://cache.nix-ci.com
  26. 27.47 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  27. 27.60 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  28. 27.60 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  29. 27.60 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  30. 27.65 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  31. 27.88 s Building go-tests
  32. 27.97 s [go-tests] Phase: unpackPhase
  33. 27.97 s [go-tests] unpacking source archive /nix/store/7p6qrcxikhiil0r3kdh7kp322sqgrpl9-source
  34. 28.00 s [go-tests] source root is source
  35. 28.03 s [go-tests] Phase: patchPhase
  36. 28.05 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  37. 28.07 s [go-tests] Phase: configurePhase
  38. 28.14 s [go-tests] no configure script, doing nothing
  39. 28.19 s [go-tests] Phase: buildPhase
  40. 28.21 s [go-tests] patching script interpreter paths in ./dev-scripts
  41. 28.21 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  42. 28.24 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"
  43. 28.29 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"
  44. 28.33 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"
  45. 28.49 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"
  46. 28.55 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"
  47. 28.71 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"
  48. 28.84 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"
  49. 29.01 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. 29.10 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"
  51. 29.13 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. 29.22 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"
  53. 29.26 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. 29.28 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"
  55. 29.32 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"
  56. 29.34 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"
  57. 29.37 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"
  58. 29.40 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"
  59. 29.45 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"
  60. 29.48 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. 29.50 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"
  62. 29.52 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"
  63. 29.69 s [go-tests] + set -o pipefail
  64. 29.69 s [go-tests] + full_test=
  65. 29.69 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  66. 29.69 s [go-tests] + go_test_flags+=("-fullpath")
  67. 29.69 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  68. 29.69 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  69. 29.69 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  70. 29.69 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  71. 29.69 s [go-tests] + [[ '' = \-\-full ]]
  72. 29.69 s [go-tests] + set -u
  73. 29.69 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  74. 29.70 s [go-tests] ++ cd ./dev-scripts
  75. 29.70 s [go-tests] ++ pwd
  76. 29.70 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  77. 29.70 s [go-tests] + readonly SCRIPT_DIR
  78. 29.70 s [go-tests] + cd /build/source/dev-scripts/..
  79. 29.70 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  80. 34.45 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  81. 40.62 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  82. 44.49 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  83. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.835s
  84. 45.33 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  85. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.016s
  86. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  87. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  88. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  89. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.003s
  90. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.003s
  91. 45.33 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  92. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.006s
  93. 45.33 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  94. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.003s
  95. 45.33 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  96. 45.33 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.798s
  97. 45.33 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  98. 45.43 s [go-tests] + [[ -n '' ]]
  99. 45.43 s [go-tests] + go vet ./...
  100. 53.91 s [go-tests] + go_package_dirs=()
  101. 53.94 s [go-tests] + IFS=
  102. 53.94 s [go-tests] + read -r go_package_dir
  103. 53.94 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  104. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  105. 53.97 s [go-tests] + IFS=
  106. 53.97 s [go-tests] + read -r go_package_dir
  107. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 53.97 s [go-tests] + IFS=
  109. 53.97 s [go-tests] + read -r go_package_dir
  110. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 53.97 s [go-tests] + IFS=
  112. 53.97 s [go-tests] + read -r go_package_dir
  113. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 53.97 s [go-tests] + IFS=
  115. 53.97 s [go-tests] + read -r go_package_dir
  116. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 53.97 s [go-tests] + IFS=
  118. 53.97 s [go-tests] + read -r go_package_dir
  119. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 53.97 s [go-tests] + IFS=
  121. 53.97 s [go-tests] + read -r go_package_dir
  122. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 53.97 s [go-tests] + IFS=
  124. 53.97 s [go-tests] + read -r go_package_dir
  125. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 53.97 s [go-tests] + IFS=
  127. 53.97 s [go-tests] + read -r go_package_dir
  128. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 53.97 s [go-tests] + IFS=
  130. 53.97 s [go-tests] + read -r go_package_dir
  131. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 53.97 s [go-tests] + IFS=
  133. 53.97 s [go-tests] + read -r go_package_dir
  134. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 53.97 s [go-tests] + IFS=
  136. 53.97 s [go-tests] + read -r go_package_dir
  137. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 53.97 s [go-tests] + IFS=
  139. 53.97 s [go-tests] + read -r go_package_dir
  140. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 53.97 s [go-tests] + IFS=
  142. 53.97 s [go-tests] + read -r go_package_dir
  143. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 53.97 s [go-tests] + IFS=
  145. 53.97 s [go-tests] + read -r go_package_dir
  146. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 53.97 s [go-tests] + IFS=
  148. 53.97 s [go-tests] + read -r go_package_dir
  149. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 53.97 s [go-tests] + IFS=
  151. 53.97 s [go-tests] + read -r go_package_dir
  152. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 53.97 s [go-tests] + IFS=
  154. 53.97 s [go-tests] + read -r go_package_dir
  155. 53.97 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 53.97 s [go-tests] + IFS=
  157. 53.97 s [go-tests] + read -r go_package_dir
  158. 53.97 s [go-tests] + readonly go_package_dirs
  159. 53.97 s [go-tests] ++ go env GOPATH
  160. 53.98 s [go-tests] + GCI_PATH=/build/go/bin/gci
  161. 53.98 s [go-tests] + readonly GCI_PATH
  162. 53.98 s [go-tests] + readonly GCI_VERSION=v0.14.0
  163. 53.98 s [go-tests] + GCI_VERSION=v0.14.0
  164. 53.98 s [go-tests] + [[ -f /build/go/bin/gci ]]
  165. 53.98 s [go-tests] ++ /build/go/bin/gci --version
  166. 53.98 s [go-tests] + gci_version_output='gci version 0.14.0'
  167. 53.98 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  168. 53.98 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  169. 53.98 s [go-tests] + readonly gci_sections
  170. 53.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/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite
  171. 54.01 s [go-tests] + gci_output=
  172. 54.01 s [go-tests] + [[ -n '' ]]
  173. 54.01 s [go-tests] ++ go env GOPATH
  174. 54.02 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  175. 54.02 s [go-tests] + readonly GOCRITIC_PATH
  176. 54.02 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  177. 54.02 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  178. 54.02 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  179. 54.02 s [go-tests] + /build/go/bin/go-critic check ./...
  180. 54.74 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  181. 55.44 s [go-tests] ++ go env GOPATH
  182. 55.44 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  183. 55.44 s [go-tests] + readonly STATICCHECK_PATH
  184. 55.44 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  185. 55.44 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  186. 55.44 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  187. 55.44 s [go-tests] + /build/go/bin/staticcheck ./...
  188. 59.42 s [go-tests] ++ go env GOPATH
  189. 59.47 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  190. 59.47 s [go-tests] + readonly ERRCHECK_PATH
  191. 59.47 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  192. 59.47 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  193. 59.47 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  194. 59.47 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  195. 59.64 s [go-tests] buildPhase completed in 32 seconds
  196. 59.64 s [go-tests] Phase: installPhase
  197. 59.65 s [go-tests] Phase: fixupPhase
  198. 59.67 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/z7ivlla1hx64k6k1bkk9vv98v1mwn9bm-go-tests-0.0.0
  199. 59.67 s [go-tests] checking for references to /build/ in /nix/store/z7ivlla1hx64k6k1bkk9vv98v1mwn9bm-go-tests-0.0.0...
  200. 59.68 s [go-tests] patching script interpreter paths in /nix/store/z7ivlla1hx64k6k1bkk9vv98v1mwn9bm-go-tests-0.0.0
  201. 59.72 s [post-build-hook] Uploading to the NixCI cache: /nix/store/z7ivlla1hx64k6k1bkk9vv98v1mwn9bm-go-tests-0.0.0
  202. 59.76 s [post-build-hook] copying 1 paths...
  203. 59.76 s [post-build-hook] copying path '/nix/store/z7ivlla1hx64k6k1bkk9vv98v1mwn9bm-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  204. 60.32 s [post-build-hook] copying 1 paths...
  205. 60.32 s [post-build-hook] copying path '/nix/store/ja803886i23k2lqb36sdc7cqwqbq6nfr-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  206. 60.77 s Progress: 1 of 2 built, 12 of 12 downloaded from cache