1. 0.74 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=983619c3707171b233aa9af7e7225605f0be07da#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.77 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/6d57038da0fe2c09b21995a04c14f9e42e3d80501fa25977900953157396e726.sqlite' is busy
  3. 0.92 s
  4. 1.02 s Downloading cached source from https://cache.nix-ci.com
  5. 8.63 s Progress: 1 of 1 downloaded from cache
  6. 10.19 s Progress: 0 of 1 downloaded from cache
  7. 10.19 s Downloading cached source from https://cache.nix-ci.com
  8. 17.96 s Progress: 1 of 1 downloaded from cache
  9. 19.28 s
  10. 19.28 s Downloading cached errcheck from https://cache.nix-ci.com
  11. 19.28 s Downloading cached gci from https://cache.nix-ci.com
  12. 19.28 s Downloading cached go-critic from https://cache.nix-ci.com
  13. 19.28 s Downloading cached go-tools from https://cache.nix-ci.com
  14. 19.28 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  15. 19.28 s Downloading cached libunistring from https://cache.nix-ci.com
  16. 19.46 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  17. 19.83 s Progress: 0 of 5 built, 2 of 12 downloaded from cache (4 downloading)
  18. 20.17 s Progress: 0 of 5 built, 3 of 12 downloaded from cache (3 downloading)
  19. 20.19 s Progress: 0 of 4 built, 4 of 12 downloaded from cache (2 downloading)
  20. 20.19 s Downloading cached libidn2 from https://cache.nix-ci.com
  21. 20.32 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  22. 20.37 s Progress: 0 of 3 built, 6 of 12 downloaded from cache (1 downloading)
  23. 20.37 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  24. 20.86 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  25. 21.10 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  26. 21.10 s Downloading cached zlib from https://cache.nix-ci.com
  27. 21.14 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  28. 21.14 s Downloading cached sqlite from https://cache.nix-ci.com
  29. 21.14 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  30. 21.21 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  31. 21.21 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  32. 21.21 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  33. 21.25 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  34. 21.34 s Building /nix/store/4xl9yl876r0if4l40b6npp4zf1rr96dr-go-tests-0.0.0.drv
  35. 21.40 s [go-tests] Phase: unpackPhase
  36. 21.41 s [go-tests] unpacking source archive /nix/store/387gq68icl1nawgwp2rjkmjsccph2x8w-source
  37. 21.43 s [go-tests] source root is source
  38. 21.44 s [go-tests] Phase: patchPhase
  39. 21.45 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  40. 21.46 s [go-tests] Phase: configurePhase
  41. 21.48 s [go-tests] no configure script, doing nothing
  42. 21.48 s [go-tests] Phase: buildPhase
  43. 21.49 s [go-tests] patching script interpreter paths in ./dev-scripts
  44. 21.49 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"
  45. 21.51 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"
  46. 21.52 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"
  47. 21.54 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"
  48. 21.55 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"
  49. 21.57 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"
  50. 21.58 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"
  51. 21.60 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"
  52. 21.62 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  53. 21.63 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"
  54. 21.65 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"
  55. 21.66 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"
  56. 21.68 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"
  57. 21.70 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"
  58. 21.71 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"
  59. 21.73 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"
  60. 21.74 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"
  61. 21.76 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"
  62. 21.77 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"
  63. 21.79 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"
  64. 21.92 s [go-tests] + set -o pipefail
  65. 21.92 s [go-tests] + full_test=
  66. 21.92 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  67. 21.92 s [go-tests] + go_test_flags+=("-fullpath")
  68. 21.92 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  69. 21.92 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  70. 21.92 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  71. 21.92 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  72. 21.92 s [go-tests] + [[ '' = \-\-full ]]
  73. 21.92 s [go-tests] + set -u
  74. 21.92 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  75. 21.92 s [go-tests] ++ cd ./dev-scripts
  76. 21.92 s [go-tests] ++ pwd
  77. 21.92 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  78. 21.92 s [go-tests] + readonly SCRIPT_DIR
  79. 21.92 s [go-tests] + cd /build/source/dev-scripts/..
  80. 21.92 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  81. 24.86 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  82. 31.84 s [go-tests] # codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans
  83. 31.87 s [go-tests] cmd/import-from-tinybeans/main.go:58:35: unknown field Dir in struct literal of type mediastore.LocalWriter, but does have unexported dir
  84. 32.42 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  85. 32.42 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  86. 32.42 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  87. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 0.963s
  88. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.034s
  89. 33.38 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  90. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.022s
  91. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.011s
  92. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  93. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.017s
  94. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.009s
  95. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s
  96. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  97. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  98. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.010s
  99. 33.38 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  100. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.007s
  101. 33.38 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  102. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  103. 33.38 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  104. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.829s
  105. 33.38 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  106. 33.38 s [go-tests] ok codeberg.org/mtlynch/little-moments/uploads 0.007s
  107. 33.38 s [go-tests] FAIL
  108. 33.66 s Progress: 0 of 1 built (1 failed), 12 of 12 downloaded from cache
  109. 33.67 s Cannot build '/nix/store/4xl9yl876r0if4l40b6npp4zf1rr96dr-go-tests-0.0.0.drv'.
  110. 33.67 s Reason: builder failed with exit code 1.
  111. 33.67 s Output paths:
  112. 33.67 s /nix/store/h4x7iwpbr3brh1lzk581cqa3zydb6z5k-go-tests-0.0.0
  113. 33.67 s Last 73 log lines:
  114. 33.67 s > Running phase: unpackPhase
  115. 33.67 s > unpacking source archive /nix/store/387gq68icl1nawgwp2rjkmjsccph2x8w-source
  116. 33.67 s > source root is source
  117. 33.67 s > Running phase: patchPhase
  118. 33.67 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  119. 33.67 s > Running phase: configurePhase
  120. 33.67 s > no configure script, doing nothing
  121. 33.67 s > Running phase: buildPhase
  122. 33.67 s > patching script interpreter paths in ./dev-scripts
  123. 33.67 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  124. 33.67 s > ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  125. 33.67 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  126. 33.67 s > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  127. 33.67 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  128. 33.67 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  129. 33.67 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  130. 33.67 s > ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  131. 33.67 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  132. 33.67 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  133. 33.67 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  134. 33.67 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  135. 33.67 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  136. 33.67 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  137. 33.67 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  138. 33.67 s > ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  139. 33.67 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  140. 33.67 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  141. 33.67 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  142. 33.67 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  143. 33.67 s > + set -o pipefail
  144. 33.67 s > + full_test=
  145. 33.67 s > + go_test_flags=("-tags=netgo,osusergo")
  146. 33.67 s > + go_test_flags+=("-fullpath")
  147. 33.67 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  148. 33.67 s > + COVERAGE_FILE_RAW=.coverage.out
  149. 33.67 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  150. 33.67 s > + COVERAGE_FILE_HTML=.coverage.html
  151. 33.67 s > + [[ '' = \-\-full ]]
  152. 33.67 s > + set -u
  153. 33.67 s > +++ dirname ./dev-scripts/run-go-tests
  154. 33.67 s > ++ cd ./dev-scripts
  155. 33.67 s > ++ pwd
  156. 33.67 s > + SCRIPT_DIR=/build/source/dev-scripts
  157. 33.67 s > + readonly SCRIPT_DIR
  158. 33.67 s > + cd /build/source/dev-scripts/..
  159. 33.67 s > + go test -tags=netgo,osusergo -fullpath ./...
  160. 33.67 s > ? codeberg.org/mtlynch/little-moments/build [no test files]
  161. 33.67 s > # codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans
  162. 33.67 s > cmd/import-from-tinybeans/main.go:58:35: unknown field Dir in struct literal of type mediastore.LocalWriter, but does have unexported dir
  163. 33.67 s > ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  164. 33.67 s > FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  165. 33.67 s > ? codeberg.org/mtlynch/little-moments/convert [no test files]
  166. 33.67 s > ok codeberg.org/mtlynch/little-moments/handlers 0.963s
  167. 33.67 s > ok codeberg.org/mtlynch/little-moments/imagepipe 0.034s
  168. 33.67 s > ? codeberg.org/mtlynch/little-moments/images [no test files]
  169. 33.67 s > ok codeberg.org/mtlynch/little-moments/importers 0.022s
  170. 33.67 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.011s
  171. 33.67 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  172. 33.67 s > ok codeberg.org/mtlynch/little-moments/little_moments 0.017s
  173. 33.67 s > ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.009s
  174. 33.67 s > ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s
  175. 33.67 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.006s
  176. 33.67 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.005s
  177. 33.67 s > ok codeberg.org/mtlynch/little-moments/mediastore 0.010s
  178. 33.67 s > ? codeberg.org/mtlynch/little-moments/random [no test files]
  179. 33.67 s > ok codeberg.org/mtlynch/little-moments/ratelimit 0.007s
  180. 33.67 s > ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  181. 33.67 s > ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  182. 33.67 s > ? codeberg.org/mtlynch/little-moments/store [no test files]
  183. 33.67 s > ok codeberg.org/mtlynch/little-moments/store/sqlite 0.829s
  184. 33.67 s > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  185. 33.67 s > ok codeberg.org/mtlynch/little-moments/uploads 0.007s
  186. 33.67 s > FAIL
  187. 33.67 s For full logs, run:
  188. 33.67 s nix log /nix/store/4xl9yl876r0if4l40b6npp4zf1rr96dr-go-tests-0.0.0.drv
  189. 33.71 s Build failed.