build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.86 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=login-email-ratelimit&rev=2d04d4b827572c6fe2692fd077af3e29f95f5200#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.51 s fetching Git repository 'https://codeberg.org/mtlynch/little-moments'
  3. 16.72 s
  4. 16.77 s Downloading cached source from https://cache.nix-ci.com
  5. 26.84 s Progress: 1 of 1 downloaded from cache
  6. 39.22 s
  7. 39.23 s Downloading cached iana-etc from https://cache.nix-ci.com
  8. 39.24 s Downloading cached mailcap from https://cache.nix-ci.com
  9. 39.24 s Downloading cached tzdata from https://cache.nix-ci.com
  10. 39.24 s Downloading cached errcheck from https://cache.nix-ci.com
  11. 39.24 s Downloading cached go-critic from https://cache.nix-ci.com
  12. 39.24 s Downloading cached go-tools from https://cache.nix-ci.com
  13. 39.24 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  14. 39.24 s Downloading cached libunistring from https://cache.nix-ci.com
  15. 39.24 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  16. 39.24 s Downloading cached libunistring from https://cache.nix-ci.com
  17. 39.25 s Progress: 0 of 6 built, 1 of 19 downloaded from cache (9 downloading)
  18. 39.26 s Progress: 0 of 6 built, 2 of 19 downloaded from cache (8 downloading)
  19. 39.26 s Progress: 0 of 6 built, 3 of 19 downloaded from cache (7 downloading)
  20. 39.26 s Progress: 0 of 6 built, 4 of 19 downloaded from cache (6 downloading)
  21. 39.28 s Progress: 0 of 6 built, 5 of 19 downloaded from cache (5 downloading)
  22. 39.28 s Downloading cached libidn2 from https://cache.nix-ci.com
  23. 39.29 s Progress: 0 of 6 built, 6 of 19 downloaded from cache (5 downloading)
  24. 39.29 s Downloading cached libidn2 from https://cache.nix-ci.com
  25. 39.30 s Progress: 0 of 6 built, 7 of 19 downloaded from cache (5 downloading)
  26. 39.30 s Downloading cached glibc-2.42 from https://cache.nix-ci.com
  27. 39.31 s Progress: 0 of 6 built, 8 of 19 downloaded from cache (5 downloading)
  28. 39.31 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  29. 39.34 s Progress: 0 of 6 built, 9 of 19 downloaded from cache (5 downloading)
  30. 39.35 s Progress: 0 of 6 built, 10 of 19 downloaded from cache (4 downloading)
  31. 39.38 s Progress: 0 of 5 built, 11 of 19 downloaded from cache (3 downloading)
  32. 39.65 s Progress: 0 of 4 built, 12 of 19 downloaded from cache (2 downloading)
  33. 39.65 s Downloading cached zlib from https://cache.nix-ci.com
  34. 39.67 s Progress: 0 of 4 built, 13 of 19 downloaded from cache (2 downloading)
  35. 39.67 s Downloading cached sqlite from https://cache.nix-ci.com
  36. 39.67 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  37. 39.67 s Progress: 0 of 4 built, 14 of 19 downloaded from cache (3 downloading)
  38. 39.67 s Downloading cached gci from https://cache.nix-ci.com
  39. 39.71 s Progress: 0 of 4 built, 15 of 19 downloaded from cache (3 downloading)
  40. 39.71 s Progress: 0 of 3 built, 16 of 19 downloaded from cache (2 downloading)
  41. 39.72 s Progress: 0 of 3 built, 17 of 19 downloaded from cache (1 downloading)
  42. 39.72 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  43. 39.74 s Progress: 0 of 3 built, 18 of 19 downloaded from cache (1 downloading)
  44. 39.83 s Progress: 0 of 2 built, 19 of 19 downloaded from cache
  45. 39.97 s Building go-tests
  46. 40.03 s [go-tests] Phase: unpackPhase
  47. 40.04 s [go-tests] unpacking source archive /nix/store/w10zxjp1b1vm7pq0zrhkw93mcbr77b6x-source
  48. 40.06 s [go-tests] source root is source
  49. 40.08 s [go-tests] Phase: patchPhase
  50. 40.09 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  51. 40.10 s [go-tests] Phase: configurePhase
  52. 40.12 s [go-tests] no configure script, doing nothing
  53. 40.12 s [go-tests] Phase: buildPhase
  54. 40.13 s [go-tests] patching script interpreter paths in ./dev-scripts
  55. 40.13 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"
  56. 40.15 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"
  57. 40.17 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"
  58. 40.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"
  59. 40.20 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"
  60. 40.22 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"
  61. 40.24 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"
  62. 40.25 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"
  63. 40.27 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"
  64. 40.28 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"
  65. 40.30 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"
  66. 40.32 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"
  67. 40.33 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"
  68. 40.35 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"
  69. 40.36 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"
  70. 40.38 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"
  71. 40.40 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"
  72. 40.41 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"
  73. 40.43 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"
  74. 40.44 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"
  75. 40.46 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"
  76. 40.48 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"
  77. 40.62 s [go-tests] + set -o pipefail
  78. 40.62 s [go-tests] + full_test=
  79. 40.62 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  80. 40.62 s [go-tests] + go_test_flags+=("-fullpath")
  81. 40.62 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  82. 40.62 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  83. 40.62 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  84. 40.62 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  85. 40.62 s [go-tests] + [[ '' = \-\-full ]]
  86. 40.62 s [go-tests] + set -u
  87. 40.62 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  88. 40.62 s [go-tests] ++ cd ./dev-scripts
  89. 40.62 s [go-tests] ++ pwd
  90. 40.62 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  91. 40.63 s [go-tests] + readonly SCRIPT_DIR
  92. 40.63 s [go-tests] + cd /build/source/dev-scripts/..
  93. 40.63 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  94. 44.05 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  95. 47.95 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  96. 51.91 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  97. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.972s
  98. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.302s
  99. 52.89 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  100. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.016s
  101. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  102. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  103. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  104. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.005s
  105. 52.89 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  106. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  107. 52.89 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.719s
  108. 52.89 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  109. 52.99 s [go-tests] + [[ -n '' ]]
  110. 53.00 s [go-tests] + go vet ./...
  111. 61.00 s [go-tests] + go_package_dirs=()
  112. 61.02 s [go-tests] + IFS=
  113. 61.02 s [go-tests] + read -r go_package_dir
  114. 61.02 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  115. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 61.07 s [go-tests] + IFS=
  117. 61.07 s [go-tests] + read -r go_package_dir
  118. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  119. 61.07 s [go-tests] + IFS=
  120. 61.07 s [go-tests] + read -r go_package_dir
  121. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  122. 61.07 s [go-tests] + IFS=
  123. 61.07 s [go-tests] + read -r go_package_dir
  124. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  125. 61.07 s [go-tests] + IFS=
  126. 61.07 s [go-tests] + read -r go_package_dir
  127. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  128. 61.07 s [go-tests] + IFS=
  129. 61.07 s [go-tests] + read -r go_package_dir
  130. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  131. 61.07 s [go-tests] + IFS=
  132. 61.07 s [go-tests] + read -r go_package_dir
  133. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  134. 61.07 s [go-tests] + IFS=
  135. 61.07 s [go-tests] + read -r go_package_dir
  136. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  137. 61.07 s [go-tests] + IFS=
  138. 61.07 s [go-tests] + read -r go_package_dir
  139. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  140. 61.07 s [go-tests] + IFS=
  141. 61.07 s [go-tests] + read -r go_package_dir
  142. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  143. 61.07 s [go-tests] + IFS=
  144. 61.07 s [go-tests] + read -r go_package_dir
  145. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  146. 61.07 s [go-tests] + IFS=
  147. 61.07 s [go-tests] + read -r go_package_dir
  148. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  149. 61.07 s [go-tests] + IFS=
  150. 61.07 s [go-tests] + read -r go_package_dir
  151. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  152. 61.07 s [go-tests] + IFS=
  153. 61.07 s [go-tests] + read -r go_package_dir
  154. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  155. 61.07 s [go-tests] + IFS=
  156. 61.07 s [go-tests] + read -r go_package_dir
  157. 61.07 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  158. 61.07 s [go-tests] + IFS=
  159. 61.07 s [go-tests] + read -r go_package_dir
  160. 61.08 s [go-tests] + readonly go_package_dirs
  161. 61.08 s [go-tests] ++ go env GOPATH
  162. 61.08 s [go-tests] + GCI_PATH=/build/go/bin/gci
  163. 61.08 s [go-tests] + readonly GCI_PATH
  164. 61.08 s [go-tests] + readonly GCI_VERSION=v0.14.0
  165. 61.08 s [go-tests] + GCI_VERSION=v0.14.0
  166. 61.08 s [go-tests] + [[ -f /build/go/bin/gci ]]
  167. 61.08 s [go-tests] ++ /build/go/bin/gci --version
  168. 61.09 s [go-tests] + gci_version_output='gci version 0.14.0'
  169. 61.09 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  170. 61.09 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  171. 61.09 s [go-tests] + readonly gci_sections
  172. 61.09 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/handlers/auth/shared_secret /build/source/images /build/source/importers /build/source/importers/tinybeans /build/source/importers/tinybeans/parse /build/source/little_moments /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store/sqlite /build/source/store/test_sqlite
  173. 61.11 s [go-tests] + gci_output=
  174. 61.11 s [go-tests] + [[ -n '' ]]
  175. 61.11 s [go-tests] ++ go env GOPATH
  176. 61.12 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  177. 61.12 s [go-tests] + readonly GOCRITIC_PATH
  178. 61.12 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  179. 61.12 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  180. 61.12 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  181. 61.12 s [go-tests] + /build/go/bin/go-critic check ./...
  182. 61.80 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  183. 62.31 s [go-tests] ++ go env GOPATH
  184. 62.32 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  185. 62.32 s [go-tests] + readonly STATICCHECK_PATH
  186. 62.32 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  187. 62.32 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  188. 62.32 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  189. 62.32 s [go-tests] + /build/go/bin/staticcheck ./...
  190. 66.09 s [go-tests] ++ go env GOPATH
  191. 66.11 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  192. 66.11 s [go-tests] + readonly ERRCHECK_PATH
  193. 66.11 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  194. 66.11 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  195. 66.11 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  196. 66.11 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  197. 66.27 s [go-tests] Phase: installPhase
  198. 66.28 s [go-tests] Phase: fixupPhase
  199. 66.30 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/qnaf5lwfy3c03xrzw9f1yjlgi4achvj4-go-tests-0.0.0
  200. 66.30 s [go-tests] checking for references to /build/ in /nix/store/qnaf5lwfy3c03xrzw9f1yjlgi4achvj4-go-tests-0.0.0...
  201. 66.31 s [go-tests] patching script interpreter paths in /nix/store/qnaf5lwfy3c03xrzw9f1yjlgi4achvj4-go-tests-0.0.0
  202. 66.34 s [post-build-hook] Uploading to the NixCI cache: /nix/store/qnaf5lwfy3c03xrzw9f1yjlgi4achvj4-go-tests-0.0.0
  203. 66.39 s [post-build-hook] copying 1 paths...
  204. 66.39 s [post-build-hook] copying path '/nix/store/qnaf5lwfy3c03xrzw9f1yjlgi4achvj4-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  205. 67.45 s [post-build-hook] copying 1 paths...
  206. 67.46 s [post-build-hook] copying path '/nix/store/j3fsmrw0xai7rcs2manxg5mh5l3n2ajh-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  207. 67.86 s Progress: 1 of 2 built, 19 of 19 downloaded from cache