build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.08 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=refactor%2Ftyped-startup-config&rev=726bc970b4c6459cd453bf4c28d412d055d02ed1&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.46 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/2a40e2c9a6b63a8a6d16d83902e65dbe340941b637e8b43998531ad38cc20538.sqlite' is busy
  3. 1.22 s
  4. 1.28 s Downloading cached source from https://cache.nix-ci.com
  5. 9.25 s Downloaded cached source (194.4 MiB) in 7.9s
  6. 9.26 s Progress: 1 of 1 downloaded from cache
  7. 10.79 s
  8. 10.79 s Downloading cached gci from https://cache.nix-ci.com
  9. 10.79 s Downloading cached errcheck from https://cache.nix-ci.com
  10. 10.79 s Downloading cached go-critic from https://cache.nix-ci.com
  11. 10.79 s Downloading cached go-tools from https://cache.nix-ci.com
  12. 10.88 s Downloaded cached errcheck (5.2 MiB) in 92ms
  13. 10.88 s Progress: 0 of 5 built, 1 of 4 downloaded from cache (3 downloading)
  14. 10.90 s Downloaded cached go-critic (9.3 MiB) in 111ms
  15. 10.90 s Progress: 0 of 4 built, 2 of 4 downloaded from cache (2 downloading)
  16. 10.95 s Downloaded cached gci (14.3 MiB) in 155ms
  17. 10.95 s Progress: 0 of 3 built, 3 of 4 downloaded from cache (1 downloading)
  18. 11.20 s Downloaded cached go-tools (45.4 MiB) in 404ms
  19. 11.20 s Progress: 0 of 2 built, 4 of 4 downloaded from cache
  20. 11.29 s Building /nix/store/s9xlzc8ccxkfqks0lfrihgb9zmgaixry-go-tests-0.0.0.drv
  21. 11.35 s [go-tests] Phase: unpackPhase
  22. 11.35 s [go-tests] unpacking source archive /nix/store/w67pnnf5mq76zig1m0bpfaws8wqri8l6-source
  23. 11.38 s [go-tests] source root is source
  24. 11.39 s [go-tests] Phase: patchPhase
  25. 11.40 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  26. 11.41 s [go-tests] Phase: configurePhase
  27. 11.43 s [go-tests] no configure script, doing nothing
  28. 11.43 s [go-tests] Phase: buildPhase
  29. 11.44 s [go-tests] patching script interpreter paths in ./dev-scripts
  30. 11.45 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"
  31. 11.46 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"
  32. 11.48 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  33. 11.50 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  34. 11.51 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"
  35. 11.53 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  36. 11.56 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"
  37. 11.58 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"
  38. 11.61 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"
  39. 11.63 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  40. 11.66 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"
  41. 11.68 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"
  42. 11.70 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"
  43. 11.72 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"
  44. 11.74 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"
  45. 11.76 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. 11.77 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"
  47. 11.80 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"
  48. 11.82 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. 11.84 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. 11.85 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"
  51. 11.87 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"
  52. 12.01 s [go-tests] + set -o pipefail
  53. 12.01 s [go-tests] + full_test=
  54. 12.01 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  55. 12.01 s [go-tests] + go_test_flags+=("-fullpath")
  56. 12.01 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  57. 12.01 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  58. 12.01 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  59. 12.01 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  60. 12.01 s [go-tests] + case "${1:-}" in
  61. 12.01 s [go-tests] + [[ 0 -gt 1 ]]
  62. 12.01 s [go-tests] + set -u
  63. 12.01 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  64. 12.02 s [go-tests] ++ cd ./dev-scripts
  65. 12.02 s [go-tests] ++ pwd
  66. 12.02 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  67. 12.02 s [go-tests] + readonly SCRIPT_DIR
  68. 12.02 s [go-tests] + cd /build/source/dev-scripts/..
  69. 12.02 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  70. 15.74 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  71. 32.08 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  72. 32.10 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  73. 32.10 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  74. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.919s
  75. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.059s
  76. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.029s
  77. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 1.607s
  78. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.012s
  79. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.018s
  80. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.010s
  81. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.010s
  82. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.045s
  83. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.009s
  84. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.010s
  85. 34.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  86. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.032s
  87. 34.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  88. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.031s
  89. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/startupconfig 0.066s
  90. 34.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  91. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.431s
  92. 34.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  93. 34.02 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.017s
  94. 34.17 s [go-tests] + [[ -n '' ]]
  95. 34.17 s [go-tests] + go vet ./...
  96. 48.24 s [go-tests] + go_package_dirs=()
  97. 48.25 s [go-tests] + IFS=
  98. 48.25 s [go-tests] + read -r go_package_dir
  99. 48.25 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  100. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  101. 48.36 s [go-tests] + IFS=
  102. 48.36 s [go-tests] + read -r go_package_dir
  103. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  104. 48.36 s [go-tests] + IFS=
  105. 48.36 s [go-tests] + read -r go_package_dir
  106. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  107. 48.36 s [go-tests] + IFS=
  108. 48.36 s [go-tests] + read -r go_package_dir
  109. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  110. 48.36 s [go-tests] + IFS=
  111. 48.36 s [go-tests] + read -r go_package_dir
  112. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 48.36 s [go-tests] + IFS=
  114. 48.36 s [go-tests] + read -r go_package_dir
  115. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 48.36 s [go-tests] + IFS=
  117. 48.36 s [go-tests] + read -r go_package_dir
  118. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  119. 48.36 s [go-tests] + IFS=
  120. 48.36 s [go-tests] + read -r go_package_dir
  121. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  122. 48.36 s [go-tests] + IFS=
  123. 48.36 s [go-tests] + read -r go_package_dir
  124. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  125. 48.36 s [go-tests] + IFS=
  126. 48.36 s [go-tests] + read -r go_package_dir
  127. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  128. 48.36 s [go-tests] + IFS=
  129. 48.36 s [go-tests] + read -r go_package_dir
  130. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  131. 48.36 s [go-tests] + IFS=
  132. 48.36 s [go-tests] + read -r go_package_dir
  133. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  134. 48.36 s [go-tests] + IFS=
  135. 48.36 s [go-tests] + read -r go_package_dir
  136. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  137. 48.36 s [go-tests] + IFS=
  138. 48.36 s [go-tests] + read -r go_package_dir
  139. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  140. 48.36 s [go-tests] + IFS=
  141. 48.36 s [go-tests] + read -r go_package_dir
  142. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  143. 48.36 s [go-tests] + IFS=
  144. 48.36 s [go-tests] + read -r go_package_dir
  145. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  146. 48.36 s [go-tests] + IFS=
  147. 48.36 s [go-tests] + read -r go_package_dir
  148. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  149. 48.36 s [go-tests] + IFS=
  150. 48.36 s [go-tests] + read -r go_package_dir
  151. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  152. 48.36 s [go-tests] + IFS=
  153. 48.36 s [go-tests] + read -r go_package_dir
  154. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  155. 48.36 s [go-tests] + IFS=
  156. 48.36 s [go-tests] + read -r go_package_dir
  157. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  158. 48.36 s [go-tests] + IFS=
  159. 48.36 s [go-tests] + read -r go_package_dir
  160. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  161. 48.36 s [go-tests] + IFS=
  162. 48.36 s [go-tests] + read -r go_package_dir
  163. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  164. 48.36 s [go-tests] + IFS=
  165. 48.36 s [go-tests] + read -r go_package_dir
  166. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  167. 48.36 s [go-tests] + IFS=
  168. 48.36 s [go-tests] + read -r go_package_dir
  169. 48.36 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  170. 48.36 s [go-tests] + IFS=
  171. 48.36 s [go-tests] + read -r go_package_dir
  172. 48.36 s [go-tests] + readonly go_package_dirs
  173. 48.36 s [go-tests] ++ go env GOBIN
  174. 48.36 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  175. 48.36 s [go-tests] + readonly GCI_PATH
  176. 48.36 s [go-tests] + readonly GCI_VERSION=v0.14.0
  177. 48.36 s [go-tests] + GCI_VERSION=v0.14.0
  178. 48.36 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  179. 48.36 s [go-tests] ++ /build/home/go/bin/gci --version
  180. 48.37 s [go-tests] + gci_version_output='gci version 0.14.0'
  181. 48.37 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  182. 48.37 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  183. 48.37 s [go-tests] + readonly gci_sections
  184. 48.37 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/convert /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/mediastore /build/source/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/startupconfig /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite /build/source/uploads
  185. 48.51 s [go-tests] + gci_output=
  186. 48.51 s [go-tests] + [[ -n '' ]]
  187. 48.51 s [go-tests] ++ go env GOBIN
  188. 48.52 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  189. 48.52 s [go-tests] + readonly GOCRITIC_PATH
  190. 48.52 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  191. 48.52 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  192. 48.52 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  193. 48.52 s [go-tests] + /build/home/go/bin/go-critic check ./...
  194. 49.74 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  195. 50.71 s [go-tests] ++ go env GOBIN
  196. 50.72 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  197. 50.72 s [go-tests] + readonly STATICCHECK_PATH
  198. 50.72 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  199. 50.72 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  200. 50.72 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  201. 50.72 s [go-tests] + /build/home/go/bin/staticcheck ./...
  202. 57.39 s [go-tests] ++ go env GOBIN
  203. 57.40 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  204. 57.40 s [go-tests] + readonly ERRCHECK_PATH
  205. 57.40 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  206. 57.40 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  207. 57.40 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  208. 57.40 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  209. 57.75 s [go-tests] buildPhase completed in 47 seconds
  210. 57.75 s [go-tests] Phase: installPhase
  211. 57.77 s [go-tests] Phase: fixupPhase
  212. 57.81 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/ciim8ni8bzqw47kjvi2z2drd66vz9cwb-go-tests-0.0.0
  213. 57.81 s [go-tests] checking for references to /build/ in /nix/store/ciim8ni8bzqw47kjvi2z2drd66vz9cwb-go-tests-0.0.0...
  214. 57.86 s [go-tests] patching script interpreter paths in /nix/store/ciim8ni8bzqw47kjvi2z2drd66vz9cwb-go-tests-0.0.0
  215. 58.17 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/ciim8ni8bzqw47kjvi2z2drd66vz9cwb-go-tests-0.0.0
  216. 58.21 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  217. 58.22 s [go-tests:post-build] copying 1 paths...
  218. 58.22 s [go-tests:post-build] copying path '/nix/store/ciim8ni8bzqw47kjvi2z2drd66vz9cwb-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  219. 58.30 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  220. 58.64 s [go-tests:post-build] copying 1 paths...
  221. 58.64 s [go-tests:post-build] copying path '/nix/store/s9xlzc8ccxkfqks0lfrihgb9zmgaixry-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  222. 58.80 s Uploaded go-tests in 637ms
  223. 58.80 s Progress: 1 of 2 built, 4 of 4 downloaded from cache
  224. 58.80 s Built go-tests in 47.5s
  225. 58.80 s Progress: 2 of 2 built, 4 of 4 downloaded from cache
  226. 58.80 s /nix/store/ciim8ni8bzqw47kjvi2z2drd66vz9cwb-go-tests-0.0.0
  227. 58.84 s Build succeeded.