build packages.x86_64-linux.go-tests

Reproduce this run
  1. 1.06 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=delete-media%2F1%2Fshow-delete-option&rev=bfa7b1c1a2d2b7c28f18ccbd90906d17fae1cf40&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.10 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/495bbd4e39b361339ae46bd3ecb2f6c1555ef8e80c488bd2b971decbd3cfb35b.sqlite' is busy
  3. 2.76 s
  4. 2.96 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 2.96 s Downloading cached gci from https://cache.nix-ci.com
  6. 2.96 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 2.96 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 2.96 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  9. 3.07 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 107ms
  10. 3.07 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  11. 3.07 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  12. 3.20 s Downloaded cached gci (14.3 MiB) in 239ms
  13. 3.20 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  14. 3.61 s Downloaded cached go-critic (9.3 MiB) in 648ms
  15. 3.61 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  16. 3.84 s Downloaded cached errcheck (5.2 MiB) in 878ms
  17. 3.84 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  18. 3.85 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 784ms
  19. 3.85 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  20. 5.39 s Downloaded cached go-tools (45.4 MiB) in 2.4s
  21. 5.39 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  22. 5.57 s Building /nix/store/kk05mx85w88l54lw6dfg02jrag42r3hx-go-tests-0.0.0.drv
  23. 5.63 s [go-tests] Phase: unpackPhase
  24. 5.64 s [go-tests] unpacking source archive /nix/store/pwp0wl1r0w5xwy8b2n4cmwqqyj94x3l1-source
  25. 5.66 s [go-tests] source root is source
  26. 5.68 s [go-tests] Phase: patchPhase
  27. 5.69 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  28. 5.71 s [go-tests] Phase: configurePhase
  29. 5.74 s [go-tests] no configure script, doing nothing
  30. 5.75 s [go-tests] Phase: buildPhase
  31. 5.75 s [go-tests] patching script interpreter paths in ./dev-scripts
  32. 5.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"
  33. 5.77 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"
  34. 5.80 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"
  35. 5.82 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"
  36. 5.84 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"
  37. 5.86 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  38. 5.89 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"
  39. 5.92 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"
  40. 5.94 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"
  41. 5.97 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"
  42. 6.00 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"
  43. 6.03 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"
  44. 6.05 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"
  45. 6.07 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"
  46. 6.11 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"
  47. 6.15 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"
  48. 6.20 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"
  49. 6.23 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"
  50. 6.29 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"
  51. 6.35 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. 6.43 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"
  53. 6.51 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"
  54. 6.72 s [go-tests] + set -o pipefail
  55. 6.72 s [go-tests] + full_test=
  56. 6.72 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  57. 6.72 s [go-tests] + go_test_flags+=("-fullpath")
  58. 6.73 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  59. 6.73 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  60. 6.73 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  61. 6.73 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  62. 6.73 s [go-tests] + case "${1:-}" in
  63. 6.73 s [go-tests] + [[ 0 -gt 1 ]]
  64. 6.73 s [go-tests] + set -u
  65. 6.73 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  66. 6.74 s [go-tests] ++ cd ./dev-scripts
  67. 6.74 s [go-tests] ++ pwd
  68. 6.74 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  69. 6.74 s [go-tests] + readonly SCRIPT_DIR
  70. 6.74 s [go-tests] + cd /build/source/dev-scripts/..
  71. 6.74 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  72. 12.72 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  73. 23.57 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  74. 23.61 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  75. 23.61 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  76. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.189s
  77. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.034s
  78. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.016s
  79. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.856s
  80. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  81. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.009s
  82. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.006s
  83. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  84. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  85. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.007s
  86. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.007s
  87. 24.77 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  88. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.011s
  89. 24.77 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  90. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  91. 24.77 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  92. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.821s
  93. 24.77 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  94. 24.77 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.011s
  95. 24.88 s [go-tests] + [[ -n '' ]]
  96. 24.88 s [go-tests] + go vet ./...
  97. 35.26 s [go-tests] + go_package_dirs=()
  98. 35.30 s [go-tests] + IFS=
  99. 35.30 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  100. 35.30 s [go-tests] + read -r go_package_dir
  101. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  102. 35.34 s [go-tests] + IFS=
  103. 35.34 s [go-tests] + read -r go_package_dir
  104. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  105. 35.34 s [go-tests] + IFS=
  106. 35.34 s [go-tests] + read -r go_package_dir
  107. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 35.34 s [go-tests] + IFS=
  109. 35.34 s [go-tests] + read -r go_package_dir
  110. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 35.34 s [go-tests] + IFS=
  112. 35.34 s [go-tests] + read -r go_package_dir
  113. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 35.34 s [go-tests] + IFS=
  115. 35.34 s [go-tests] + read -r go_package_dir
  116. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 35.34 s [go-tests] + IFS=
  118. 35.34 s [go-tests] + read -r go_package_dir
  119. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 35.34 s [go-tests] + IFS=
  121. 35.34 s [go-tests] + read -r go_package_dir
  122. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 35.34 s [go-tests] + IFS=
  124. 35.34 s [go-tests] + read -r go_package_dir
  125. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 35.34 s [go-tests] + IFS=
  127. 35.34 s [go-tests] + read -r go_package_dir
  128. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 35.34 s [go-tests] + IFS=
  130. 35.34 s [go-tests] + read -r go_package_dir
  131. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 35.34 s [go-tests] + IFS=
  133. 35.34 s [go-tests] + read -r go_package_dir
  134. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 35.34 s [go-tests] + IFS=
  136. 35.34 s [go-tests] + read -r go_package_dir
  137. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 35.34 s [go-tests] + IFS=
  139. 35.34 s [go-tests] + read -r go_package_dir
  140. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 35.34 s [go-tests] + IFS=
  142. 35.34 s [go-tests] + read -r go_package_dir
  143. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 35.34 s [go-tests] + IFS=
  145. 35.34 s [go-tests] + read -r go_package_dir
  146. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 35.34 s [go-tests] + IFS=
  148. 35.34 s [go-tests] + read -r go_package_dir
  149. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 35.34 s [go-tests] + IFS=
  151. 35.34 s [go-tests] + read -r go_package_dir
  152. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 35.34 s [go-tests] + IFS=
  154. 35.34 s [go-tests] + read -r go_package_dir
  155. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 35.34 s [go-tests] + IFS=
  157. 35.34 s [go-tests] + read -r go_package_dir
  158. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 35.34 s [go-tests] + IFS=
  160. 35.34 s [go-tests] + read -r go_package_dir
  161. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 35.34 s [go-tests] + IFS=
  163. 35.34 s [go-tests] + read -r go_package_dir
  164. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 35.34 s [go-tests] + IFS=
  166. 35.34 s [go-tests] + read -r go_package_dir
  167. 35.34 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  168. 35.34 s [go-tests] + IFS=
  169. 35.34 s [go-tests] + read -r go_package_dir
  170. 35.34 s [go-tests] + readonly go_package_dirs
  171. 35.34 s [go-tests] ++ go env GOBIN
  172. 35.35 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  173. 35.35 s [go-tests] + readonly GCI_PATH
  174. 35.35 s [go-tests] + readonly GCI_VERSION=v0.14.0
  175. 35.35 s [go-tests] + GCI_VERSION=v0.14.0
  176. 35.35 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  177. 35.35 s [go-tests] ++ /build/home/go/bin/gci --version
  178. 35.35 s [go-tests] + gci_version_output='gci version 0.14.0'
  179. 35.35 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  180. 35.35 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  181. 35.35 s [go-tests] + readonly gci_sections
  182. 35.35 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/store /build/source/store/sqlite /build/source/store/test_sqlite /build/source/uploads
  183. 35.39 s [go-tests] + gci_output=
  184. 35.39 s [go-tests] + [[ -n '' ]]
  185. 35.39 s [go-tests] ++ go env GOBIN
  186. 35.39 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  187. 35.39 s [go-tests] + readonly GOCRITIC_PATH
  188. 35.39 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  189. 35.39 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  190. 35.39 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  191. 35.39 s [go-tests] + /build/home/go/bin/go-critic check ./...
  192. 36.27 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  193. 36.86 s [go-tests] ++ go env GOBIN
  194. 36.87 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  195. 36.87 s [go-tests] + readonly STATICCHECK_PATH
  196. 36.87 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  197. 36.87 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  198. 36.87 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  199. 36.87 s [go-tests] + /build/home/go/bin/staticcheck ./...
  200. 40.73 s [go-tests] ++ go env GOBIN
  201. 40.78 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  202. 40.78 s [go-tests] + readonly ERRCHECK_PATH
  203. 40.78 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  204. 40.78 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  205. 40.78 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  206. 40.78 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  207. 40.93 s [go-tests] buildPhase completed in 36 seconds
  208. 40.93 s [go-tests] Phase: installPhase
  209. 40.94 s [go-tests] Phase: fixupPhase
  210. 40.95 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/3lbcxnky4hrxq5x8rb5ppnq3fpsav9q8-go-tests-0.0.0
  211. 40.95 s [go-tests] checking for references to /build/ in /nix/store/3lbcxnky4hrxq5x8rb5ppnq3fpsav9q8-go-tests-0.0.0...
  212. 40.97 s [go-tests] patching script interpreter paths in /nix/store/3lbcxnky4hrxq5x8rb5ppnq3fpsav9q8-go-tests-0.0.0
  213. 41.16 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/3lbcxnky4hrxq5x8rb5ppnq3fpsav9q8-go-tests-0.0.0
  214. 41.20 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  215. 41.21 s [go-tests:post-build] copying 1 paths...
  216. 41.21 s [go-tests:post-build] copying path '/nix/store/3lbcxnky4hrxq5x8rb5ppnq3fpsav9q8-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  217. 41.39 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  218. 41.79 s [go-tests:post-build] copying 1 paths...
  219. 41.80 s [go-tests:post-build] copying path '/nix/store/kk05mx85w88l54lw6dfg02jrag42r3hx-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  220. 42.01 s Uploaded go-tests in 859ms
  221. 42.01 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  222. 42.01 s Built go-tests in 36.4s
  223. 42.01 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  224. 42.01 s /nix/store/3lbcxnky4hrxq5x8rb5ppnq3fpsav9q8-go-tests-0.0.0
  225. 42.06 s Build succeeded.