1. 0.92 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=scope-go-tests&rev=788ee3fe74532782ce580734c5e2e084891d70af&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.54 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/170fb9dae21e70ee668083dc8d420e86a5a1158b4d6c086c5f97e202a8b7db59.sqlite' is busy
  3. 2.12 s
  4. 2.49 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 2.49 s Downloading cached gci from https://cache.nix-ci.com
  6. 2.49 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 2.49 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 2.49 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  9. 2.49 s Downloading cached libunistring from https://cache.nix-ci.com
  10. 2.69 s Downloaded cached gci (14.3 MiB) in 205ms
  11. 2.69 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  12. 2.70 s Downloaded cached errcheck (5.2 MiB) in 214ms
  13. 2.70 s Progress: 0 of 5 built, 2 of 12 downloaded from cache (4 downloading)
  14. 2.71 s Downloaded cached libunistring (2 MiB) in 224ms
  15. 2.71 s Progress: 0 of 4 built, 3 of 12 downloaded from cache (3 downloading)
  16. 2.71 s Downloading cached libidn2 from https://cache.nix-ci.com
  17. 2.72 s Downloaded cached xgcc-15.2.0-libgcc (193 KiB) in 229ms
  18. 2.72 s Progress: 0 of 4 built, 4 of 12 downloaded from cache (3 downloading)
  19. 2.73 s Downloaded cached libidn2 (359 KiB) in 13ms
  20. 2.73 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  21. 2.73 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  22. 2.75 s Downloaded cached go-critic (9.3 MiB) in 261ms
  23. 2.75 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  24. 2.93 s Downloaded cached go-tools (45.4 MiB) in 442ms
  25. 2.93 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  26. 3.02 s Downloaded cached glibc-2.40 (28.8 MiB) in 293ms
  27. 3.02 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  28. 3.02 s Downloading cached zlib from https://cache.nix-ci.com
  29. 3.04 s Downloaded cached zlib (129 KiB) in 16ms
  30. 3.04 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  31. 3.04 s Downloading cached sqlite from https://cache.nix-ci.com
  32. 3.04 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  33. 3.09 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 54ms
  34. 3.09 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  35. 3.09 s Downloaded cached sqlite (3.8 MiB) in 58ms
  36. 3.09 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  37. 3.09 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  38. 3.11 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 18ms
  39. 3.11 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  40. 3.20 s Building /nix/store/dmmhs4kmis57sngpyw09qcvm1nn57anj-go-tests-0.0.0.drv
  41. 3.27 s [go-tests] Phase: unpackPhase
  42. 3.27 s [go-tests] unpacking source archive /nix/store/1g9wkda6sbi3gqkqmgsbp22s754miqk1-source
  43. 3.29 s [go-tests] source root is source
  44. 3.31 s [go-tests] Phase: patchPhase
  45. 3.32 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  46. 3.33 s [go-tests] Phase: configurePhase
  47. 3.35 s [go-tests] no configure script, doing nothing
  48. 3.36 s [go-tests] Phase: buildPhase
  49. 3.36 s [go-tests] patching script interpreter paths in ./dev-scripts
  50. 3.37 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"
  51. 3.53 s [go-tests] + set -o pipefail
  52. 3.53 s [go-tests] + full_test=
  53. 3.53 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  54. 3.53 s [go-tests] + go_test_flags+=("-fullpath")
  55. 3.53 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  56. 3.53 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  57. 3.53 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  58. 3.53 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  59. 3.53 s [go-tests] + case "${1:-}" in
  60. 3.53 s [go-tests] + [[ 0 -gt 1 ]]
  61. 3.53 s [go-tests] + set -u
  62. 3.53 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  63. 3.53 s [go-tests] ++ cd ./dev-scripts
  64. 3.53 s [go-tests] ++ pwd
  65. 3.54 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  66. 3.54 s [go-tests] + readonly SCRIPT_DIR
  67. 3.54 s [go-tests] + cd /build/source/dev-scripts/..
  68. 3.54 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  69. 8.29 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  70. 17.09 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  71. 19.23 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  72. 19.23 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  73. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.435s
  74. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/images 0.027s
  75. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.009s
  76. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.008s
  77. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.007s
  78. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  79. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.010s
  80. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.011s
  81. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.008s
  82. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.007s
  83. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.009s
  84. 19.23 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  85. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.006s
  86. 19.23 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  87. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.009s
  88. 19.23 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  89. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.965s
  90. 19.23 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  91. 19.23 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.007s
  92. 19.23 s [go-tests] + [[ -n '' ]]
  93. 19.23 s [go-tests] + go vet ./...
  94. 35.22 s [go-tests] + go_package_dirs=()
  95. 35.23 s [go-tests] + IFS=
  96. 35.23 s [go-tests] + read -r go_package_dir
  97. 35.23 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  98. 35.37 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  99. 35.37 s [go-tests] + IFS=
  100. 35.37 s [go-tests] + read -r go_package_dir
  101. 35.37 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  102. 35.37 s [go-tests] + IFS=
  103. 35.37 s [go-tests] + read -r go_package_dir
  104. 35.37 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  105. 35.37 s [go-tests] + IFS=
  106. 35.37 s [go-tests] + read -r go_package_dir
  107. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 35.38 s [go-tests] + IFS=
  109. 35.38 s [go-tests] + read -r go_package_dir
  110. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 35.38 s [go-tests] + IFS=
  112. 35.38 s [go-tests] + read -r go_package_dir
  113. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 35.38 s [go-tests] + IFS=
  115. 35.38 s [go-tests] + read -r go_package_dir
  116. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 35.38 s [go-tests] + IFS=
  118. 35.38 s [go-tests] + read -r go_package_dir
  119. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 35.38 s [go-tests] + IFS=
  121. 35.38 s [go-tests] + read -r go_package_dir
  122. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  123. 35.38 s [go-tests] + IFS=
  124. 35.38 s [go-tests] + read -r go_package_dir
  125. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  126. 35.38 s [go-tests] + IFS=
  127. 35.38 s [go-tests] + read -r go_package_dir
  128. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  129. 35.38 s [go-tests] + IFS=
  130. 35.38 s [go-tests] + read -r go_package_dir
  131. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  132. 35.38 s [go-tests] + IFS=
  133. 35.38 s [go-tests] + read -r go_package_dir
  134. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  135. 35.38 s [go-tests] + IFS=
  136. 35.38 s [go-tests] + read -r go_package_dir
  137. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  138. 35.38 s [go-tests] + IFS=
  139. 35.38 s [go-tests] + read -r go_package_dir
  140. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  141. 35.38 s [go-tests] + IFS=
  142. 35.38 s [go-tests] + read -r go_package_dir
  143. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  144. 35.38 s [go-tests] + IFS=
  145. 35.38 s [go-tests] + read -r go_package_dir
  146. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  147. 35.38 s [go-tests] + IFS=
  148. 35.38 s [go-tests] + read -r go_package_dir
  149. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  150. 35.38 s [go-tests] + IFS=
  151. 35.38 s [go-tests] + read -r go_package_dir
  152. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  153. 35.38 s [go-tests] + IFS=
  154. 35.38 s [go-tests] + read -r go_package_dir
  155. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  156. 35.38 s [go-tests] + IFS=
  157. 35.38 s [go-tests] + read -r go_package_dir
  158. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  159. 35.38 s [go-tests] + IFS=
  160. 35.38 s [go-tests] + read -r go_package_dir
  161. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  162. 35.38 s [go-tests] + IFS=
  163. 35.38 s [go-tests] + read -r go_package_dir
  164. 35.38 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  165. 35.38 s [go-tests] + IFS=
  166. 35.38 s [go-tests] + read -r go_package_dir
  167. 35.38 s [go-tests] + readonly go_package_dirs
  168. 35.38 s [go-tests] ++ go env GOBIN
  169. 35.38 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  170. 35.38 s [go-tests] + readonly GCI_PATH
  171. 35.38 s [go-tests] + readonly GCI_VERSION=v0.14.0
  172. 35.38 s [go-tests] + GCI_VERSION=v0.14.0
  173. 35.38 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  174. 35.38 s [go-tests] ++ /build/home/go/bin/gci --version
  175. 35.39 s [go-tests] + gci_version_output='gci version 0.14.0'
  176. 35.39 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  177. 35.39 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  178. 35.39 s [go-tests] + readonly gci_sections
  179. 35.39 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/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
  180. 35.47 s [go-tests] + gci_output=
  181. 35.47 s [go-tests] + [[ -n '' ]]
  182. 35.47 s [go-tests] ++ go env GOBIN
  183. 35.48 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  184. 35.48 s [go-tests] + readonly GOCRITIC_PATH
  185. 35.48 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  186. 35.48 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  187. 35.48 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  188. 35.48 s [go-tests] + /build/home/go/bin/go-critic check ./...
  189. 36.87 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  190. 37.80 s [go-tests] ++ go env GOBIN
  191. 37.81 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  192. 37.81 s [go-tests] + readonly STATICCHECK_PATH
  193. 37.81 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  194. 37.81 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  195. 37.81 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  196. 37.81 s [go-tests] + /build/home/go/bin/staticcheck ./...
  197. 43.48 s [go-tests] ++ go env GOBIN
  198. 43.49 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  199. 43.49 s [go-tests] + readonly ERRCHECK_PATH
  200. 43.49 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  201. 43.49 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  202. 43.49 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  203. 43.49 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  204. 43.85 s [go-tests] buildPhase completed in 40 seconds
  205. 43.85 s [go-tests] Phase: installPhase
  206. 43.87 s [go-tests] Phase: fixupPhase
  207. 43.88 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/vibis08p56szlq5vd26vq0j7xspz6s5v-go-tests-0.0.0
  208. 43.89 s [go-tests] checking for references to /build/ in /nix/store/vibis08p56szlq5vd26vq0j7xspz6s5v-go-tests-0.0.0...
  209. 43.91 s [go-tests] patching script interpreter paths in /nix/store/vibis08p56szlq5vd26vq0j7xspz6s5v-go-tests-0.0.0
  210. 44.17 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/vibis08p56szlq5vd26vq0j7xspz6s5v-go-tests-0.0.0
  211. 44.22 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  212. 44.23 s [go-tests:post-build] copying 1 paths...
  213. 44.23 s [go-tests:post-build] copying path '/nix/store/vibis08p56szlq5vd26vq0j7xspz6s5v-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  214. 44.33 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  215. 44.91 s [go-tests:post-build] copying 2 paths...
  216. 44.92 s [go-tests:post-build] copying path '/nix/store/1g9wkda6sbi3gqkqmgsbp22s754miqk1-source' to 'https://cache.nix-ci.com'...
  217. 45.83 s [go-tests:post-build] copying path '/nix/store/dmmhs4kmis57sngpyw09qcvm1nn57anj-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  218. 45.99 s Uploaded go-tests in 1.8s
  219. 45.99 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  220. 45.99 s Built go-tests in 42.7s
  221. 45.99 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  222. 45.99 s /nix/store/vibis08p56szlq5vd26vq0j7xspz6s5v-go-tests-0.0.0
  223. 46.06 s Build succeeded.