1. 0.10 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=about-header&rev=e238fe01c1a98a5afcd51a89e0b23e8502e774fa#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.70 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/dc175ae9b62711fa112a16f515f7efeda3f24d9aa36537e6c60d2323c8d1fb72.sqlite' is busy
  3. 2.33 s
  4. 2.50 s Building /nix/store/1vcmfik3cbjbisc8bzj1vxf5raq1vf3r-go-tests-0.0.0.drv
  5. 2.59 s [go-tests] Phase: unpackPhase
  6. 2.60 s [go-tests] unpacking source archive /nix/store/3r7nmmsn6pajj1pjfyb5pacmlsy08adp-source
  7. 2.62 s [go-tests] source root is source
  8. 2.64 s [go-tests] Phase: patchPhase
  9. 2.65 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  10. 2.67 s [go-tests] Phase: configurePhase
  11. 2.69 s [go-tests] no configure script, doing nothing
  12. 2.69 s [go-tests] Phase: buildPhase
  13. 2.70 s [go-tests] patching script interpreter paths in ./dev-scripts
  14. 2.71 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"
  15. 2.73 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. 2.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"
  17. 2.76 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.78 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"
  19. 2.80 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"
  20. 2.82 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"
  21. 2.84 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"
  22. 2.86 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"
  23. 2.88 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"
  24. 2.90 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"
  25. 2.92 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"
  26. 2.94 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"
  27. 2.96 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"
  28. 2.98 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"
  29. 3.00 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"
  30. 3.02 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. 3.04 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"
  32. 3.06 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"
  33. 3.09 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. 3.11 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"
  35. 3.13 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"
  36. 3.30 s [go-tests] + set -o pipefail
  37. 3.30 s [go-tests] + full_test=
  38. 3.30 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  39. 3.30 s [go-tests] + go_test_flags+=("-fullpath")
  40. 3.30 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  41. 3.30 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  42. 3.30 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  43. 3.30 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  44. 3.30 s [go-tests] + [[ '' = \-\-full ]]
  45. 3.30 s [go-tests] + set -u
  46. 3.30 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  47. 3.30 s [go-tests] ++ cd ./dev-scripts
  48. 3.30 s [go-tests] ++ pwd
  49. 3.30 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  50. 3.30 s [go-tests] + readonly SCRIPT_DIR
  51. 3.30 s [go-tests] + cd /build/source/dev-scripts/..
  52. 3.30 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  53. 8.34 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  54. 13.84 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  55. 20.97 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  56. 20.98 s [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files]
  57. 22.04 s [go-tests] 2026/06/22 17:30:35 reading DB from file:/TestAboutPageIncludesVersionMetadata_0x60e6bcf8488?vfs=memdb
  58. 22.04 s [go-tests] 2026/06/22 17:30:36 CSP media origin: ""
  59. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  60. 22.04 s [go-tests] --- FAIL: TestAboutPageIncludesVersionMetadata (0.98s)
  61. 22.04 s [go-tests] /build/source/handlers/about_test.go:74: about heading not found
  62. 22.04 s [go-tests] 2026/06/22 17:30:36 failed to read auth session from context: session backend unavailable
  63. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestAuthFlow_0x60e6ea99208?vfs=memdb
  64. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  65. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  66. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111
  67. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsOpenRedirectNextURL_0x60e6ea998c8?vfs=memdb
  68. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  69. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/missing_token_returns_400_0x60e6ea99d48?vfs=memdb
  70. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  71. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/malformed_token_returns_400_0x60e6f4de008?vfs=memdb
  72. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  73. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: invalid token format: invalid login token: must be 32 alphanumeric characters
  74. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/well-formed_token_that%27s_not_in_store_returns_401_0x60e6f4de248?vfs=memdb
  75. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  76. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  77. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: invalid token attempt
  78. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_expired_returns_401_0x60e6f4de488?vfs=memdb
  79. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  80. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  81. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: expired token attempt
  82. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_already_used_returns_401_0x60e6f4de6c8?vfs=memdb
  83. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  84. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  85. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: already-used token attempt
  86. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_with_session_creation_failure_returns_500_0x60e6f4de908?vfs=memdb
  87. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  88. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  89. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111
  90. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: failed to confirm login: create auth session: session broken
  91. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_with_successful_session_creation_redirects_to_stored_next_path_0x60e6f4ded88?vfs=memdb
  92. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  93. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  94. 22.04 s [go-tests] 2026/06/22 17:30:36 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111
  95. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x60e6f4defc8?vfs=memdb
  96. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  97. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/registered_email_shows_check-email_page_0x60e6f4df448?vfs=memdb
  98. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  99. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  100. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/unregistered_email_shows_check-email_page_0x60e6f4dfb08?vfs=memdb
  101. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  102. 22.04 s [go-tests] 2026/06/22 17:30:36 login attempt from unregistered email: unregistered@example.com
  103. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostDoesNotLeakTokenInProdMode_0x60e6fc70248?vfs=memdb
  104. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  105. 22.04 s [go-tests] 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  106. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/protocol-relative_next_path_is_invalid_0x60e6fc70b48?vfs=memdb
  107. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  108. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/next_path_without_leading_slash_is_invalid_0x60e6fc70d88?vfs=memdb
  109. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  110. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/malformed_next_path_is_invalid_0x60e6fc70fc8?vfs=memdb
  111. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  112. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/http_next_path_is_invalid_0x60e6fc71208?vfs=memdb
  113. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  114. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/https_next_path_is_invalid_0x60e6fc71448?vfs=memdb
  115. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  116. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/non-http_absolute_next_path_is_invalid_0x60e6fc71688?vfs=memdb
  117. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  118. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidEmail_0x60e6fc718c8?vfs=memdb
  119. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  120. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostReturnsTooManyRequestsAfterIPv4Limit_0x60e6fc70008?vfs=memdb
  121. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  122. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostDoesNotApplyIPv4LimitToIPv6_0x60e6fc706c8?vfs=memdb
  123. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  124. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostReturnsTooManyRequestsWhenRateLimited_0x60e6fc70d88?vfs=memdb
  125. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  126. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestLoginPostReturnsErrorWhenTokenCreationFails_0x60e6fc70fc8?vfs=memdb
  127. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  128. 22.04 s [go-tests] 2026/06/22 17:30:36 failed to create login token: database unavailable
  129. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestUploadGetRequiresOwner/unauthenticated_user_is_redirected_to_login_0x60e6bcf98c8?vfs=memdb
  130. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  131. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestUploadGetRequiresOwner/subscriber_is_forbidden_0x60e6bcf9b08?vfs=memdb
  132. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  133. 22.04 s [go-tests] 2026/06/22 17:30:36 reading DB from file:/TestUploadGetRequiresOwner/owner_sees_the_upload_form_0x60e6bcf9d48?vfs=memdb
  134. 22.04 s [go-tests] 2026/06/22 17:30:36 cleaning expired auth sessions from store
  135. 22.04 s [go-tests] FAIL
  136. 22.04 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/handlers 1.068s
  137. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.020s
  138. 22.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  139. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.015s
  140. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  141. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  142. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  143. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.007s
  144. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s
  145. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.008s
  146. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.013s
  147. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.006s
  148. 22.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  149. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.009s
  150. 22.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  151. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  152. 22.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  153. 22.04 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.963s
  154. 22.04 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  155. 22.04 s [go-tests] FAIL
  156. 22.31 s Progress: 0 of 1 built (1 failed)
  157. 22.32 s Cannot build '/nix/store/1vcmfik3cbjbisc8bzj1vxf5raq1vf3r-go-tests-0.0.0.drv'.
  158. 22.32 s Reason: builder failed with exit code 1.
  159. 22.32 s Output paths:
  160. 22.32 s /nix/store/706c0p0q7h66nzgy69lj936w2zycnfb6-go-tests-0.0.0
  161. 22.32 s Last 151 log lines:
  162. 22.32 s > Running phase: unpackPhase
  163. 22.32 s > unpacking source archive /nix/store/3r7nmmsn6pajj1pjfyb5pacmlsy08adp-source
  164. 22.32 s > source root is source
  165. 22.32 s > Running phase: patchPhase
  166. 22.32 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  167. 22.32 s > Running phase: configurePhase
  168. 22.32 s > no configure script, doing nothing
  169. 22.32 s > Running phase: buildPhase
  170. 22.32 s > patching script interpreter paths in ./dev-scripts
  171. 22.32 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  172. 22.32 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  173. 22.32 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  174. 22.32 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  175. 22.32 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  176. 22.32 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  177. 22.32 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  178. 22.32 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  179. 22.32 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  180. 22.32 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  181. 22.32 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  182. 22.32 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"
  183. 22.32 s > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  184. 22.32 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  185. 22.32 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  186. 22.32 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"
  187. 22.32 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  188. 22.32 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  189. 22.32 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  190. 22.32 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  191. 22.32 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  192. 22.32 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"
  193. 22.32 s > + set -o pipefail
  194. 22.32 s > + full_test=
  195. 22.32 s > + go_test_flags=("-tags=netgo,osusergo")
  196. 22.32 s > + go_test_flags+=("-fullpath")
  197. 22.32 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  198. 22.32 s > + COVERAGE_FILE_RAW=.coverage.out
  199. 22.32 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  200. 22.32 s > + COVERAGE_FILE_HTML=.coverage.html
  201. 22.32 s > + [[ '' = \-\-full ]]
  202. 22.32 s > + set -u
  203. 22.32 s > +++ dirname ./dev-scripts/run-go-tests
  204. 22.32 s > ++ cd ./dev-scripts
  205. 22.32 s > ++ pwd
  206. 22.32 s > + SCRIPT_DIR=/build/source/dev-scripts
  207. 22.32 s > + readonly SCRIPT_DIR
  208. 22.32 s > + cd /build/source/dev-scripts/..
  209. 22.32 s > + go test -tags=netgo,osusergo -fullpath ./...
  210. 22.32 s > ? codeberg.org/mtlynch/little-moments/build [no test files]
  211. 22.32 s > ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  212. 22.32 s > ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  213. 22.32 s > ? codeberg.org/mtlynch/little-moments/convert [no test files]
  214. 22.32 s > 2026/06/22 17:30:35 reading DB from file:/TestAboutPageIncludesVersionMetadata_0x60e6bcf8488?vfs=memdb
  215. 22.32 s > 2026/06/22 17:30:36 CSP media origin: ""
  216. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  217. 22.32 s > --- FAIL: TestAboutPageIncludesVersionMetadata (0.98s)
  218. 22.32 s > /build/source/handlers/about_test.go:74: about heading not found
  219. 22.32 s > 2026/06/22 17:30:36 failed to read auth session from context: session backend unavailable
  220. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestAuthFlow_0x60e6ea99208?vfs=memdb
  221. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  222. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  223. 22.32 s > 2026/06/22 17:30:36 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111
  224. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsOpenRedirectNextURL_0x60e6ea998c8?vfs=memdb
  225. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  226. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/missing_token_returns_400_0x60e6ea99d48?vfs=memdb
  227. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  228. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/malformed_token_returns_400_0x60e6f4de008?vfs=memdb
  229. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  230. 22.32 s > 2026/06/22 17:30:36 login confirm: invalid token format: invalid login token: must be 32 alphanumeric characters
  231. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/well-formed_token_that%27s_not_in_store_returns_401_0x60e6f4de248?vfs=memdb
  232. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  233. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  234. 22.32 s > 2026/06/22 17:30:36 login confirm: invalid token attempt
  235. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_expired_returns_401_0x60e6f4de488?vfs=memdb
  236. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  237. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  238. 22.32 s > 2026/06/22 17:30:36 login confirm: expired token attempt
  239. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_already_used_returns_401_0x60e6f4de6c8?vfs=memdb
  240. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  241. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  242. 22.32 s > 2026/06/22 17:30:36 login confirm: already-used token attempt
  243. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_with_session_creation_failure_returns_500_0x60e6f4de908?vfs=memdb
  244. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  245. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  246. 22.32 s > 2026/06/22 17:30:36 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111
  247. 22.32 s > 2026/06/22 17:30:36 login confirm: failed to confirm login: create auth session: session broken
  248. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginConfirmPost/valid_token_with_successful_session_creation_redirects_to_stored_next_path_0x60e6f4ded88?vfs=memdb
  249. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  250. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  251. 22.32 s > 2026/06/22 17:30:36 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111
  252. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x60e6f4defc8?vfs=memdb
  253. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  254. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/registered_email_shows_check-email_page_0x60e6f4df448?vfs=memdb
  255. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  256. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  257. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/unregistered_email_shows_check-email_page_0x60e6f4dfb08?vfs=memdb
  258. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  259. 22.32 s > 2026/06/22 17:30:36 login attempt from unregistered email: unregistered@example.com
  260. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostDoesNotLeakTokenInProdMode_0x60e6fc70248?vfs=memdb
  261. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  262. 22.32 s > 2026/06/22 17:30:36 inserting magic login token for user 11111111-1111-4111-8111-111111111111
  263. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/protocol-relative_next_path_is_invalid_0x60e6fc70b48?vfs=memdb
  264. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  265. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/next_path_without_leading_slash_is_invalid_0x60e6fc70d88?vfs=memdb
  266. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  267. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/malformed_next_path_is_invalid_0x60e6fc70fc8?vfs=memdb
  268. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  269. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/http_next_path_is_invalid_0x60e6fc71208?vfs=memdb
  270. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  271. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/https_next_path_is_invalid_0x60e6fc71448?vfs=memdb
  272. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  273. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidNextPath/non-http_absolute_next_path_is_invalid_0x60e6fc71688?vfs=memdb
  274. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  275. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostRejectsInvalidEmail_0x60e6fc718c8?vfs=memdb
  276. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  277. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostReturnsTooManyRequestsAfterIPv4Limit_0x60e6fc70008?vfs=memdb
  278. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  279. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostDoesNotApplyIPv4LimitToIPv6_0x60e6fc706c8?vfs=memdb
  280. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  281. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostReturnsTooManyRequestsWhenRateLimited_0x60e6fc70d88?vfs=memdb
  282. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  283. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestLoginPostReturnsErrorWhenTokenCreationFails_0x60e6fc70fc8?vfs=memdb
  284. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  285. 22.32 s > 2026/06/22 17:30:36 failed to create login token: database unavailable
  286. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestUploadGetRequiresOwner/unauthenticated_user_is_redirected_to_login_0x60e6bcf98c8?vfs=memdb
  287. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  288. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestUploadGetRequiresOwner/subscriber_is_forbidden_0x60e6bcf9b08?vfs=memdb
  289. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  290. 22.32 s > 2026/06/22 17:30:36 reading DB from file:/TestUploadGetRequiresOwner/owner_sees_the_upload_form_0x60e6bcf9d48?vfs=memdb
  291. 22.32 s > 2026/06/22 17:30:36 cleaning expired auth sessions from store
  292. 22.32 s > FAIL
  293. 22.32 s > FAIL codeberg.org/mtlynch/little-moments/handlers 1.068s
  294. 22.32 s > ok codeberg.org/mtlynch/little-moments/imagepipe 0.020s
  295. 22.32 s > ? codeberg.org/mtlynch/little-moments/images [no test files]
  296. 22.32 s > ok codeberg.org/mtlynch/little-moments/importers 0.015s
  297. 22.32 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.007s
  298. 22.32 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  299. 22.32 s > ok codeberg.org/mtlynch/little-moments/little_moments 0.007s
  300. 22.32 s > ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.007s
  301. 22.32 s > ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s
  302. 22.32 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.008s
  303. 22.32 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.013s
  304. 22.32 s > ok codeberg.org/mtlynch/little-moments/mediastore 0.006s
  305. 22.32 s > ? codeberg.org/mtlynch/little-moments/random [no test files]
  306. 22.32 s > ok codeberg.org/mtlynch/little-moments/ratelimit 0.009s
  307. 22.32 s > ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  308. 22.32 s > ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  309. 22.32 s > ? codeberg.org/mtlynch/little-moments/store [no test files]
  310. 22.32 s > ok codeberg.org/mtlynch/little-moments/store/sqlite 0.963s
  311. 22.32 s > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  312. 22.32 s > FAIL
  313. 22.32 s For full logs, run:
  314. 22.32 s nix log /nix/store/1vcmfik3cbjbisc8bzj1vxf5raq1vf3r-go-tests-0.0.0.drv
  315. 22.36 s Build failed.