$ /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 error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/dc175ae9b62711fa112a16f515f7efeda3f24d9aa36537e6c60d2323c8d1fb72.sqlite' is busy  Downloading cached source from https://cache.nix-ci.com Progress: 1 of 1 downloaded from cache  Downloading cached errcheck from https://cache.nix-ci.com Downloading cached gci from https://cache.nix-ci.com Downloading cached go-critic from https://cache.nix-ci.com Downloading cached go-tools from https://cache.nix-ci.com Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com Downloading cached libunistring from https://cache.nix-ci.com Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading) Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading) Progress: 0 of 5 built, 3 of 12 downloaded from cache (3 downloading) Progress: 0 of 4 built, 4 of 12 downloaded from cache (2 downloading) Downloading cached libidn2 from https://cache.nix-ci.com Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading) Downloading cached glibc-2.40 from https://cache.nix-ci.com Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading) Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading) Downloading cached zlib from https://cache.nix-ci.com Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading) Downloading cached sqlite from https://cache.nix-ci.com Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com Progress: 0 of 3 built, 9 of 12 downloaded from cache (2 downloading) Progress: 0 of 3 built, 10 of 12 downloaded from cache (1 downloading) Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com Progress: 0 of 3 built, 11 of 12 downloaded from cache (1 downloading) Progress: 0 of 2 built, 12 of 12 downloaded from cache Building /nix/store/1vcmfik3cbjbisc8bzj1vxf5raq1vf3r-go-tests-0.0.0.drv [go-tests] Phase: unpackPhase [go-tests] unpacking source archive /nix/store/3r7nmmsn6pajj1pjfyb5pacmlsy08adp-source [go-tests] source root is source [go-tests] Phase: patchPhase [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase [go-tests] Phase: configurePhase [go-tests] no configure script, doing nothing [go-tests] Phase: buildPhase [go-tests] patching script interpreter paths in ./dev-scripts [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" [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" [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [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" [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" [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" [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [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" [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [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" [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" [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [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" [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" [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" [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" [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" [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" [go-tests] + set -o pipefail [go-tests] + full_test= [go-tests] + go_test_flags=("-tags=netgo,osusergo") [go-tests] + go_test_flags+=("-fullpath") [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out [go-tests] + COVERAGE_FILE_RAW=.coverage.out [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html [go-tests] + COVERAGE_FILE_HTML=.coverage.html [go-tests] + [[ '' = \-\-full ]] [go-tests] + set -u [go-tests] +++ dirname ./dev-scripts/run-go-tests [go-tests] ++ cd ./dev-scripts [go-tests] ++ pwd [go-tests] + SCRIPT_DIR=/build/source/dev-scripts [go-tests] + readonly SCRIPT_DIR [go-tests] + cd /build/source/dev-scripts/.. [go-tests] + go test -tags=netgo,osusergo -fullpath ./... [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files] [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files] [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files] [go-tests] ? codeberg.org/mtlynch/little-moments/convert [no test files] [go-tests] 2026/06/22 17:30:09 reading DB from file:/TestAboutPageIncludesVersionMetadata_0x1c154187c488?vfs=memdb [go-tests] 2026/06/22 17:30:10 CSP media origin: "" [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] --- FAIL: TestAboutPageIncludesVersionMetadata (1.07s) [go-tests]  /build/source/handlers/about_test.go:74: about heading not found [go-tests] 2026/06/22 17:30:10 failed to read auth session from context: session backend unavailable [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestAuthFlow_0x1c1544df4b48?vfs=memdb [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsOpenRedirectNextURL_0x1c1544df5208?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/missing_token_returns_400_0x1c1544df5688?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/malformed_token_returns_400_0x1c1544df58c8?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login confirm: invalid token format: invalid login token: must be 32 alphanumeric characters [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/well-formed_token_that%27s_not_in_store_returns_401_0x1c1544df5b08?vfs=memdb [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login confirm: invalid token attempt [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_expired_returns_401_0x1c1544df5d48?vfs=memdb [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login confirm: expired token attempt [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_already_used_returns_401_0x1c1545310008?vfs=memdb [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login confirm: already-used token attempt [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_with_session_creation_failure_returns_500_0x1c1545310248?vfs=memdb [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 login confirm: failed to confirm login: create auth session: session broken [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_with_successful_session_creation_redirects_to_stored_next_path_0x1c15453106c8?vfs=memdb [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x1c1545310908?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/registered_email_shows_check-email_page_0x1c1545310d88?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/unregistered_email_shows_check-email_page_0x1c1545311448?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 login attempt from unregistered email: unregistered@example.com [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostDoesNotLeakTokenInProdMode_0x1c1545311b08?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/protocol-relative_next_path_is_invalid_0x1c15458f8488?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/next_path_without_leading_slash_is_invalid_0x1c15458f86c8?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/malformed_next_path_is_invalid_0x1c15458f8908?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/http_next_path_is_invalid_0x1c15458f8008?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/https_next_path_is_invalid_0x1c15458f8488?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/non-http_absolute_next_path_is_invalid_0x1c15458f86c8?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidEmail_0x1c15458f8b48?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostReturnsTooManyRequestsAfterIPv4Limit_0x1c15458f8d88?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostDoesNotApplyIPv4LimitToIPv6_0x1c15458f9448?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostReturnsTooManyRequestsWhenRateLimited_0x1c15458f9b08?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestLoginPostReturnsErrorWhenTokenCreationFails_0x1c15458f9d48?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 failed to create login token: database unavailable [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestUploadGetRequiresOwner/unauthenticated_user_is_redirected_to_login_0x1c1542080488?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestUploadGetRequiresOwner/subscriber_is_forbidden_0x1c15420806c8?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] 2026/06/22 17:30:10 reading DB from file:/TestUploadGetRequiresOwner/owner_sees_the_upload_form_0x1c1542080008?vfs=memdb [go-tests] 2026/06/22 17:30:10 cleaning expired auth sessions from store [go-tests] FAIL [go-tests] FAIL codeberg.org/mtlynch/little-moments/handlers 1.186s [go-tests] ok codeberg.org/mtlynch/little-moments/imagepipe 0.022s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.009s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.011s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.013s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.007s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.005s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.008s [go-tests] ok codeberg.org/mtlynch/little-moments/mediastore 0.010s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.007s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files] [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 1.179s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files] [go-tests] FAIL Progress: 0 of 1 built (1 failed), 12 of 12 downloaded from cache Cannot build '/nix/store/1vcmfik3cbjbisc8bzj1vxf5raq1vf3r-go-tests-0.0.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/706c0p0q7h66nzgy69lj936w2zycnfb6-go-tests-0.0.0 Last 151 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/3r7nmmsn6pajj1pjfyb5pacmlsy08adp-source > source root is source > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > no configure script, doing nothing > Running phase: buildPhase > patching script interpreter paths in ./dev-scripts > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash" > + set -o pipefail > + full_test= > + go_test_flags=("-tags=netgo,osusergo") > + go_test_flags+=("-fullpath") > + readonly COVERAGE_FILE_RAW=.coverage.out > + COVERAGE_FILE_RAW=.coverage.out > + readonly COVERAGE_FILE_HTML=.coverage.html > + COVERAGE_FILE_HTML=.coverage.html > + [[ '' = \-\-full ]] > + set -u > +++ dirname ./dev-scripts/run-go-tests > ++ cd ./dev-scripts > ++ pwd > + SCRIPT_DIR=/build/source/dev-scripts > + readonly SCRIPT_DIR > + cd /build/source/dev-scripts/.. > + go test -tags=netgo,osusergo -fullpath ./... > ? codeberg.org/mtlynch/little-moments/build [no test files] > ? codeberg.org/mtlynch/little-moments/cmd/app [no test files] > ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files] > ? codeberg.org/mtlynch/little-moments/convert [no test files] > 2026/06/22 17:30:09 reading DB from file:/TestAboutPageIncludesVersionMetadata_0x1c154187c488?vfs=memdb > 2026/06/22 17:30:10 CSP media origin: "" > 2026/06/22 17:30:10 cleaning expired auth sessions from store > --- FAIL: TestAboutPageIncludesVersionMetadata (1.07s) > /build/source/handlers/about_test.go:74: about heading not found > 2026/06/22 17:30:10 failed to read auth session from context: session backend unavailable > 2026/06/22 17:30:10 reading DB from file:/TestAuthFlow_0x1c1544df4b48?vfs=memdb > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsOpenRedirectNextURL_0x1c1544df5208?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/missing_token_returns_400_0x1c1544df5688?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/malformed_token_returns_400_0x1c1544df58c8?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login confirm: invalid token format: invalid login token: must be 32 alphanumeric characters > 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/well-formed_token_that%27s_not_in_store_returns_401_0x1c1544df5b08?vfs=memdb > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login confirm: invalid token attempt > 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_expired_returns_401_0x1c1544df5d48?vfs=memdb > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login confirm: expired token attempt > 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_that%27s_already_used_returns_401_0x1c1545310008?vfs=memdb > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login confirm: already-used token attempt > 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_with_session_creation_failure_returns_500_0x1c1545310248?vfs=memdb > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 login confirm: failed to confirm login: create auth session: session broken > 2026/06/22 17:30:10 reading DB from file:/TestLoginConfirmPost/valid_token_with_successful_session_creation_redirects_to_stored_next_path_0x1c15453106c8?vfs=memdb > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login confirm: consumed token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsMalformedFormBody_0x1c1545310908?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/registered_email_shows_check-email_page_0x1c1545310d88?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRendersCheckEmailPageRegardlessOfRegistration/unregistered_email_shows_check-email_page_0x1c1545311448?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 login attempt from unregistered email: unregistered@example.com > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostDoesNotLeakTokenInProdMode_0x1c1545311b08?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 inserting magic login token for user 11111111-1111-4111-8111-111111111111 > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/protocol-relative_next_path_is_invalid_0x1c15458f8488?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/next_path_without_leading_slash_is_invalid_0x1c15458f86c8?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/malformed_next_path_is_invalid_0x1c15458f8908?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/http_next_path_is_invalid_0x1c15458f8008?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/https_next_path_is_invalid_0x1c15458f8488?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidNextPath/non-http_absolute_next_path_is_invalid_0x1c15458f86c8?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostRejectsInvalidEmail_0x1c15458f8b48?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostReturnsTooManyRequestsAfterIPv4Limit_0x1c15458f8d88?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostDoesNotApplyIPv4LimitToIPv6_0x1c15458f9448?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostReturnsTooManyRequestsWhenRateLimited_0x1c15458f9b08?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestLoginPostReturnsErrorWhenTokenCreationFails_0x1c15458f9d48?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 failed to create login token: database unavailable > 2026/06/22 17:30:10 reading DB from file:/TestUploadGetRequiresOwner/unauthenticated_user_is_redirected_to_login_0x1c1542080488?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestUploadGetRequiresOwner/subscriber_is_forbidden_0x1c15420806c8?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > 2026/06/22 17:30:10 reading DB from file:/TestUploadGetRequiresOwner/owner_sees_the_upload_form_0x1c1542080008?vfs=memdb > 2026/06/22 17:30:10 cleaning expired auth sessions from store > FAIL > FAIL codeberg.org/mtlynch/little-moments/handlers 1.186s > ok codeberg.org/mtlynch/little-moments/imagepipe 0.022s > ? codeberg.org/mtlynch/little-moments/images [no test files] > ok codeberg.org/mtlynch/little-moments/importers 0.009s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.011s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.013s > ok codeberg.org/mtlynch/little-moments/little_moments 0.007s > ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.005s > ok codeberg.org/mtlynch/little-moments/magiclogin 0.008s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.005s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp 0.008s > ok codeberg.org/mtlynch/little-moments/mediastore 0.010s > ? codeberg.org/mtlynch/little-moments/random [no test files] > ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s > ? codeberg.org/mtlynch/little-moments/s3 [no test files] > ok codeberg.org/mtlynch/little-moments/s3config 0.007s > ? codeberg.org/mtlynch/little-moments/store [no test files] > ok codeberg.org/mtlynch/little-moments/store/sqlite 1.179s > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files] > FAIL For full logs, run: nix log /nix/store/1vcmfik3cbjbisc8bzj1vxf5raq1vf3r-go-tests-0.0.0.drv Build failed.