build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.00 s $ /nix/store/61685rbaxmpigwi3z23i33sv3jyfl70q-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/wknkybkzrc16r11vk5vrykh4wmw7a353-nix-2.34.8/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=fix%2Fwebm-content-type&rev=d3a0586cac8f5b682b8b3071b7cc5bd3fb0d2d12&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.09 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/d38a75452fecdd4451c8f9576a3613c01f6e256409b69584a1faec4ca372dbb4.sqlite' is busy
  3. 2.29 s
  4. 2.61 s Downloading cached little-moments-0.0.1-go-modules from https://cache.nix-ci.com
  5. 2.61 s Downloading cached errcheck from https://cache.nix-ci.com
  6. 2.61 s Downloading cached gci from https://cache.nix-ci.com
  7. 2.61 s Downloading cached go from https://cache.nix-ci.com
  8. 2.61 s Downloading cached go-tools from https://cache.nix-ci.com
  9. 2.61 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  10. 2.61 s Downloading cached libunistring from https://cache.nix-ci.com
  11. 2.69 s Downloaded cached xgcc-15.2.0-libgcc (193 KiB) in 75ms
  12. 2.69 s Progress: 0 of 8 built, 1 of 14 downloaded from cache (6 downloading)
  13. 2.72 s Downloaded cached libunistring (2 MiB) in 110ms
  14. 2.72 s Progress: 0 of 8 built, 2 of 14 downloaded from cache (5 downloading)
  15. 2.72 s Downloading cached libidn2 from https://cache.nix-ci.com
  16. 2.85 s Downloaded cached gci (14.3 MiB) in 238ms
  17. 2.85 s Progress: 0 of 8 built, 3 of 14 downloaded from cache (5 downloading)
  18. 3.34 s Downloaded cached little-moments-0.0.1-go-modules (18.6 MiB) in 731ms
  19. 3.34 s Progress: 0 of 7 built, 4 of 14 downloaded from cache (4 downloading)
  20. 3.56 s Downloaded cached errcheck (5.2 MiB) in 946ms
  21. 3.56 s Progress: 0 of 6 built, 5 of 14 downloaded from cache (3 downloading)
  22. 3.59 s Downloaded cached libidn2 (359 KiB) in 872ms
  23. 3.59 s Progress: 0 of 5 built, 6 of 14 downloaded from cache (2 downloading)
  24. 3.59 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  25. 4.13 s Downloaded cached glibc-2.40 (28.8 MiB) in 536ms
  26. 4.13 s Progress: 0 of 5 built, 7 of 14 downloaded from cache (2 downloading)
  27. 4.13 s Downloading cached zlib from https://cache.nix-ci.com
  28. 4.42 s Downloaded cached go-tools (45.4 MiB) in 1.8s
  29. 4.42 s Progress: 0 of 5 built, 8 of 14 downloaded from cache (2 downloading)
  30. 4.42 s Downloaded cached zlib (129 KiB) in 286ms
  31. 4.42 s Progress: 0 of 4 built, 9 of 14 downloaded from cache (1 downloading)
  32. 4.42 s Downloading cached sqlite from https://cache.nix-ci.com
  33. 4.42 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  34. 4.50 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 87ms
  35. 4.50 s Progress: 0 of 4 built, 10 of 14 downloaded from cache (2 downloading)
  36. 4.51 s Downloaded cached sqlite (3.8 MiB) in 93ms
  37. 4.51 s Progress: 0 of 4 built, 11 of 14 downloaded from cache (1 downloading)
  38. 4.51 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  39. 4.57 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 59ms
  40. 4.57 s Progress: 0 of 4 built, 12 of 14 downloaded from cache (1 downloading)
  41. 4.95 s Downloaded cached go (216.6 MiB) in 2.3s
  42. 4.95 s Progress: 0 of 3 built, 13 of 14 downloaded from cache
  43. 4.95 s Downloading cached go-critic from https://cache.nix-ci.com
  44. 5.17 s Downloaded cached go-critic (9.3 MiB) in 222ms
  45. 5.17 s Progress: 0 of 2 built, 14 of 14 downloaded from cache
  46. 5.28 s Building /nix/store/5vbxkbsxsamh60h409y9pnb1vmrqvjan-go-tests-0.0.0.drv
  47. 5.34 s [go-tests] Phase: unpackPhase
  48. 5.35 s [go-tests] unpacking source archive /nix/store/8g2lkk31rxjmlgpm240cpjxz8mb8n4ah-source
  49. 5.37 s [go-tests] source root is source
  50. 5.38 s [go-tests] Phase: patchPhase
  51. 5.38 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  52. 5.39 s [go-tests] Phase: configurePhase
  53. 5.41 s [go-tests] no configure script, doing nothing
  54. 5.41 s [go-tests] Phase: buildPhase
  55. 5.42 s [go-tests] patching script interpreter paths in ./dev-scripts
  56. 5.42 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"
  57. 5.58 s [go-tests] + set -o pipefail
  58. 5.58 s [go-tests] + full_test=
  59. 5.58 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  60. 5.58 s [go-tests] + go_test_flags+=("-fullpath")
  61. 5.58 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  62. 5.58 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  63. 5.58 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  64. 5.58 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  65. 5.58 s [go-tests] + case "${1:-}" in
  66. 5.58 s [go-tests] + [[ 0 -gt 1 ]]
  67. 5.58 s [go-tests] + set -u
  68. 5.58 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  69. 5.58 s [go-tests] ++ cd ./dev-scripts
  70. 5.58 s [go-tests] ++ pwd
  71. 5.58 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  72. 5.58 s [go-tests] + readonly SCRIPT_DIR
  73. 5.58 s [go-tests] + cd /build/source/dev-scripts/..
  74. 5.58 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  75. 9.35 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  76. 17.28 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  77. 17.28 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  78. 17.28 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  79. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.679s
  80. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.028s
  81. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.006s
  82. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.405s
  83. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s
  84. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.008s
  85. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.006s
  86. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  87. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  88. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  89. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/media 0.006s
  90. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.008s
  91. 17.96 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  92. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  93. 17.96 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  94. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.007s
  95. 17.96 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  96. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.380s
  97. 17.96 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  98. 17.96 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.065s
  99. 18.09 s [go-tests] + [[ -n '' ]]
  100. 18.09 s [go-tests] + go vet ./...
  101. 25.79 s [go-tests] + go_package_dirs=()
  102. 25.79 s [go-tests] + IFS=
  103. 25.79 s [go-tests] + read -r go_package_dir
  104. 25.79 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  105. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 25.86 s [go-tests] + IFS=
  107. 25.86 s [go-tests] + read -r go_package_dir
  108. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 25.86 s [go-tests] + IFS=
  110. 25.86 s [go-tests] + read -r go_package_dir
  111. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 25.86 s [go-tests] + IFS=
  113. 25.86 s [go-tests] + read -r go_package_dir
  114. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 25.86 s [go-tests] + IFS=
  116. 25.86 s [go-tests] + read -r go_package_dir
  117. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  118. 25.86 s [go-tests] + IFS=
  119. 25.86 s [go-tests] + read -r go_package_dir
  120. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  121. 25.86 s [go-tests] + IFS=
  122. 25.86 s [go-tests] + read -r go_package_dir
  123. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  124. 25.86 s [go-tests] + IFS=
  125. 25.86 s [go-tests] + read -r go_package_dir
  126. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  127. 25.86 s [go-tests] + IFS=
  128. 25.86 s [go-tests] + read -r go_package_dir
  129. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  130. 25.86 s [go-tests] + IFS=
  131. 25.86 s [go-tests] + read -r go_package_dir
  132. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  133. 25.86 s [go-tests] + IFS=
  134. 25.86 s [go-tests] + read -r go_package_dir
  135. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  136. 25.86 s [go-tests] + IFS=
  137. 25.86 s [go-tests] + read -r go_package_dir
  138. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  139. 25.86 s [go-tests] + IFS=
  140. 25.86 s [go-tests] + read -r go_package_dir
  141. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  142. 25.86 s [go-tests] + IFS=
  143. 25.86 s [go-tests] + read -r go_package_dir
  144. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  145. 25.86 s [go-tests] + IFS=
  146. 25.86 s [go-tests] + read -r go_package_dir
  147. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  148. 25.86 s [go-tests] + IFS=
  149. 25.86 s [go-tests] + read -r go_package_dir
  150. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  151. 25.86 s [go-tests] + IFS=
  152. 25.86 s [go-tests] + read -r go_package_dir
  153. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  154. 25.86 s [go-tests] + IFS=
  155. 25.86 s [go-tests] + read -r go_package_dir
  156. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  157. 25.86 s [go-tests] + IFS=
  158. 25.86 s [go-tests] + read -r go_package_dir
  159. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  160. 25.86 s [go-tests] + IFS=
  161. 25.86 s [go-tests] + read -r go_package_dir
  162. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  163. 25.86 s [go-tests] + IFS=
  164. 25.86 s [go-tests] + read -r go_package_dir
  165. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  166. 25.86 s [go-tests] + IFS=
  167. 25.86 s [go-tests] + read -r go_package_dir
  168. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  169. 25.86 s [go-tests] + IFS=
  170. 25.86 s [go-tests] + read -r go_package_dir
  171. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  172. 25.86 s [go-tests] + IFS=
  173. 25.86 s [go-tests] + read -r go_package_dir
  174. 25.86 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  175. 25.86 s [go-tests] + IFS=
  176. 25.86 s [go-tests] + read -r go_package_dir
  177. 25.87 s [go-tests] + readonly go_package_dirs
  178. 25.87 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  179. 25.87 s [go-tests] + readonly gci_sections
  180. 25.87 s [go-tests] ++ 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/media /build/source/mediastore /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
  181. 25.90 s [go-tests] + gci_output=
  182. 25.90 s [go-tests] + [[ -n '' ]]
  183. 25.90 s [go-tests] + gocritic check ./...
  184. 26.67 s [go-tests] + gocritic check -enable=returnAfterHttpError ./...
  185. 27.20 s [go-tests] + staticcheck ./...
  186. 30.60 s [go-tests] + errcheck -ignoretests ./...
  187. 30.78 s [go-tests] Phase: installPhase
  188. 30.78 s [go-tests] Phase: fixupPhase
  189. 30.79 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/nxf27hlkd7ah9bgcd1xfmsv88xd4936s-go-tests-0.0.0
  190. 30.79 s [go-tests] checking for references to /build/ in /nix/store/nxf27hlkd7ah9bgcd1xfmsv88xd4936s-go-tests-0.0.0...
  191. 30.80 s [go-tests] patching script interpreter paths in /nix/store/nxf27hlkd7ah9bgcd1xfmsv88xd4936s-go-tests-0.0.0
  192. 30.97 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/nxf27hlkd7ah9bgcd1xfmsv88xd4936s-go-tests-0.0.0
  193. 31.00 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  194. 31.01 s [go-tests:post-build] copying 1 paths...
  195. 31.01 s [go-tests:post-build] copying path '/nix/store/nxf27hlkd7ah9bgcd1xfmsv88xd4936s-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  196. 31.20 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  197. 31.64 s [go-tests:post-build] copying 3 paths...
  198. 31.64 s [go-tests:post-build] copying path '/nix/store/rls0dkl9xz6q3iisrfcrc0dkfs1ql2vm-little-moments-0.0.1-go-modules.drv' to 'https://cache.nix-ci.com'...
  199. 31.64 s [go-tests:post-build] copying path '/nix/store/8g2lkk31rxjmlgpm240cpjxz8mb8n4ah-source' to 'https://cache.nix-ci.com'...
  200. 32.36 s [go-tests:post-build] copying path '/nix/store/5vbxkbsxsamh60h409y9pnb1vmrqvjan-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  201. 32.62 s Uploaded go-tests in 1.6s
  202. 32.62 s Progress: 1 of 2 built, 14 of 14 downloaded from cache
  203. 32.62 s Built go-tests in 27.3s
  204. 32.62 s Progress: 2 of 2 built, 14 of 14 downloaded from cache
  205. 32.62 s /nix/store/nxf27hlkd7ah9bgcd1xfmsv88xd4936s-go-tests-0.0.0
  206. 32.64 s Build succeeded.