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=email-auth&rev=ccee2a13549ec6ea26e11ee10de8644f3d7bf5ad#packages.x86_64-linux.go-tests --print-build-logs
  2. 4.87 s
  3. 5.24 s Downloading cached errcheck from https://cache.nix-ci.com
  4. 5.27 s Downloading cached go-critic from https://cache.nix-ci.com
  5. 5.27 s Downloading cached go-tools from https://cache.nix-ci.com
  6. 5.50 s Progress: 0 of 4 built, 1 of 3 downloaded from cache (2 downloading)
  7. 5.53 s Progress: 0 of 3 built, 2 of 3 downloaded from cache (1 downloading)
  8. 5.87 s Progress: 0 of 2 built, 3 of 3 downloaded from cache
  9. 6.02 s Building go-tests
  10. 6.11 s [go-tests] Phase: unpackPhase
  11. 6.12 s [go-tests] unpacking source archive /nix/store/f5ayrgv97k877q61dhdwv2sqyqzin4v0-source
  12. 6.15 s [go-tests] source root is source
  13. 6.17 s [go-tests] Phase: patchPhase
  14. 6.18 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  15. 6.19 s [go-tests] Phase: configurePhase
  16. 6.25 s [go-tests] no configure script, doing nothing
  17. 6.27 s [go-tests] Phase: buildPhase
  18. 6.29 s [go-tests] patching script interpreter paths in ./dev-scripts
  19. 6.29 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"
  20. 6.31 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"
  21. 6.33 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.35 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"
  23. 6.37 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  24. 6.39 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"
  25. 6.41 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"
  26. 6.43 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"
  27. 6.45 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"
  28. 6.48 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"
  29. 6.50 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"
  30. 6.52 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"
  31. 6.53 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"
  32. 6.55 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"
  33. 6.57 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"
  34. 6.58 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"
  35. 6.60 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"
  36. 6.61 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"
  37. 6.63 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"
  38. 6.65 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"
  39. 6.66 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.81 s [go-tests] + set -o pipefail
  41. 6.81 s [go-tests] + full_test=
  42. 6.81 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  43. 6.81 s [go-tests] + go_test_flags+=("-fullpath")
  44. 6.81 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  45. 6.81 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  46. 6.81 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  47. 6.81 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  48. 6.81 s [go-tests] + [[ '' = \-\-full ]]
  49. 6.81 s [go-tests] + set -u
  50. 6.81 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  51. 6.81 s [go-tests] ++ cd ./dev-scripts
  52. 6.81 s [go-tests] ++ pwd
  53. 6.81 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  54. 6.81 s [go-tests] + readonly SCRIPT_DIR
  55. 6.81 s [go-tests] + cd /build/source/dev-scripts/..
  56. 6.81 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  57. 10.65 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  58. 15.76 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  59. 19.83 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  60. 19.83 s [go-tests] ? codeberg.org/mtlynch/little-moments/email [no test files]
  61. 19.83 s [go-tests] ? codeberg.org/mtlynch/little-moments/email/smtp [no test files]
  62. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.751s
  63. 20.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  64. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.015s
  65. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  66. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  67. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  68. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s
  69. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  70. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/email 0.005s
  71. 20.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  72. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  73. 20.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  74. 20.59 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  75. 20.59 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  76. 20.61 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.780s
  77. 20.61 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  78. 20.72 s [go-tests] + [[ -n '' ]]
  79. 20.72 s [go-tests] + go vet ./...
  80. 29.15 s [go-tests] + go_package_dirs=()
  81. 29.18 s [go-tests] + IFS=
  82. 29.18 s [go-tests] + read -r go_package_dir
  83. 29.18 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  84. 29.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  85. 29.22 s [go-tests] + IFS=
  86. 29.22 s [go-tests] + read -r go_package_dir
  87. 29.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 29.22 s [go-tests] + IFS=
  89. 29.22 s [go-tests] + read -r go_package_dir
  90. 29.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 29.22 s [go-tests] + IFS=
  92. 29.22 s [go-tests] + read -r go_package_dir
  93. 29.22 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 29.22 s [go-tests] + IFS=
  95. 29.23 s [go-tests] + read -r go_package_dir
  96. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 29.23 s [go-tests] + IFS=
  98. 29.23 s [go-tests] + read -r go_package_dir
  99. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 29.23 s [go-tests] + IFS=
  101. 29.23 s [go-tests] + read -r go_package_dir
  102. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 29.23 s [go-tests] + IFS=
  104. 29.23 s [go-tests] + read -r go_package_dir
  105. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 29.23 s [go-tests] + IFS=
  107. 29.23 s [go-tests] + read -r go_package_dir
  108. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 29.23 s [go-tests] + IFS=
  110. 29.23 s [go-tests] + read -r go_package_dir
  111. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 29.23 s [go-tests] + IFS=
  113. 29.23 s [go-tests] + read -r go_package_dir
  114. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 29.23 s [go-tests] + IFS=
  116. 29.23 s [go-tests] + read -r go_package_dir
  117. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 29.23 s [go-tests] + IFS=
  119. 29.23 s [go-tests] + read -r go_package_dir
  120. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 29.23 s [go-tests] + IFS=
  122. 29.23 s [go-tests] + read -r go_package_dir
  123. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 29.23 s [go-tests] + IFS=
  125. 29.23 s [go-tests] + read -r go_package_dir
  126. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 29.23 s [go-tests] + IFS=
  128. 29.23 s [go-tests] + read -r go_package_dir
  129. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 29.23 s [go-tests] + IFS=
  131. 29.23 s [go-tests] + read -r go_package_dir
  132. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 29.23 s [go-tests] + IFS=
  134. 29.23 s [go-tests] + read -r go_package_dir
  135. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 29.23 s [go-tests] + IFS=
  137. 29.23 s [go-tests] + read -r go_package_dir
  138. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 29.23 s [go-tests] + IFS=
  140. 29.23 s [go-tests] + read -r go_package_dir
  141. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 29.23 s [go-tests] + IFS=
  143. 29.23 s [go-tests] + read -r go_package_dir
  144. 29.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 29.23 s [go-tests] + IFS=
  146. 29.23 s [go-tests] + read -r go_package_dir
  147. 29.23 s [go-tests] + readonly go_package_dirs
  148. 29.23 s [go-tests] ++ go env GOPATH
  149. 29.23 s [go-tests] + GCI_PATH=/build/go/bin/gci
  150. 29.23 s [go-tests] + readonly GCI_PATH
  151. 29.23 s [go-tests] + readonly GCI_VERSION=v0.14.0
  152. 29.23 s [go-tests] + GCI_VERSION=v0.14.0
  153. 29.23 s [go-tests] + [[ -f /build/go/bin/gci ]]
  154. 29.23 s [go-tests] ++ /build/go/bin/gci --version
  155. 29.24 s [go-tests] + gci_version_output='gci version 0.14.0'
  156. 29.24 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  157. 29.24 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  158. 29.24 s [go-tests] + readonly gci_sections
  159. 29.24 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/email /build/source/random /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store /build/source/store/sqlite /build/source/store/test_sqlite
  160. 29.27 s [go-tests] + gci_output=
  161. 29.27 s [go-tests] + [[ -n '' ]]
  162. 29.27 s [go-tests] ++ go env GOPATH
  163. 29.28 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  164. 29.28 s [go-tests] + readonly GOCRITIC_PATH
  165. 29.28 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  166. 29.28 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  167. 29.28 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  168. 29.28 s [go-tests] + /build/go/bin/go-critic check ./...
  169. 30.00 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  170. 30.57 s [go-tests] ++ go env GOPATH
  171. 30.57 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  172. 30.57 s [go-tests] + readonly STATICCHECK_PATH
  173. 30.57 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  174. 30.57 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  175. 30.57 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  176. 30.57 s [go-tests] + /build/go/bin/staticcheck ./...
  177. 34.52 s [go-tests] ++ go env GOPATH
  178. 34.58 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  179. 34.58 s [go-tests] + readonly ERRCHECK_PATH
  180. 34.58 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  181. 34.58 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  182. 34.58 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  183. 34.58 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  184. 34.86 s [go-tests] Phase: installPhase
  185. 34.88 s [go-tests] Phase: fixupPhase
  186. 34.90 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/z1s0k7x97qbbfnyzjqcrdlgyp0dak349-go-tests-0.0.0
  187. 34.90 s [go-tests] checking for references to /build/ in /nix/store/z1s0k7x97qbbfnyzjqcrdlgyp0dak349-go-tests-0.0.0...
  188. 34.92 s [go-tests] patching script interpreter paths in /nix/store/z1s0k7x97qbbfnyzjqcrdlgyp0dak349-go-tests-0.0.0
  189. 34.97 s [post-build-hook] Uploading to the NixCI cache: /nix/store/z1s0k7x97qbbfnyzjqcrdlgyp0dak349-go-tests-0.0.0
  190. 35.04 s [post-build-hook] copying 1 paths...
  191. 35.04 s [post-build-hook] copying path '/nix/store/z1s0k7x97qbbfnyzjqcrdlgyp0dak349-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  192. 35.58 s [post-build-hook] copying 1 paths...
  193. 35.58 s [post-build-hook] copying path '/nix/store/nxz0sghpjxz1qvag6qci7hb87apaqs0x-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  194. 36.08 s Progress: 1 of 2 built, 3 of 3 downloaded from cache