1. 0.60 s $ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/86n4l5yri6hys3zk2mwy2azcv9prqb8j-nix-2.31.4/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=pnpm&rev=e93581c3db4aea4bd6def80bf7a1a94f02edec36#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.85 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/7a7749ab475f783dfbcdfabb61fbf8a7a5ee06a8e157995a8354b14fbf14769e.sqlite' is busy
  3. 4.11 s
  4. 5.02 s Downloading cached iana-etc from https://cache.nix-ci.com
  5. 5.02 s Downloading cached mailcap from https://cache.nix-ci.com
  6. 5.02 s Downloading cached tzdata from https://cache.nix-ci.com
  7. 5.02 s Downloading cached errcheck from https://cache.nix-ci.com
  8. 5.02 s Downloading cached go-critic from https://cache.nix-ci.com
  9. 5.02 s Downloading cached go-tools from https://cache.nix-ci.com
  10. 5.02 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  11. 5.02 s Downloading cached libunistring from https://cache.nix-ci.com
  12. 5.02 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  13. 5.02 s Downloading cached libunistring from https://cache.nix-ci.com
  14. 5.23 s Building little-moments-0.0.1-go-modules
  15. 5.23 s Progress: 0 of 7 built (1 building), 1 of 19 downloaded from cache (9 downloading)
  16. 5.23 s Progress: 0 of 7 built (1 building), 2 of 19 downloaded from cache (8 downloading)
  17. 5.23 s Progress: 0 of 7 built (1 building), 3 of 19 downloaded from cache (7 downloading)
  18. 5.23 s Progress: 0 of 7 built (1 building), 4 of 19 downloaded from cache (6 downloading)
  19. 5.23 s Progress: 0 of 7 built (1 building), 5 of 19 downloaded from cache (5 downloading)
  20. 5.23 s Progress: 0 of 7 built (1 building), 6 of 19 downloaded from cache (4 downloading)
  21. 5.23 s Progress: 0 of 7 built (1 building), 7 of 19 downloaded from cache (3 downloading)
  22. 5.23 s Progress: 0 of 7 built (1 building), 8 of 19 downloaded from cache (2 downloading)
  23. 5.23 s Downloading cached libidn2 from https://cache.nix-ci.com
  24. 5.23 s Downloading cached libidn2 from https://cache.nix-ci.com
  25. 5.24 s Progress: 0 of 6 built (1 building), 9 of 19 downloaded from cache (3 downloading)
  26. 5.24 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  27. 5.25 s Progress: 0 of 6 built (1 building), 10 of 19 downloaded from cache (3 downloading)
  28. 5.25 s Downloading cached glibc-2.42 from https://cache.nix-ci.com
  29. 5.27 s Progress: 0 of 6 built (1 building), 11 of 19 downloaded from cache (3 downloading)
  30. 5.28 s [little-moments-0.0.1-go-modules] Phase: unpackPhase
  31. 5.29 s [little-moments-0.0.1-go-modules] unpacking source archive /nix/store/5rsrzas1kvs7y34g8fs4rca9rilqypdf-source
  32. 5.32 s [little-moments-0.0.1-go-modules] source root is source
  33. 5.34 s [little-moments-0.0.1-go-modules] Phase: patchPhase
  34. 5.35 s [little-moments-0.0.1-go-modules] Phase: updateAutotoolsGnuConfigScriptsPhase
  35. 5.36 s [little-moments-0.0.1-go-modules] Phase: configurePhase
  36. 5.37 s [little-moments-0.0.1-go-modules] Phase: buildPhase
  37. 5.39 s [little-moments-0.0.1-go-modules] go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  38. 5.39 s [little-moments-0.0.1-go-modules] go: downloading golang.org/x/image v0.38.0
  39. 5.39 s [little-moments-0.0.1-go-modules] go: downloading github.com/google/uuid v1.6.0
  40. 5.39 s [little-moments-0.0.1-go-modules] go: downloading codeberg.org/mtlynch/simpleauth/v3 v3.0.0-20260419204402-296b389fc48a
  41. 5.40 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2 v1.41.5
  42. 5.40 s [little-moments-0.0.1-go-modules] go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  43. 5.40 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.13
  44. 5.40 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.13
  45. 5.40 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3
  46. 5.49 s [little-moments-0.0.1-go-modules] go: downloading golang.org/x/crypto v0.32.0
  47. 5.56 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/smithy-go v1.24.2
  48. 5.57 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21
  49. 5.57 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.6
  50. 5.57 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.0.9
  51. 5.57 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.30.14
  52. 5.57 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.18
  53. 5.57 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.41.10
  54. 5.58 s Progress: 0 of 5 built (1 building), 12 of 19 downloaded from cache (2 downloading)
  55. 5.58 s Progress: 0 of 4 built (1 building), 13 of 19 downloaded from cache (1 downloading)
  56. 5.58 s Downloading cached zlib from https://cache.nix-ci.com
  57. 5.60 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.8
  58. 5.61 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21
  59. 5.61 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.22
  60. 5.61 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7
  61. 5.63 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.13
  62. 5.63 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21
  63. 5.63 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.21
  64. 5.63 s [little-moments-0.0.1-go-modules] go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21
  65. 5.63 s [little-moments-0.0.1-go-modules] go: downloading github.com/ncruces/julianday v1.0.0
  66. 5.63 s [little-moments-0.0.1-go-modules] go: downloading github.com/tetratelabs/wazero v1.8.2
  67. 5.63 s [little-moments-0.0.1-go-modules] go: downloading golang.org/x/sys v0.29.0
  68. 5.66 s Progress: 0 of 4 built (1 building), 14 of 19 downloaded from cache (1 downloading)
  69. 5.66 s Downloading cached gci from https://cache.nix-ci.com
  70. 5.68 s Progress: 0 of 4 built (1 building), 15 of 19 downloaded from cache (1 downloading)
  71. 5.68 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  72. 5.68 s Downloading cached sqlite from https://cache.nix-ci.com
  73. 5.80 s Progress: 0 of 4 built (1 building), 16 of 19 downloaded from cache (2 downloading)
  74. 5.81 s Progress: 0 of 4 built (1 building), 17 of 19 downloaded from cache (1 downloading)
  75. 5.81 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  76. 5.82 s Progress: 0 of 4 built (1 building), 18 of 19 downloaded from cache (1 downloading)
  77. 6.02 s Progress: 0 of 3 built (1 building), 19 of 19 downloaded from cache
  78. 6.87 s [little-moments-0.0.1-go-modules] Phase: installPhase
  79. 7.32 s [post-build-hook] Uploading to the NixCI cache: /nix/store/62faxjiclbamhp5wagq0sb3jdw5vwzkq-little-moments-0.0.1-go-modules
  80. 7.37 s [post-build-hook] copying 1 paths...
  81. 7.37 s [post-build-hook] copying path '/nix/store/62faxjiclbamhp5wagq0sb3jdw5vwzkq-little-moments-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  82. 10.82 s [post-build-hook] copying 0 paths...
  83. 11.15 s Progress: 1 of 3 built, 19 of 19 downloaded from cache
  84. 11.20 s Building go-tests
  85. 11.26 s [go-tests] Phase: unpackPhase
  86. 11.27 s [go-tests] unpacking source archive /nix/store/5rsrzas1kvs7y34g8fs4rca9rilqypdf-source
  87. 11.29 s [go-tests] source root is source
  88. 11.30 s [go-tests] Phase: patchPhase
  89. 11.31 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  90. 11.33 s [go-tests] Phase: configurePhase
  91. 11.34 s [go-tests] no configure script, doing nothing
  92. 11.35 s [go-tests] Phase: buildPhase
  93. 11.36 s [go-tests] patching script interpreter paths in ./dev-scripts
  94. 11.36 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"
  95. 11.38 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"
  96. 11.40 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"
  97. 11.41 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"
  98. 11.43 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"
  99. 11.45 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"
  100. 11.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"
  101. 11.48 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"
  102. 11.50 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"
  103. 11.52 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  104. 11.53 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"
  105. 11.55 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"
  106. 11.57 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"
  107. 11.58 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"
  108. 11.60 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"
  109. 11.62 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"
  110. 11.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"
  111. 11.65 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"
  112. 11.67 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"
  113. 11.69 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"
  114. 11.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"
  115. 11.72 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"
  116. 11.88 s [go-tests] + set -o pipefail
  117. 11.88 s [go-tests] + full_test=
  118. 11.88 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  119. 11.88 s [go-tests] + go_test_flags+=("-fullpath")
  120. 11.88 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  121. 11.88 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  122. 11.88 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  123. 11.88 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  124. 11.88 s [go-tests] + [[ '' = \-\-full ]]
  125. 11.88 s [go-tests] + set -u
  126. 11.88 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  127. 11.88 s [go-tests] ++ cd ./dev-scripts
  128. 11.88 s [go-tests] ++ pwd
  129. 11.88 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  130. 11.88 s [go-tests] + readonly SCRIPT_DIR
  131. 11.88 s [go-tests] + cd /build/source/dev-scripts/..
  132. 11.88 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  133. 15.28 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  134. 19.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  135. 22.75 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  136. 23.53 s [go-tests] 2026/06/04 11:21:22 failed to read auth session from context: session backend unavailable
  137. 23.53 s [go-tests] 2026/06/04 11:21:22 failed to end invalid auth session: session delete failed
  138. 23.53 s [go-tests] 2026/06/04 11:21:22 reading DB from file:/TestFailedAuthFlow_0x442425beb48?vfs=memdb
  139. 23.53 s [go-tests] 2026/06/04 11:21:23 CSP media origin: ""
  140. 23.53 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  141. 23.53 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestSuccessfulAuthFlow_0x4424516eb48?vfs=memdb
  142. 23.53 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  143. 23.53 s [go-tests] --- FAIL: TestSuccessfulAuthFlow (0.00s)
  144. 23.53 s [go-tests] /build/source/handlers/auth_test.go:157: status=302, want=200
  145. 23.53 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x4424516ed88?vfs=memdb
  146. 23.53 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  147. 23.53 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/protocol-relative_next_path_returns_bad_request_before_auth_0x4424516f208?vfs=memdb
  148. 23.53 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  149. 23.53 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/next_path_without_leading_slash_returns_bad_request_before_auth_0x4424516f448?vfs=memdb
  150. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  151. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/malformed_next_path_returns_bad_request_before_auth_0x4424516f688?vfs=memdb
  152. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  153. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/http_next_path_returns_bad_request_before_auth_0x4424516f8c8?vfs=memdb
  154. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  155. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/https_next_path_returns_bad_request_before_auth_0x4424516fb08?vfs=memdb
  156. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  157. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/non-http_absolute_next_path_returns_bad_request_before_auth_0x4424516fd48?vfs=memdb
  158. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  159. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/incorrect_password_returns_unauthorized_without_logging_in_0x44245dd2248?vfs=memdb
  160. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  161. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/rate-limited_login_attempt_returns_too_many_requests_0x44245dd2908?vfs=memdb
  162. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  163. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/unexpected_auth_error_returns_internal_server_error_0x44245dd2b48?vfs=memdb
  164. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  165. 23.54 s [go-tests] 2026/06/04 11:21:23 failed to authenticate shared secret: auth backend unavailable
  166. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/log_in_failure_returns_internal_server_error_0x44245dd2d88?vfs=memdb
  167. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  168. 23.54 s [go-tests] 2026/06/04 11:21:23 failed to create auth session: session store unavailable
  169. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/successful_login_defaults_next_to_root_route_0x44245dd2fc8?vfs=memdb
  170. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  171. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/successful_login_redirects_to_provided_next_path_0x44245dd3208?vfs=memdb
  172. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  173. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPostIgnoresNextInPostBody/defaults_to_root_route_when_next_only_appears_in_post_body_0x44245dd3688?vfs=memdb
  174. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  175. 23.54 s [go-tests] 2026/06/04 11:21:23 reading DB from file:/TestLoginPostIgnoresNextInPostBody/uses_query_string_next_when_post_body_provides_a_different_value_0x44245dd38c8?vfs=memdb
  176. 23.54 s [go-tests] 2026/06/04 11:21:23 cleaning expired auth sessions from store
  177. 23.54 s [go-tests] FAIL
  178. 23.54 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/handlers 0.776s
  179. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.351s
  180. 23.54 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  181. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.014s
  182. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  183. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  184. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  185. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.007s
  186. 23.54 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  187. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  188. 23.54 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.754s
  189. 23.54 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  190. 23.54 s [go-tests] FAIL
  191. 23.79 s Progress: 1 of 2 built (1 failed), 19 of 19 downloaded from cache
  192. 23.80 s Cannot build '/nix/store/1mrsa6bdawwwm50gaimcvxg456picyjw-go-tests-0.0.0.drv'.
  193. 23.80 s Reason: builder failed with exit code 1.
  194. 23.80 s Output paths:
  195. 23.80 s /nix/store/iz8f110qy6yfgpcapm4mk4kmpl03asmz-go-tests-0.0.0
  196. 23.80 s Last 106 log lines:
  197. 23.80 s > Running phase: unpackPhase
  198. 23.80 s > unpacking source archive /nix/store/5rsrzas1kvs7y34g8fs4rca9rilqypdf-source
  199. 23.80 s > source root is source
  200. 23.80 s > Running phase: patchPhase
  201. 23.80 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  202. 23.80 s > Running phase: configurePhase
  203. 23.80 s > no configure script, doing nothing
  204. 23.80 s > Running phase: buildPhase
  205. 23.80 s > patching script interpreter paths in ./dev-scripts
  206. 23.80 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  207. 23.80 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  208. 23.80 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"
  209. 23.80 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"
  210. 23.80 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  211. 23.80 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  212. 23.80 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  213. 23.80 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  214. 23.80 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  215. 23.80 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  216. 23.80 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  217. 23.80 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  218. 23.80 s > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  219. 23.80 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"
  220. 23.80 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  221. 23.80 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  222. 23.80 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  223. 23.80 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  224. 23.80 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  225. 23.80 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  226. 23.80 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  227. 23.80 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  228. 23.80 s > + set -o pipefail
  229. 23.80 s > + full_test=
  230. 23.80 s > + go_test_flags=("-tags=netgo,osusergo")
  231. 23.80 s > + go_test_flags+=("-fullpath")
  232. 23.80 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  233. 23.80 s > + COVERAGE_FILE_RAW=.coverage.out
  234. 23.80 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  235. 23.80 s > + COVERAGE_FILE_HTML=.coverage.html
  236. 23.80 s > + [[ '' = \-\-full ]]
  237. 23.80 s > + set -u
  238. 23.80 s > +++ dirname ./dev-scripts/run-go-tests
  239. 23.80 s > ++ cd ./dev-scripts
  240. 23.80 s > ++ pwd
  241. 23.80 s > + SCRIPT_DIR=/build/source/dev-scripts
  242. 23.80 s > + readonly SCRIPT_DIR
  243. 23.80 s > + cd /build/source/dev-scripts/..
  244. 23.80 s > + go test -tags=netgo,osusergo -fullpath ./...
  245. 23.80 s > ? codeberg.org/mtlynch/little-moments/build [no test files]
  246. 23.80 s > ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  247. 23.80 s > ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  248. 23.80 s > 2026/06/04 11:21:22 failed to read auth session from context: session backend unavailable
  249. 23.80 s > 2026/06/04 11:21:22 failed to end invalid auth session: session delete failed
  250. 23.80 s > 2026/06/04 11:21:22 reading DB from file:/TestFailedAuthFlow_0x442425beb48?vfs=memdb
  251. 23.80 s > 2026/06/04 11:21:23 CSP media origin: ""
  252. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  253. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestSuccessfulAuthFlow_0x4424516eb48?vfs=memdb
  254. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  255. 23.80 s > --- FAIL: TestSuccessfulAuthFlow (0.00s)
  256. 23.80 s > /build/source/handlers/auth_test.go:157: status=302, want=200
  257. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x4424516ed88?vfs=memdb
  258. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  259. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/protocol-relative_next_path_returns_bad_request_before_auth_0x4424516f208?vfs=memdb
  260. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  261. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/next_path_without_leading_slash_returns_bad_request_before_auth_0x4424516f448?vfs=memdb
  262. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  263. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/malformed_next_path_returns_bad_request_before_auth_0x4424516f688?vfs=memdb
  264. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  265. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/http_next_path_returns_bad_request_before_auth_0x4424516f8c8?vfs=memdb
  266. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  267. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/https_next_path_returns_bad_request_before_auth_0x4424516fb08?vfs=memdb
  268. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  269. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/non-http_absolute_next_path_returns_bad_request_before_auth_0x4424516fd48?vfs=memdb
  270. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  271. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/incorrect_password_returns_unauthorized_without_logging_in_0x44245dd2248?vfs=memdb
  272. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  273. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/rate-limited_login_attempt_returns_too_many_requests_0x44245dd2908?vfs=memdb
  274. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  275. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/unexpected_auth_error_returns_internal_server_error_0x44245dd2b48?vfs=memdb
  276. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  277. 23.80 s > 2026/06/04 11:21:23 failed to authenticate shared secret: auth backend unavailable
  278. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/log_in_failure_returns_internal_server_error_0x44245dd2d88?vfs=memdb
  279. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  280. 23.80 s > 2026/06/04 11:21:23 failed to create auth session: session store unavailable
  281. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/successful_login_defaults_next_to_root_route_0x44245dd2fc8?vfs=memdb
  282. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  283. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPost/successful_login_redirects_to_provided_next_path_0x44245dd3208?vfs=memdb
  284. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  285. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPostIgnoresNextInPostBody/defaults_to_root_route_when_next_only_appears_in_post_body_0x44245dd3688?vfs=memdb
  286. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  287. 23.80 s > 2026/06/04 11:21:23 reading DB from file:/TestLoginPostIgnoresNextInPostBody/uses_query_string_next_when_post_body_provides_a_different_value_0x44245dd38c8?vfs=memdb
  288. 23.80 s > 2026/06/04 11:21:23 cleaning expired auth sessions from store
  289. 23.80 s > FAIL
  290. 23.80 s > FAIL codeberg.org/mtlynch/little-moments/handlers 0.776s
  291. 23.80 s > ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.351s
  292. 23.80 s > ? codeberg.org/mtlynch/little-moments/images [no test files]
  293. 23.80 s > ok codeberg.org/mtlynch/little-moments/importers 0.014s
  294. 23.80 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  295. 23.80 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  296. 23.80 s > ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  297. 23.80 s > ok codeberg.org/mtlynch/little-moments/ratelimit 0.007s
  298. 23.80 s > ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  299. 23.80 s > ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  300. 23.80 s > ok codeberg.org/mtlynch/little-moments/store/sqlite 0.754s
  301. 23.80 s > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  302. 23.80 s > FAIL
  303. 23.80 s For full logs, run:
  304. 23.80 s nix log /nix/store/1mrsa6bdawwwm50gaimcvxg456picyjw-go-tests-0.0.0.drv