build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.60 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=doc-auth-service&rev=2d5cc49732020ed53ace47a32f6cf489b6299263#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.40 s
  3. 3.41 s Downloading cached source from https://cache.nix-ci.com
  4. 12.80 s Progress: 1 of 1 downloaded from cache
  5. 26.39 s Progress: 0 of 1 downloaded from cache
  6. 26.40 s Downloading cached source from https://cache.nix-ci.com
  7. 35.10 s Progress: 1 of 1 downloaded from cache
  8. 45.42 s
  9. 45.43 s Downloading cached iana-etc from https://cache.nix-ci.com
  10. 45.44 s Downloading cached mailcap from https://cache.nix-ci.com
  11. 45.44 s Downloading cached tzdata from https://cache.nix-ci.com
  12. 45.44 s Downloading cached errcheck from https://cache.nix-ci.com
  13. 45.44 s Downloading cached go-critic from https://cache.nix-ci.com
  14. 45.44 s Downloading cached go-tools from https://cache.nix-ci.com
  15. 45.44 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  16. 45.44 s Downloading cached libunistring from https://cache.nix-ci.com
  17. 45.44 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  18. 45.44 s Downloading cached libunistring from https://cache.nix-ci.com
  19. 45.44 s Progress: 0 of 6 built, 1 of 19 downloaded from cache (9 downloading)
  20. 45.44 s Progress: 0 of 6 built, 2 of 19 downloaded from cache (8 downloading)
  21. 45.45 s Progress: 0 of 6 built, 3 of 19 downloaded from cache (7 downloading)
  22. 45.45 s Progress: 0 of 6 built, 4 of 19 downloaded from cache (6 downloading)
  23. 45.47 s Progress: 0 of 6 built, 5 of 19 downloaded from cache (5 downloading)
  24. 45.47 s Downloading cached libidn2 from https://cache.nix-ci.com
  25. 45.48 s Progress: 0 of 6 built, 6 of 19 downloaded from cache (5 downloading)
  26. 45.48 s Downloading cached libidn2 from https://cache.nix-ci.com
  27. 45.49 s Progress: 0 of 6 built, 7 of 19 downloaded from cache (5 downloading)
  28. 45.49 s Downloading cached glibc-2.42 from https://cache.nix-ci.com
  29. 45.50 s Progress: 0 of 6 built, 8 of 19 downloaded from cache (5 downloading)
  30. 45.50 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  31. 45.51 s Progress: 0 of 6 built, 9 of 19 downloaded from cache (5 downloading)
  32. 45.53 s Progress: 0 of 6 built, 10 of 19 downloaded from cache (4 downloading)
  33. 45.54 s Progress: 0 of 5 built, 11 of 19 downloaded from cache (3 downloading)
  34. 45.81 s Progress: 0 of 4 built, 12 of 19 downloaded from cache (2 downloading)
  35. 45.81 s Downloading cached zlib from https://cache.nix-ci.com
  36. 45.82 s Progress: 0 of 4 built, 13 of 19 downloaded from cache (2 downloading)
  37. 45.82 s Downloading cached sqlite from https://cache.nix-ci.com
  38. 45.82 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  39. 45.84 s Progress: 0 of 4 built, 14 of 19 downloaded from cache (3 downloading)
  40. 45.84 s Downloading cached gci from https://cache.nix-ci.com
  41. 45.86 s Progress: 0 of 4 built, 15 of 19 downloaded from cache (3 downloading)
  42. 45.87 s Progress: 0 of 3 built, 16 of 19 downloaded from cache (2 downloading)
  43. 45.88 s Progress: 0 of 3 built, 17 of 19 downloaded from cache (1 downloading)
  44. 45.88 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  45. 45.91 s Progress: 0 of 3 built, 18 of 19 downloaded from cache (1 downloading)
  46. 45.99 s Progress: 0 of 2 built, 19 of 19 downloaded from cache
  47. 46.10 s Building go-tests
  48. 46.17 s [go-tests] Phase: unpackPhase
  49. 46.17 s [go-tests] unpacking source archive /nix/store/zv9iqihaqarfwly5v3dj3cb83yr18w3x-source
  50. 46.19 s [go-tests] source root is source
  51. 46.20 s [go-tests] Phase: patchPhase
  52. 46.21 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  53. 46.22 s [go-tests] Phase: configurePhase
  54. 46.24 s [go-tests] no configure script, doing nothing
  55. 46.24 s [go-tests] Phase: buildPhase
  56. 46.25 s [go-tests] patching script interpreter paths in ./dev-scripts
  57. 46.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"
  58. 46.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"
  59. 46.28 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"
  60. 46.30 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"
  61. 46.31 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"
  62. 46.33 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. 46.35 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"
  64. 46.36 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"
  65. 46.38 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"
  66. 46.39 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"
  67. 46.41 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"
  68. 46.42 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"
  69. 46.44 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  70. 46.45 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"
  71. 46.47 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"
  72. 46.48 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. 46.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"
  74. 46.51 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"
  75. 46.53 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"
  76. 46.55 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"
  77. 46.56 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"
  78. 46.58 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"
  79. 46.72 s [go-tests] + set -o pipefail
  80. 46.72 s [go-tests] + full_test=
  81. 46.72 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  82. 46.72 s [go-tests] + go_test_flags+=("-fullpath")
  83. 46.72 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  84. 46.72 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  85. 46.72 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  86. 46.72 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  87. 46.72 s [go-tests] + [[ '' = \-\-full ]]
  88. 46.72 s [go-tests] + set -u
  89. 46.72 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  90. 46.72 s [go-tests] ++ cd ./dev-scripts
  91. 46.72 s [go-tests] ++ pwd
  92. 46.72 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  93. 46.72 s [go-tests] + readonly SCRIPT_DIR
  94. 46.72 s [go-tests] + cd /build/source/dev-scripts/..
  95. 46.72 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  96. 49.77 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  97. 53.00 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  98. 56.58 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  99. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.740s
  100. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.345s
  101. 57.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  102. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  103. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.004s
  104. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  105. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  106. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  107. 57.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  108. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  109. 57.32 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.697s
  110. 57.32 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  111. 57.41 s [go-tests] + [[ -n '' ]]
  112. 57.41 s [go-tests] + go vet ./...
  113. 64.97 s [go-tests] + go_package_dirs=()
  114. 65.23 s [go-tests] + IFS=
  115. 65.23 s [go-tests] + read -r go_package_dir
  116. 65.23 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  117. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 65.23 s [go-tests] + IFS=
  119. 65.23 s [go-tests] + read -r go_package_dir
  120. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 65.23 s [go-tests] + IFS=
  122. 65.23 s [go-tests] + read -r go_package_dir
  123. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 65.23 s [go-tests] + IFS=
  125. 65.23 s [go-tests] + read -r go_package_dir
  126. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 65.23 s [go-tests] + IFS=
  128. 65.23 s [go-tests] + read -r go_package_dir
  129. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 65.23 s [go-tests] + IFS=
  131. 65.23 s [go-tests] + read -r go_package_dir
  132. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 65.23 s [go-tests] + IFS=
  134. 65.23 s [go-tests] + read -r go_package_dir
  135. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 65.23 s [go-tests] + IFS=
  137. 65.23 s [go-tests] + read -r go_package_dir
  138. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 65.23 s [go-tests] + IFS=
  140. 65.23 s [go-tests] + read -r go_package_dir
  141. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 65.23 s [go-tests] + IFS=
  143. 65.23 s [go-tests] + read -r go_package_dir
  144. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 65.23 s [go-tests] + IFS=
  146. 65.23 s [go-tests] + read -r go_package_dir
  147. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 65.23 s [go-tests] + IFS=
  149. 65.23 s [go-tests] + read -r go_package_dir
  150. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 65.23 s [go-tests] + IFS=
  152. 65.23 s [go-tests] + read -r go_package_dir
  153. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 65.23 s [go-tests] + IFS=
  155. 65.23 s [go-tests] + read -r go_package_dir
  156. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 65.23 s [go-tests] + IFS=
  158. 65.23 s [go-tests] + read -r go_package_dir
  159. 65.23 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 65.23 s [go-tests] + IFS=
  161. 65.23 s [go-tests] + read -r go_package_dir
  162. 65.23 s [go-tests] + readonly go_package_dirs
  163. 65.23 s [go-tests] ++ go env GOPATH
  164. 65.23 s [go-tests] + GCI_PATH=/build/go/bin/gci
  165. 65.23 s [go-tests] + readonly GCI_PATH
  166. 65.23 s [go-tests] + readonly GCI_VERSION=v0.14.0
  167. 65.23 s [go-tests] + GCI_VERSION=v0.14.0
  168. 65.23 s [go-tests] + [[ -f /build/go/bin/gci ]]
  169. 65.23 s [go-tests] ++ /build/go/bin/gci --version
  170. 65.23 s [go-tests] + gci_version_output='gci version 0.14.0'
  171. 65.23 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  172. 65.23 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  173. 65.23 s [go-tests] + readonly gci_sections
  174. 65.23 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
  175. 65.23 s [go-tests] + gci_output=
  176. 65.23 s [go-tests] + [[ -n '' ]]
  177. 65.23 s [go-tests] ++ go env GOPATH
  178. 65.23 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  179. 65.23 s [go-tests] + readonly GOCRITIC_PATH
  180. 65.23 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  181. 65.23 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  182. 65.23 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  183. 65.23 s [go-tests] + /build/go/bin/go-critic check ./...
  184. 65.79 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  185. 66.34 s [go-tests] ++ go env GOPATH
  186. 66.34 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  187. 66.34 s [go-tests] + readonly STATICCHECK_PATH
  188. 66.34 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  189. 66.34 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  190. 66.34 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  191. 66.34 s [go-tests] + /build/go/bin/staticcheck ./...
  192. 70.21 s [go-tests] ++ go env GOPATH
  193. 70.23 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  194. 70.23 s [go-tests] + readonly ERRCHECK_PATH
  195. 70.23 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  196. 70.23 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  197. 70.23 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  198. 70.23 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  199. 70.42 s [go-tests] Phase: installPhase
  200. 70.43 s [go-tests] Phase: fixupPhase
  201. 70.44 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/22644vdw8d1zmdsigz1m23j7y54d8w4m-go-tests-0.0.0
  202. 70.44 s [go-tests] checking for references to /build/ in /nix/store/22644vdw8d1zmdsigz1m23j7y54d8w4m-go-tests-0.0.0...
  203. 70.46 s [go-tests] patching script interpreter paths in /nix/store/22644vdw8d1zmdsigz1m23j7y54d8w4m-go-tests-0.0.0
  204. 70.49 s [post-build-hook] Uploading to the NixCI cache: /nix/store/22644vdw8d1zmdsigz1m23j7y54d8w4m-go-tests-0.0.0
  205. 70.54 s [post-build-hook] copying 1 paths...
  206. 70.54 s [post-build-hook] copying path '/nix/store/22644vdw8d1zmdsigz1m23j7y54d8w4m-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  207. 71.84 s [post-build-hook] copying 1 paths...
  208. 71.85 s [post-build-hook] copying path '/nix/store/rxlmgyf1knh9mzg5vndj56mjiaxmyfx9-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  209. 72.48 s Progress: 1 of 2 built, 19 of 19 downloaded from cache