build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.07 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=email-auth&rev=42fed99e7e3f62735aaca565cc6cd47b2caa014a#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.08 s fetching Git repository 'https://codeberg.org/mtlynch/little-moments'
  3. 4.83 s
  4. 5.13 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 5.14 s Downloading cached go-critic from https://cache.nix-ci.com
  6. 5.14 s Downloading cached go-tools from https://cache.nix-ci.com
  7. 5.23 s Progress: 0 of 4 built, 1 of 3 downloaded from cache (2 downloading)
  8. 5.26 s Progress: 0 of 3 built, 2 of 3 downloaded from cache (1 downloading)
  9. 5.56 s Progress: 0 of 2 built, 3 of 3 downloaded from cache
  10. 5.69 s Building go-tests
  11. 5.76 s [go-tests] Phase: unpackPhase
  12. 5.78 s [go-tests] unpacking source archive /nix/store/2gavpxykfh29mzl5wc684lisp92c9skc-source
  13. 5.81 s [go-tests] source root is source
  14. 5.87 s [go-tests] Phase: patchPhase
  15. 5.88 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  16. 5.90 s [go-tests] Phase: configurePhase
  17. 5.95 s [go-tests] no configure script, doing nothing
  18. 5.96 s [go-tests] Phase: buildPhase
  19. 5.97 s [go-tests] patching script interpreter paths in ./dev-scripts
  20. 5.98 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"
  21. 6.00 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"
  22. 6.03 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"
  23. 6.07 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"
  24. 6.08 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"
  25. 6.10 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"
  26. 6.12 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"
  27. 6.14 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"
  28. 6.16 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"
  29. 6.17 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"
  30. 6.19 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"
  31. 6.21 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"
  32. 6.23 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"
  33. 6.25 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"
  34. 6.27 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"
  35. 6.29 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"
  36. 6.30 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"
  37. 6.32 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. 6.34 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. 6.36 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"
  40. 6.38 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"
  41. 6.40 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"
  42. 6.65 s [go-tests] + set -o pipefail
  43. 6.65 s [go-tests] + full_test=
  44. 6.65 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  45. 6.65 s [go-tests] + go_test_flags+=("-fullpath")
  46. 6.65 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  47. 6.65 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  48. 6.65 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  49. 6.65 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  50. 6.65 s [go-tests] + [[ '' = \-\-full ]]
  51. 6.65 s [go-tests] + set -u
  52. 6.65 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  53. 6.66 s [go-tests] ++ cd ./dev-scripts
  54. 6.66 s [go-tests] ++ pwd
  55. 6.66 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  56. 6.66 s [go-tests] + readonly SCRIPT_DIR
  57. 6.66 s [go-tests] + cd /build/source/dev-scripts/..
  58. 6.66 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  59. 11.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  60. 16.13 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  61. 20.58 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  62. 20.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/email [no test files]
  63. 20.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/email/smtp [no test files]
  64. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.331s
  65. 21.92 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  66. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.031s
  67. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.014s
  68. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.015s
  69. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.014s
  70. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.007s
  71. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.019s
  72. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.012s
  73. 21.92 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  74. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.010s
  75. 21.92 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  76. 21.92 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.009s
  77. 21.92 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  78. 21.95 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.349s
  79. 21.95 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  80. 22.06 s [go-tests] + [[ -n '' ]]
  81. 22.06 s [go-tests] + go vet ./...
  82. 31.23 s [go-tests] + go_package_dirs=()
  83. 31.24 s [go-tests] + IFS=
  84. 31.24 s [go-tests] + read -r go_package_dir
  85. 31.24 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  86. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  87. 31.30 s [go-tests] + IFS=
  88. 31.30 s [go-tests] + read -r go_package_dir
  89. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  90. 31.30 s [go-tests] + IFS=
  91. 31.30 s [go-tests] + read -r go_package_dir
  92. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  93. 31.30 s [go-tests] + IFS=
  94. 31.30 s [go-tests] + read -r go_package_dir
  95. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  96. 31.30 s [go-tests] + IFS=
  97. 31.30 s [go-tests] + read -r go_package_dir
  98. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  99. 31.30 s [go-tests] + IFS=
  100. 31.30 s [go-tests] + read -r go_package_dir
  101. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  102. 31.30 s [go-tests] + IFS=
  103. 31.30 s [go-tests] + read -r go_package_dir
  104. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  105. 31.30 s [go-tests] + IFS=
  106. 31.30 s [go-tests] + read -r go_package_dir
  107. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 31.30 s [go-tests] + IFS=
  109. 31.30 s [go-tests] + read -r go_package_dir
  110. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 31.30 s [go-tests] + IFS=
  112. 31.30 s [go-tests] + read -r go_package_dir
  113. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 31.30 s [go-tests] + IFS=
  115. 31.30 s [go-tests] + read -r go_package_dir
  116. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 31.30 s [go-tests] + IFS=
  118. 31.30 s [go-tests] + read -r go_package_dir
  119. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 31.30 s [go-tests] + IFS=
  121. 31.30 s [go-tests] + read -r go_package_dir
  122. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 31.30 s [go-tests] + IFS=
  124. 31.30 s [go-tests] + read -r go_package_dir
  125. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 31.30 s [go-tests] + IFS=
  127. 31.30 s [go-tests] + read -r go_package_dir
  128. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 31.30 s [go-tests] + IFS=
  130. 31.30 s [go-tests] + read -r go_package_dir
  131. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 31.30 s [go-tests] + IFS=
  133. 31.30 s [go-tests] + read -r go_package_dir
  134. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 31.30 s [go-tests] + IFS=
  136. 31.30 s [go-tests] + read -r go_package_dir
  137. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 31.30 s [go-tests] + IFS=
  139. 31.30 s [go-tests] + read -r go_package_dir
  140. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 31.30 s [go-tests] + IFS=
  142. 31.30 s [go-tests] + read -r go_package_dir
  143. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 31.30 s [go-tests] + IFS=
  145. 31.30 s [go-tests] + read -r go_package_dir
  146. 31.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 31.30 s [go-tests] + IFS=
  148. 31.30 s [go-tests] + read -r go_package_dir
  149. 31.30 s [go-tests] + readonly go_package_dirs
  150. 31.30 s [go-tests] ++ go env GOPATH
  151. 31.31 s [go-tests] + GCI_PATH=/build/go/bin/gci
  152. 31.31 s [go-tests] + readonly GCI_PATH
  153. 31.31 s [go-tests] + readonly GCI_VERSION=v0.14.0
  154. 31.31 s [go-tests] + GCI_VERSION=v0.14.0
  155. 31.31 s [go-tests] + [[ -f /build/go/bin/gci ]]
  156. 31.31 s [go-tests] ++ /build/go/bin/gci --version
  157. 31.31 s [go-tests] + gci_version_output='gci version 0.14.0'
  158. 31.31 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  159. 31.31 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  160. 31.31 s [go-tests] + readonly gci_sections
  161. 31.31 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/email /build/source/email/smtp /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/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite
  162. 31.34 s [go-tests] + gci_output=
  163. 31.34 s [go-tests] + [[ -n '' ]]
  164. 31.34 s [go-tests] ++ go env GOPATH
  165. 31.35 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  166. 31.35 s [go-tests] + readonly GOCRITIC_PATH
  167. 31.35 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  168. 31.35 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  169. 31.35 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  170. 31.35 s [go-tests] + /build/go/bin/go-critic check ./...
  171. 32.03 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  172. 32.56 s [go-tests] ++ go env GOPATH
  173. 32.57 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  174. 32.57 s [go-tests] + readonly STATICCHECK_PATH
  175. 32.57 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  176. 32.57 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  177. 32.57 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  178. 32.57 s [go-tests] + /build/go/bin/staticcheck ./...
  179. 36.33 s [go-tests] ++ go env GOPATH
  180. 36.35 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  181. 36.35 s [go-tests] + readonly ERRCHECK_PATH
  182. 36.35 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  183. 36.35 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  184. 36.35 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  185. 36.35 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  186. 36.52 s [go-tests] buildPhase completed in 30 seconds
  187. 36.52 s [go-tests] Phase: installPhase
  188. 36.53 s [go-tests] Phase: fixupPhase
  189. 36.55 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/ara4dyx6ssi8jvl7v7j648xm9sqq3nyw-go-tests-0.0.0
  190. 36.55 s [go-tests] checking for references to /build/ in /nix/store/ara4dyx6ssi8jvl7v7j648xm9sqq3nyw-go-tests-0.0.0...
  191. 36.56 s [go-tests] patching script interpreter paths in /nix/store/ara4dyx6ssi8jvl7v7j648xm9sqq3nyw-go-tests-0.0.0
  192. 36.59 s [post-build-hook] Uploading to the NixCI cache: /nix/store/ara4dyx6ssi8jvl7v7j648xm9sqq3nyw-go-tests-0.0.0
  193. 36.64 s [post-build-hook] copying 1 paths...
  194. 36.64 s [post-build-hook] copying path '/nix/store/ara4dyx6ssi8jvl7v7j648xm9sqq3nyw-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  195. 37.05 s [post-build-hook] copying 1 paths...
  196. 37.05 s [post-build-hook] copying path '/nix/store/1nmsd9718c9iclqhqsqwabqsgj2npm0p-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  197. 37.44 s Progress: 1 of 2 built, 3 of 3 downloaded from cache