1. 0.69 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-2&rev=339cc209f8a3231c96d2554dbd6dd3b7d282dd14#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.17 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/205b5900310c2f50a6b05d98228b3a94eb24fa169161bc879ec586c58132fc08.sqlite' is busy
  3. 1.83 s
  4. 2.24 s Building /nix/store/sdrra35sk4pzx3ap6cv73jdhppw55qgk-go-tests-0.0.0.drv
  5. 2.30 s [go-tests] Phase: unpackPhase
  6. 2.30 s [go-tests] unpacking source archive /nix/store/3ba5biqa0as8rxf3jl30b7bjz9lj0406-source
  7. 2.32 s [go-tests] source root is source
  8. 2.34 s [go-tests] Phase: patchPhase
  9. 2.35 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  10. 2.36 s [go-tests] Phase: configurePhase
  11. 2.37 s [go-tests] no configure script, doing nothing
  12. 2.38 s [go-tests] Phase: buildPhase
  13. 2.38 s [go-tests] patching script interpreter paths in ./dev-scripts
  14. 2.39 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"
  15. 2.41 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"
  16. 2.43 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"
  17. 2.44 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"
  18. 2.46 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"
  19. 2.47 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"
  20. 2.49 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"
  21. 2.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"
  22. 2.52 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"
  23. 2.54 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"
  24. 2.56 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"
  25. 2.58 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"
  26. 2.59 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"
  27. 2.61 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"
  28. 2.63 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"
  29. 2.64 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"
  30. 2.67 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"
  31. 2.68 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"
  32. 2.70 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"
  33. 2.72 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"
  34. 2.73 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"
  35. 2.75 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  36. 2.95 s [go-tests] + set -o pipefail
  37. 2.95 s [go-tests] + full_test=
  38. 2.95 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  39. 2.95 s [go-tests] + go_test_flags+=("-fullpath")
  40. 2.95 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  41. 2.95 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  42. 2.95 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  43. 2.95 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  44. 2.95 s [go-tests] + [[ '' = \-\-full ]]
  45. 2.95 s [go-tests] + set -u
  46. 2.95 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  47. 2.95 s [go-tests] ++ cd ./dev-scripts
  48. 2.95 s [go-tests] ++ pwd
  49. 2.95 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  50. 2.95 s [go-tests] + readonly SCRIPT_DIR
  51. 2.95 s [go-tests] + cd /build/source/dev-scripts/..
  52. 2.95 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  53. 7.28 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  54. 8.17 s [go-tests] # codeberg.org/mtlynch/little-moments/uploads
  55. 8.17 s [go-tests] uploads/processor.go:45:10: undefined: convert
  56. 10.88 s [go-tests] # codeberg.org/mtlynch/little-moments/store/sqlite
  57. 10.88 s [go-tests] store/sqlite/users.go:81:16: method Store.ReadUserByID already declared at store/sqlite/users.go:48:16
  58. 14.86 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/app [build failed]
  59. 16.20 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  60. 16.20 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  61. 16.20 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/handlers [build failed]
  62. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.032s
  63. 16.20 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  64. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.016s
  65. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.008s
  66. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.010s
  67. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.017s
  68. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.010s
  69. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.014s
  70. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.013s
  71. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.010s
  72. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.014s
  73. 16.20 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  74. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.010s
  75. 16.20 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  76. 16.20 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.007s
  77. 16.20 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  78. 16.20 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/store/sqlite [build failed]
  79. 16.20 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/store/test_sqlite [build failed]
  80. 16.20 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/uploads [build failed]
  81. 16.20 s [go-tests] FAIL
  82. 16.20 s Progress: 0 of 1 built (1 failed)
  83. 16.20 s Cannot build '/nix/store/sdrra35sk4pzx3ap6cv73jdhppw55qgk-go-tests-0.0.0.drv'.
  84. 16.20 s Reason: builder failed with exit code 1.
  85. 16.20 s Output paths:
  86. 16.20 s /nix/store/zpa58wjb7hl69rg8qv0fbs6qhdp7z0qv-go-tests-0.0.0
  87. 16.20 s Last 77 log lines:
  88. 16.20 s > Running phase: unpackPhase
  89. 16.20 s > unpacking source archive /nix/store/3ba5biqa0as8rxf3jl30b7bjz9lj0406-source
  90. 16.20 s > source root is source
  91. 16.20 s > Running phase: patchPhase
  92. 16.20 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  93. 16.20 s > Running phase: configurePhase
  94. 16.20 s > no configure script, doing nothing
  95. 16.20 s > Running phase: buildPhase
  96. 16.20 s > patching script interpreter paths in ./dev-scripts
  97. 16.20 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  98. 16.20 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  99. 16.20 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  100. 16.20 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  101. 16.20 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"
  102. 16.20 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  103. 16.20 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  104. 16.20 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"
  105. 16.20 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"
  106. 16.20 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  107. 16.20 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  108. 16.20 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  109. 16.20 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  110. 16.20 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  111. 16.20 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  112. 16.20 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  113. 16.20 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  114. 16.20 s > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  115. 16.20 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  116. 16.20 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  117. 16.20 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  118. 16.20 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  119. 16.20 s > + set -o pipefail
  120. 16.20 s > + full_test=
  121. 16.20 s > + go_test_flags=("-tags=netgo,osusergo")
  122. 16.20 s > + go_test_flags+=("-fullpath")
  123. 16.20 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  124. 16.20 s > + COVERAGE_FILE_RAW=.coverage.out
  125. 16.20 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  126. 16.20 s > + COVERAGE_FILE_HTML=.coverage.html
  127. 16.20 s > + [[ '' = \-\-full ]]
  128. 16.20 s > + set -u
  129. 16.20 s > +++ dirname ./dev-scripts/run-go-tests
  130. 16.20 s > ++ cd ./dev-scripts
  131. 16.20 s > ++ pwd
  132. 16.20 s > + SCRIPT_DIR=/build/source/dev-scripts
  133. 16.20 s > + readonly SCRIPT_DIR
  134. 16.20 s > + cd /build/source/dev-scripts/..
  135. 16.20 s > + go test -tags=netgo,osusergo -fullpath ./...
  136. 16.20 s > ? codeberg.org/mtlynch/little-moments/build [no test files]
  137. 16.20 s > # codeberg.org/mtlynch/little-moments/uploads
  138. 16.20 s > uploads/processor.go:45:10: undefined: convert
  139. 16.20 s > # codeberg.org/mtlynch/little-moments/store/sqlite
  140. 16.20 s > store/sqlite/users.go:81:16: method Store.ReadUserByID already declared at store/sqlite/users.go:48:16
  141. 16.20 s > FAIL codeberg.org/mtlynch/little-moments/cmd/app [build failed]
  142. 16.20 s > FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  143. 16.20 s > ? codeberg.org/mtlynch/little-moments/convert [no test files]
  144. 16.20 s > FAIL codeberg.org/mtlynch/little-moments/handlers [build failed]
  145. 16.20 s > ok codeberg.org/mtlynch/little-moments/imagepipe 0.032s
  146. 16.20 s > ? codeberg.org/mtlynch/little-moments/images [no test files]
  147. 16.20 s > ok codeberg.org/mtlynch/little-moments/importers 0.016s
  148. 16.20 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.008s
  149. 16.20 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.010s
  150. 16.20 s > ok codeberg.org/mtlynch/little-moments/little_moments 0.017s
  151. 16.20 s > ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.010s
  152. 16.20 s > ok codeberg.org/mtlynch/little-moments/magiclogin 0.014s
  153. 16.20 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.013s
  154. 16.20 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.010s
  155. 16.20 s > ok codeberg.org/mtlynch/little-moments/mediastore 0.014s
  156. 16.20 s > ? codeberg.org/mtlynch/little-moments/random [no test files]
  157. 16.20 s > ok codeberg.org/mtlynch/little-moments/ratelimit 0.010s
  158. 16.20 s > ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  159. 16.20 s > ok codeberg.org/mtlynch/little-moments/s3config 0.007s
  160. 16.20 s > ? codeberg.org/mtlynch/little-moments/store [no test files]
  161. 16.20 s > FAIL codeberg.org/mtlynch/little-moments/store/sqlite [build failed]
  162. 16.20 s > FAIL codeberg.org/mtlynch/little-moments/store/test_sqlite [build failed]
  163. 16.20 s > FAIL codeberg.org/mtlynch/little-moments/uploads [build failed]
  164. 16.20 s > FAIL
  165. 16.20 s For full logs, run:
  166. 16.20 s nix log /nix/store/sdrra35sk4pzx3ap6cv73jdhppw55qgk-go-tests-0.0.0.drv
  167. 16.20 s Build failed.