build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.28 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=litestream-container-startup&rev=a587f7f2ff5448ef84f6272015d7c4bd4e1e7ab4#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.74 s
  3. 0.75 s Downloading cached errcheck from https://cache.nix-ci.com
  4. 0.75 s Downloading cached go-tools from https://cache.nix-ci.com
  5. 0.75 s Downloading cached go-critic from https://cache.nix-ci.com
  6. 0.80 s Progress: 0 of 4 built, 1 of 3 downloaded from cache (2 downloading)
  7. 0.85 s Progress: 0 of 3 built, 2 of 3 downloaded from cache (1 downloading)
  8. 1.27 s Progress: 0 of 2 built, 3 of 3 downloaded from cache
  9. 1.44 s Building /nix/store/w3bfx45riqhmqhpxnxy6azshj07nch8w-go-tests-0.0.0.drv
  10. 1.55 s [go-tests] Phase: unpackPhase
  11. 1.56 s [go-tests] unpacking source archive /nix/store/bqh46x3inzhnyihjb7643p0a3gyp147c-source
  12. 1.60 s [go-tests] source root is source
  13. 1.66 s [go-tests] Phase: patchPhase
  14. 1.68 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  15. 1.69 s [go-tests] Phase: configurePhase
  16. 1.72 s [go-tests] no configure script, doing nothing
  17. 1.73 s [go-tests] Phase: buildPhase
  18. 1.75 s [go-tests] patching script interpreter paths in ./dev-scripts
  19. 1.75 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"
  20. 1.79 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"
  21. 1.81 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"
  22. 1.87 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"
  23. 1.90 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"
  24. 1.93 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"
  25. 1.96 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"
  26. 1.99 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"
  27. 2.01 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"
  28. 2.05 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"
  29. 2.08 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"
  30. 2.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"
  31. 2.14 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"
  32. 2.19 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  33. 2.23 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"
  34. 2.26 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"
  35. 2.29 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"
  36. 2.32 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"
  37. 2.34 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"
  38. 2.37 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"
  39. 2.40 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"
  40. 2.42 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"
  41. 2.63 s [go-tests] + set -o pipefail
  42. 2.63 s [go-tests] + full_test=
  43. 2.63 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  44. 2.63 s [go-tests] + go_test_flags+=("-fullpath")
  45. 2.63 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  46. 2.63 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  47. 2.63 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  48. 2.63 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  49. 2.63 s [go-tests] + [[ '' = \-\-full ]]
  50. 2.63 s [go-tests] + set -u
  51. 2.63 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  52. 2.64 s [go-tests] ++ cd ./dev-scripts
  53. 2.64 s [go-tests] ++ pwd
  54. 2.64 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  55. 2.64 s [go-tests] + readonly SCRIPT_DIR
  56. 2.64 s [go-tests] + cd /build/source/dev-scripts/..
  57. 2.64 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  58. 7.68 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  59. 13.83 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  60. 18.62 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  61. 19.49 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.874s
  62. 20.12 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  63. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.016s
  64. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.004s
  65. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  66. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  67. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.004s
  68. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.004s
  69. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.003s
  70. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.004s
  71. 20.12 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  72. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  73. 20.12 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  74. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  75. 20.12 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  76. 20.12 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.821s
  77. 20.12 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  78. 20.12 s [go-tests] + [[ -n '' ]]
  79. 20.12 s [go-tests] + go vet ./...
  80. 28.39 s [go-tests] + go_package_dirs=()
  81. 28.40 s [go-tests] + IFS=
  82. 28.40 s [go-tests] + read -r go_package_dir
  83. 28.40 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  84. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  85. 28.47 s [go-tests] + IFS=
  86. 28.47 s [go-tests] + read -r go_package_dir
  87. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 28.47 s [go-tests] + IFS=
  89. 28.47 s [go-tests] + read -r go_package_dir
  90. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 28.47 s [go-tests] + IFS=
  92. 28.47 s [go-tests] + read -r go_package_dir
  93. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 28.47 s [go-tests] + IFS=
  95. 28.47 s [go-tests] + read -r go_package_dir
  96. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 28.47 s [go-tests] + IFS=
  98. 28.47 s [go-tests] + read -r go_package_dir
  99. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 28.47 s [go-tests] + IFS=
  101. 28.47 s [go-tests] + read -r go_package_dir
  102. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 28.47 s [go-tests] + IFS=
  104. 28.47 s [go-tests] + read -r go_package_dir
  105. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 28.47 s [go-tests] + IFS=
  107. 28.47 s [go-tests] + read -r go_package_dir
  108. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 28.47 s [go-tests] + IFS=
  110. 28.47 s [go-tests] + read -r go_package_dir
  111. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 28.47 s [go-tests] + IFS=
  113. 28.47 s [go-tests] + read -r go_package_dir
  114. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 28.47 s [go-tests] + IFS=
  116. 28.47 s [go-tests] + read -r go_package_dir
  117. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 28.47 s [go-tests] + IFS=
  119. 28.47 s [go-tests] + read -r go_package_dir
  120. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 28.47 s [go-tests] + IFS=
  122. 28.47 s [go-tests] + read -r go_package_dir
  123. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 28.47 s [go-tests] + IFS=
  125. 28.47 s [go-tests] + read -r go_package_dir
  126. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 28.47 s [go-tests] + IFS=
  128. 28.47 s [go-tests] + read -r go_package_dir
  129. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 28.47 s [go-tests] + IFS=
  131. 28.47 s [go-tests] + read -r go_package_dir
  132. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 28.47 s [go-tests] + IFS=
  134. 28.47 s [go-tests] + read -r go_package_dir
  135. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 28.47 s [go-tests] + IFS=
  137. 28.47 s [go-tests] + read -r go_package_dir
  138. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 28.47 s [go-tests] + IFS=
  140. 28.47 s [go-tests] + read -r go_package_dir
  141. 28.47 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 28.47 s [go-tests] + IFS=
  143. 28.47 s [go-tests] + read -r go_package_dir
  144. 28.47 s [go-tests] + readonly go_package_dirs
  145. 28.47 s [go-tests] ++ go env GOPATH
  146. 28.47 s [go-tests] + GCI_PATH=/build/go/bin/gci
  147. 28.47 s [go-tests] + readonly GCI_PATH
  148. 28.47 s [go-tests] + readonly GCI_VERSION=v0.14.0
  149. 28.47 s [go-tests] + GCI_VERSION=v0.14.0
  150. 28.47 s [go-tests] + [[ -f /build/go/bin/gci ]]
  151. 28.47 s [go-tests] ++ /build/go/bin/gci --version
  152. 28.49 s [go-tests] + gci_version_output='gci version 0.14.0'
  153. 28.49 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  154. 28.49 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  155. 28.49 s [go-tests] + readonly gci_sections
  156. 28.49 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/magiclogin/loginmail /build/source/magiclogin/loginmail/smtp /build/source/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite
  157. 28.52 s [go-tests] + gci_output=
  158. 28.52 s [go-tests] + [[ -n '' ]]
  159. 28.52 s [go-tests] ++ go env GOPATH
  160. 28.53 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  161. 28.53 s [go-tests] + readonly GOCRITIC_PATH
  162. 28.53 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  163. 28.53 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  164. 28.53 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  165. 28.53 s [go-tests] + /build/go/bin/go-critic check ./...
  166. 29.30 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  167. 29.84 s [go-tests] ++ go env GOPATH
  168. 29.85 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  169. 29.85 s [go-tests] + readonly STATICCHECK_PATH
  170. 29.85 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  171. 29.85 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  172. 29.85 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  173. 29.85 s [go-tests] + /build/go/bin/staticcheck ./...
  174. 33.80 s [go-tests] ++ go env GOPATH
  175. 33.86 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  176. 33.86 s [go-tests] + readonly ERRCHECK_PATH
  177. 33.86 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  178. 33.86 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  179. 33.86 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  180. 33.86 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  181. 34.00 s [go-tests] buildPhase completed in 32 seconds
  182. 34.00 s [go-tests] Phase: installPhase
  183. 34.01 s [go-tests] Phase: fixupPhase
  184. 34.02 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/nnanp6816ixbbzqvlijcb3vklrsk6la8-go-tests-0.0.0
  185. 34.03 s [go-tests] checking for references to /build/ in /nix/store/nnanp6816ixbbzqvlijcb3vklrsk6la8-go-tests-0.0.0...
  186. 34.04 s [go-tests] patching script interpreter paths in /nix/store/nnanp6816ixbbzqvlijcb3vklrsk6la8-go-tests-0.0.0
  187. 34.25 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/nnanp6816ixbbzqvlijcb3vklrsk6la8-go-tests-0.0.0
  188. 34.29 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  189. 34.30 s [go-tests:post-build] copying 1 paths...
  190. 34.30 s [go-tests:post-build] copying path '/nix/store/nnanp6816ixbbzqvlijcb3vklrsk6la8-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  191. 34.37 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  192. 34.69 s [go-tests:post-build] copying 1 paths...
  193. 34.69 s [go-tests:post-build] copying path '/nix/store/w3bfx45riqhmqhpxnxy6azshj07nch8w-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  194. 34.83 s Progress: 1 of 2 built, 3 of 3 downloaded from cache
  195. 34.83 s Progress: 2 of 2 built, 3 of 3 downloaded from cache
  196. 34.83 s /nix/store/nnanp6816ixbbzqvlijcb3vklrsk6la8-go-tests-0.0.0
  197. 34.84 s Build succeeded.