build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.15 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=slice-1&rev=e0b924710e0d1a39f3e01433b8849d2879847f05#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.60 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/209e63ed82970cfa2eeafc5bab9bc424dae1f299d1a026715a72b8f9334090e2.sqlite' is busy
  3. 2.59 s
  4. 3.10 s Building /nix/store/am0vpz0nzvcn2q4b1f2q26jm5irh0940-go-tests-0.0.0.drv
  5. 3.19 s [go-tests] Phase: unpackPhase
  6. 3.20 s [go-tests] unpacking source archive /nix/store/bj05yvlgxyk1507a15xryczb69vc55s3-source
  7. 3.22 s [go-tests] source root is source
  8. 3.24 s [go-tests] Phase: patchPhase
  9. 3.25 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  10. 3.28 s [go-tests] Phase: configurePhase
  11. 3.31 s [go-tests] no configure script, doing nothing
  12. 3.32 s [go-tests] Phase: buildPhase
  13. 3.34 s [go-tests] patching script interpreter paths in ./dev-scripts
  14. 3.34 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"
  15. 3.41 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"
  16. 3.47 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"
  17. 3.50 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"
  18. 3.56 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"
  19. 3.63 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. 3.68 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"
  21. 3.74 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"
  22. 3.83 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"
  23. 3.92 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"
  24. 3.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"
  25. 4.01 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"
  26. 4.05 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"
  27. 4.10 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"
  28. 4.17 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. 4.29 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"
  30. 4.37 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"
  31. 4.43 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"
  32. 4.48 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"
  33. 4.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"
  34. 4.60 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. 4.66 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"
  36. 4.90 s [go-tests] + set -o pipefail
  37. 4.90 s [go-tests] + full_test=
  38. 4.90 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  39. 4.90 s [go-tests] + go_test_flags+=("-fullpath")
  40. 4.90 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  41. 4.90 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  42. 4.91 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  43. 4.91 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  44. 4.91 s [go-tests] + [[ '' = \-\-full ]]
  45. 4.91 s [go-tests] + set -u
  46. 4.91 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  47. 4.91 s [go-tests] ++ cd ./dev-scripts
  48. 4.91 s [go-tests] ++ pwd
  49. 4.91 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  50. 4.91 s [go-tests] + readonly SCRIPT_DIR
  51. 4.91 s [go-tests] + cd /build/source/dev-scripts/..
  52. 4.91 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  53. 12.70 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  54. 29.03 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  55. 29.08 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  56. 29.08 s [go-tests] ok codeberg.org/mtlynch/little-moments/convert 0.019s
  57. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.114s
  58. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.028s
  59. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.006s
  60. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  61. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.008s
  62. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  63. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.004s
  64. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.010s
  65. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.019s
  66. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.009s
  67. 30.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  68. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.008s
  69. 30.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  70. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  71. 30.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  72. 30.15 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.034s
  73. 30.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  74. 30.15 s [go-tests] ? codeberg.org/mtlynch/little-moments/uploads [no test files]
  75. 30.28 s [go-tests] + [[ -n '' ]]
  76. 30.28 s [go-tests] + go vet ./...
  77. 44.13 s [go-tests] + go_package_dirs=()
  78. 44.17 s [go-tests] + IFS=
  79. 44.17 s [go-tests] + read -r go_package_dir
  80. 44.17 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  81. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  82. 44.23 s [go-tests] + IFS=
  83. 44.23 s [go-tests] + read -r go_package_dir
  84. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  85. 44.23 s [go-tests] + IFS=
  86. 44.23 s [go-tests] + read -r go_package_dir
  87. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 44.23 s [go-tests] + IFS=
  89. 44.23 s [go-tests] + read -r go_package_dir
  90. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 44.23 s [go-tests] + IFS=
  92. 44.23 s [go-tests] + read -r go_package_dir
  93. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 44.23 s [go-tests] + IFS=
  95. 44.23 s [go-tests] + read -r go_package_dir
  96. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 44.23 s [go-tests] + IFS=
  98. 44.23 s [go-tests] + read -r go_package_dir
  99. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 44.23 s [go-tests] + IFS=
  101. 44.23 s [go-tests] + read -r go_package_dir
  102. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 44.23 s [go-tests] + IFS=
  104. 44.23 s [go-tests] + read -r go_package_dir
  105. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 44.23 s [go-tests] + IFS=
  107. 44.23 s [go-tests] + read -r go_package_dir
  108. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 44.23 s [go-tests] + IFS=
  110. 44.23 s [go-tests] + read -r go_package_dir
  111. 44.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 44.24 s [go-tests] + IFS=
  113. 44.24 s [go-tests] + read -r go_package_dir
  114. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 44.24 s [go-tests] + IFS=
  116. 44.24 s [go-tests] + read -r go_package_dir
  117. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 44.24 s [go-tests] + IFS=
  119. 44.24 s [go-tests] + read -r go_package_dir
  120. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 44.24 s [go-tests] + IFS=
  122. 44.24 s [go-tests] + read -r go_package_dir
  123. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 44.24 s [go-tests] + IFS=
  125. 44.24 s [go-tests] + read -r go_package_dir
  126. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 44.24 s [go-tests] + IFS=
  128. 44.24 s [go-tests] + read -r go_package_dir
  129. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 44.24 s [go-tests] + IFS=
  131. 44.24 s [go-tests] + read -r go_package_dir
  132. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 44.24 s [go-tests] + IFS=
  134. 44.24 s [go-tests] + read -r go_package_dir
  135. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 44.24 s [go-tests] + IFS=
  137. 44.24 s [go-tests] + read -r go_package_dir
  138. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 44.24 s [go-tests] + IFS=
  140. 44.24 s [go-tests] + read -r go_package_dir
  141. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 44.24 s [go-tests] + IFS=
  143. 44.24 s [go-tests] + read -r go_package_dir
  144. 44.24 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 44.24 s [go-tests] + IFS=
  146. 44.24 s [go-tests] + read -r go_package_dir
  147. 44.24 s [go-tests] + readonly go_package_dirs
  148. 44.24 s [go-tests] ++ go env GOPATH
  149. 44.24 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  150. 44.24 s [go-tests] + readonly GCI_PATH
  151. 44.24 s [go-tests] + readonly GCI_VERSION=v0.14.0
  152. 44.24 s [go-tests] + GCI_VERSION=v0.14.0
  153. 44.24 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  154. 44.24 s [go-tests] ++ /build/home/go/bin/gci --version
  155. 44.26 s [go-tests] + gci_version_output='gci version 0.14.0'
  156. 44.26 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  157. 44.26 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  158. 44.26 s [go-tests] + readonly gci_sections
  159. 44.26 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/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
  160. 44.35 s [go-tests] + gci_output=
  161. 44.35 s [go-tests] + [[ -n '' ]]
  162. 44.35 s [go-tests] ++ go env GOPATH
  163. 44.35 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  164. 44.35 s [go-tests] + readonly GOCRITIC_PATH
  165. 44.35 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  166. 44.35 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  167. 44.35 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  168. 44.35 s [go-tests] + /build/home/go/bin/go-critic check ./...
  169. 45.36 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  170. 46.02 s [go-tests] ++ go env GOPATH
  171. 46.02 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  172. 46.02 s [go-tests] + readonly STATICCHECK_PATH
  173. 46.02 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  174. 46.02 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  175. 46.02 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  176. 46.02 s [go-tests] + /build/home/go/bin/staticcheck ./...
  177. 50.38 s [go-tests] ++ go env GOPATH
  178. 50.43 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  179. 50.43 s [go-tests] + readonly ERRCHECK_PATH
  180. 50.43 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  181. 50.43 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  182. 50.43 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  183. 50.43 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  184. 50.57 s [go-tests] buildPhase completed in 47 seconds
  185. 50.57 s [go-tests] Phase: installPhase
  186. 50.58 s [go-tests] Phase: fixupPhase
  187. 50.60 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/xim5530fxyj1p1f3ii6q9agkfwmffwp5-go-tests-0.0.0
  188. 50.60 s [go-tests] checking for references to /build/ in /nix/store/xim5530fxyj1p1f3ii6q9agkfwmffwp5-go-tests-0.0.0...
  189. 50.62 s [go-tests] patching script interpreter paths in /nix/store/xim5530fxyj1p1f3ii6q9agkfwmffwp5-go-tests-0.0.0
  190. 50.84 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/xim5530fxyj1p1f3ii6q9agkfwmffwp5-go-tests-0.0.0
  191. 50.89 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  192. 50.90 s [go-tests:post-build] copying 1 paths...
  193. 50.90 s [go-tests:post-build] copying path '/nix/store/xim5530fxyj1p1f3ii6q9agkfwmffwp5-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  194. 51.10 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  195. 51.42 s [go-tests:post-build] copying 1 paths...
  196. 51.42 s [go-tests:post-build] copying path '/nix/store/am0vpz0nzvcn2q4b1f2q26jm5irh0940-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  197. 51.76 s Progress: 1 of 2 built
  198. 51.76 s Progress: 2 of 2 built
  199. 51.76 s /nix/store/xim5530fxyj1p1f3ii6q9agkfwmffwp5-go-tests-0.0.0
  200. 51.79 s Build succeeded.