1. 1.09 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=987913ad3b46d1354d99ceea02d8b8d0654ad8f5#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.74 s
  3. 1.74 s Building /nix/store/4cjlczscj9y6799s006hs6nmmg8mkw82-go-tests-0.0.0.drv
  4. 1.74 s [go-tests] Phase: unpackPhase
  5. 1.74 s [go-tests] unpacking source archive /nix/store/mczjnk2winjhk31rzcxiky2mnhap667h-source
  6. 1.74 s [go-tests] source root is source
  7. 1.74 s [go-tests] Phase: patchPhase
  8. 1.74 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  9. 1.74 s [go-tests] Phase: configurePhase
  10. 1.74 s [go-tests] no configure script, doing nothing
  11. 1.74 s [go-tests] Phase: buildPhase
  12. 1.74 s [go-tests] patching script interpreter paths in ./dev-scripts
  13. 1.74 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"
  14. 1.74 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"
  15. 1.74 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"
  16. 1.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"
  17. 1.74 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"
  18. 1.74 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"
  19. 1.74 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"
  20. 1.74 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"
  21. 1.74 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"
  22. 1.74 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"
  23. 1.74 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"
  24. 1.74 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"
  25. 1.74 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"
  26. 1.74 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"
  27. 1.74 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"
  28. 1.74 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"
  29. 1.74 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"
  30. 1.74 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"
  31. 1.74 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"
  32. 1.74 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"
  33. 1.74 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"
  34. 1.74 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  35. 1.75 s [go-tests] + set -o pipefail
  36. 1.75 s [go-tests] + full_test=
  37. 1.75 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  38. 1.75 s [go-tests] + go_test_flags+=("-fullpath")
  39. 1.75 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  40. 1.75 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  41. 1.75 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  42. 1.75 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  43. 1.75 s [go-tests] + [[ '' = \-\-full ]]
  44. 1.75 s [go-tests] + set -u
  45. 1.75 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  46. 1.75 s [go-tests] ++ cd ./dev-scripts
  47. 1.75 s [go-tests] ++ pwd
  48. 1.75 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  49. 1.75 s [go-tests] + readonly SCRIPT_DIR
  50. 1.75 s [go-tests] + cd /build/source/dev-scripts/..
  51. 1.75 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  52. 4.71 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  53. 9.51 s [go-tests] # codeberg.org/mtlynch/little-moments/store/sqlite
  54. 9.55 s [go-tests] store/sqlite/users.go:81:16: method Store.ReadUserByID already declared at store/sqlite/users.go:48:16
  55. 14.23 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/app [build failed]
  56. 14.23 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  57. 14.23 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  58. 14.23 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/handlers [build failed]
  59. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.034s
  60. 14.27 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  61. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.009s
  62. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  63. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.012s
  64. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.006s
  65. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.006s
  66. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s
  67. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.007s
  68. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.011s
  69. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.012s
  70. 14.27 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  71. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.009s
  72. 14.27 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  73. 14.27 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  74. 14.27 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  75. 14.27 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/store/sqlite [build failed]
  76. 14.27 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/store/test_sqlite [build failed]
  77. 14.27 s [go-tests] ? codeberg.org/mtlynch/little-moments/uploads [no test files]
  78. 14.27 s [go-tests] FAIL
  79. 14.51 s Progress: 0 of 1 built (1 failed)
  80. 14.51 s Cannot build '/nix/store/4cjlczscj9y6799s006hs6nmmg8mkw82-go-tests-0.0.0.drv'.
  81. 14.51 s Reason: builder failed with exit code 1.
  82. 14.51 s Output paths:
  83. 14.51 s /nix/store/s7ycml4v61mdbq4jks3bvdac3vn797sj-go-tests-0.0.0
  84. 14.51 s Last 75 log lines:
  85. 14.51 s > Running phase: unpackPhase
  86. 14.51 s > unpacking source archive /nix/store/mczjnk2winjhk31rzcxiky2mnhap667h-source
  87. 14.51 s > source root is source
  88. 14.51 s > Running phase: patchPhase
  89. 14.51 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  90. 14.51 s > Running phase: configurePhase
  91. 14.51 s > no configure script, doing nothing
  92. 14.51 s > Running phase: buildPhase
  93. 14.51 s > patching script interpreter paths in ./dev-scripts
  94. 14.51 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  95. 14.51 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  96. 14.51 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  97. 14.51 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  98. 14.51 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"
  99. 14.51 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  100. 14.51 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  101. 14.51 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"
  102. 14.51 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"
  103. 14.51 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  104. 14.51 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  105. 14.51 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  106. 14.51 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  107. 14.51 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  108. 14.51 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  109. 14.51 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  110. 14.51 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  111. 14.51 s > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  112. 14.51 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  113. 14.51 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  114. 14.51 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  115. 14.51 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  116. 14.51 s > + set -o pipefail
  117. 14.51 s > + full_test=
  118. 14.51 s > + go_test_flags=("-tags=netgo,osusergo")
  119. 14.51 s > + go_test_flags+=("-fullpath")
  120. 14.51 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  121. 14.51 s > + COVERAGE_FILE_RAW=.coverage.out
  122. 14.51 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  123. 14.51 s > + COVERAGE_FILE_HTML=.coverage.html
  124. 14.51 s > + [[ '' = \-\-full ]]
  125. 14.51 s > + set -u
  126. 14.51 s > +++ dirname ./dev-scripts/run-go-tests
  127. 14.51 s > ++ cd ./dev-scripts
  128. 14.51 s > ++ pwd
  129. 14.51 s > + SCRIPT_DIR=/build/source/dev-scripts
  130. 14.51 s > + readonly SCRIPT_DIR
  131. 14.51 s > + cd /build/source/dev-scripts/..
  132. 14.51 s > + go test -tags=netgo,osusergo -fullpath ./...
  133. 14.51 s > ? codeberg.org/mtlynch/little-moments/build [no test files]
  134. 14.51 s > # codeberg.org/mtlynch/little-moments/store/sqlite
  135. 14.51 s > store/sqlite/users.go:81:16: method Store.ReadUserByID already declared at store/sqlite/users.go:48:16
  136. 14.51 s > FAIL codeberg.org/mtlynch/little-moments/cmd/app [build failed]
  137. 14.51 s > FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  138. 14.51 s > ? codeberg.org/mtlynch/little-moments/convert [no test files]
  139. 14.51 s > FAIL codeberg.org/mtlynch/little-moments/handlers [build failed]
  140. 14.51 s > ok codeberg.org/mtlynch/little-moments/imagepipe 0.034s
  141. 14.51 s > ? codeberg.org/mtlynch/little-moments/images [no test files]
  142. 14.51 s > ok codeberg.org/mtlynch/little-moments/importers 0.009s
  143. 14.51 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  144. 14.51 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.012s
  145. 14.51 s > ok codeberg.org/mtlynch/little-moments/little_moments 0.006s
  146. 14.51 s > ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.006s
  147. 14.51 s > ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s
  148. 14.51 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.007s
  149. 14.51 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.011s
  150. 14.51 s > ok codeberg.org/mtlynch/little-moments/mediastore 0.012s
  151. 14.51 s > ? codeberg.org/mtlynch/little-moments/random [no test files]
  152. 14.51 s > ok codeberg.org/mtlynch/little-moments/ratelimit 0.009s
  153. 14.51 s > ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  154. 14.51 s > ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  155. 14.51 s > ? codeberg.org/mtlynch/little-moments/store [no test files]
  156. 14.51 s > FAIL codeberg.org/mtlynch/little-moments/store/sqlite [build failed]
  157. 14.51 s > FAIL codeberg.org/mtlynch/little-moments/store/test_sqlite [build failed]
  158. 14.51 s > ? codeberg.org/mtlynch/little-moments/uploads [no test files]
  159. 14.51 s > FAIL
  160. 14.51 s For full logs, run:
  161. 14.51 s nix log /nix/store/4cjlczscj9y6799s006hs6nmmg8mkw82-go-tests-0.0.0.drv
  162. 14.52 s Build failed.