this derivation will be built: /nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv building '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv' on 'ssh-ng://nix@jamie' building '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv' gitea-mq-0.1.0> Running phase: unpackPhase gitea-mq-0.1.0> unpacking source archive /nix/store/3k9phrlq5nda01b8mhf5hm8s4rw0i7sb-source gitea-mq-0.1.0> source root is source gitea-mq-0.1.0> Running phase: patchPhase gitea-mq-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase gitea-mq-0.1.0> Running phase: configurePhase gitea-mq-0.1.0> Running phase: buildPhase gitea-mq-0.1.0> Building subPackage ./cmd/gitea-mq gitea-mq-0.1.0> Building subPackage ./internal/batch gitea-mq-0.1.0> Building subPackage ./internal/config gitea-mq-0.1.0> Building subPackage ./internal/discovery gitea-mq-0.1.0> Building subPackage ./internal/forge gitea-mq-0.1.0> Building subPackage ./internal/gitea gitea-mq-0.1.0> Building subPackage ./internal/github gitea-mq-0.1.0> Building subPackage ./internal/github/ghfake gitea-mq-0.1.0> Building subPackage ./internal/integration gitea-mq-0.1.0> github.com/Mic92/gitea-mq/internal/integration: no non-test Go files in /build/source/internal/integration gitea-mq-0.1.0> Building subPackage ./internal/merge gitea-mq-0.1.0> Building subPackage ./internal/monitor gitea-mq-0.1.0> Building subPackage ./internal/poller gitea-mq-0.1.0> Building subPackage ./internal/queue gitea-mq-0.1.0> Building subPackage ./internal/registry gitea-mq-0.1.0> Building subPackage ./internal/store/pg gitea-mq-0.1.0> Building subPackage ./internal/testutil gitea-mq-0.1.0> Building subPackage ./internal/web gitea-mq-0.1.0> Building subPackage ./internal/webhook gitea-mq-0.1.0> Running phase: checkPhase gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/batch 3.613s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/config 0.032s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/discovery 1.530s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/forge 0.029s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/gitea 0.042s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/github 0.229s gitea-mq-0.1.0> The files belonging to this database system will be owned by user "nixbld". gitea-mq-0.1.0> This user must also own the server process. gitea-mq-0.1.0> gitea-mq-0.1.0> The database cluster will be initialized with locale "C". gitea-mq-0.1.0> The default database encoding has accordingly been set to "SQL_ASCII". gitea-mq-0.1.0> The default text search configuration will be set to "english". gitea-mq-0.1.0> gitea-mq-0.1.0> Data page checksums are disabled. gitea-mq-0.1.0> gitea-mq-0.1.0> creating directory /build/gitea-mq-test-postgres1917360308/data ... ok gitea-mq-0.1.0> creating subdirectories ... ok gitea-mq-0.1.0> selecting dynamic shared memory implementation ... posix gitea-mq-0.1.0> selecting default "max_connections" ... 100 gitea-mq-0.1.0> selecting default "shared_buffers" ... 128MB gitea-mq-0.1.0> selecting default time zone ... UTC gitea-mq-0.1.0> creating configuration files ... ok gitea-mq-0.1.0> running bootstrap script ... ok gitea-mq-0.1.0> performing post-bootstrap initialization ... ok gitea-mq-0.1.0> syncing data to disk ... ok gitea-mq-0.1.0> gitea-mq-0.1.0> initdb: warning: enabling "trust" authentication for local connections gitea-mq-0.1.0> initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. gitea-mq-0.1.0> gitea-mq-0.1.0> Success. You can now start the database server using: gitea-mq-0.1.0> gitea-mq-0.1.0> pg_ctl -D /build/gitea-mq-test-postgres1917360308/data -l logfile start gitea-mq-0.1.0> gitea-mq-0.1.0> 2026-06-25 13:18:42.840 UTC [95662] LOG: starting PostgreSQL 17.10 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit gitea-mq-0.1.0> 2026-06-25 13:18:42.840 UTC [95662] LOG: listening on Unix socket "/build/gitea-mq-test-postgres1917360308/.s.PGSQL.5432" gitea-mq-0.1.0> 2026-06-25 13:18:42.845 UTC [95666] LOG: database system was shut down at 2026-06-25 13:18:42 UTC gitea-mq-0.1.0> 2026-06-25 13:18:42.851 UTC [95662] LOG: database system is ready to accept connections gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:263:runWeb() [I] Starting Gitea on PID: 95672 gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:115:showWebStartupMessage() [I] Gitea version: 1.26.4 built with go1.26.3 : sqlite, sqlite_unlock_notify gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:116:showWebStartupMessage() [I] * RunMode: prod gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:117:showWebStartupMessage() [I] * AppPath: /nix/store/493m1wfasarvkpqgvpp1vigciy80b3by-gitea-1.26.4/bin/gitea gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:118:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea416249983 gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:119:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea416249983/custom gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:120:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea416249983/custom/conf/app.ini gitea-mq-0.1.0> 2026/06/25 13:18:43 cmd/web.go:121:showWebStartupMessage() [I] Prepare to run web server gitea-mq-0.1.0> 2026/06/25 13:18:43 routers/init.go:117:InitWebInstalled() [I] Git version: 2.54.0 (home: /build/gitea-mq-test-gitea416249983/data/home) gitea-mq-0.1.0> New user 'testuser' has been successfully created! gitea-mq-0.1.0> 2026-06-25 13:18:45.145 UTC [95912] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:18:45.145 UTC [95912] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:18:45 OK 001_initial.sql (7.49ms) gitea-mq-0.1.0> 2026/06/25 13:18:45 OK 002_check_status_target_url.sql (754.74µs) gitea-mq-0.1.0> 2026/06/25 13:18:45 OK 003_add_forge.sql (1.44ms) gitea-mq-0.1.0> 2026/06/25 13:18:45 OK 004_batches.sql (3.76ms) gitea-mq-0.1.0> 2026/06/25 13:18:45 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026/06/25 13:18:49 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 1 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:49 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 2 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:49 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 1 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:49 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 2 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:50 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:50 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:50 INFO started testing pr=1 branch=gitea-mq/1 sha=893c83d00821b88c4bcb893ea9fd072b68c71029 gitea-mq-0.1.0> 2026/06/25 13:18:50 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.1.0> 2026/06/25 13:18:50 INFO all checks passed pr=1 gitea-mq-0.1.0> 2026/06/25 13:18:51 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the CreateRef actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:18:51 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the PushCommits actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:18:51 services/repository/push.go:219:pushUpdates() [E] repo_module.CacheRef %!s(int64=1)/gitea-mq/1 failed: object does not exist [id: refs/heads/gitea-mq/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:18:52 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 1 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:52 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 2 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:52 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 3 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:52 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:18:52 INFO removed merged PR from queue pr=1 gitea-mq-0.1.0> 2026-06-25 13:18:52.508 UTC [99101] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:18:52.508 UTC [99101] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:18:52 OK 001_initial.sql (6.81ms) gitea-mq-0.1.0> 2026/06/25 13:18:52 OK 002_check_status_target_url.sql (670.52µs) gitea-mq-0.1.0> 2026/06/25 13:18:52 OK 003_add_forge.sql (4.52ms) gitea-mq-0.1.0> 2026/06/25 13:18:52 OK 004_batches.sql (3.78ms) gitea-mq-0.1.0> 2026/06/25 13:18:52 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/batch-e2e.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/batch-e2e.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/batch-e2e.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026/06/25 13:18:55 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 6 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:55 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 7 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:55 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 4 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:55 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 5 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:55 INFO enqueued PR pr=2 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:55 INFO enqueued PR from automerge detection pr=2 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:55 INFO enqueued PR pr=1 position=2 gitea-mq-0.1.0> 2026/06/25 13:18:55 INFO enqueued PR from automerge detection pr=1 position=2 gitea-mq-0.1.0> 2026/06/25 13:18:55 INFO batch formed batch=1 branch=main members=2 gitea-mq-0.1.0> 2026/06/25 13:18:55 INFO batch built batch=1 build=1 sha=7c4f25aaa7351f2132c6be2e13bf7ad4280d0c50 current=2 pending=0 gitea-mq-0.1.0> 2026/06/25 13:18:56 INFO batch fast-forward raced; rebuilding batch=1 retry=1 gitea-mq-0.1.0> 2026/06/25 13:18:56 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the CreateRef actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/batch/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:18:56 .../actions/notifier_helper.go:114:(*notifyInput).Notify() [E] an error occurred while executing the PushCommits actions method: gitRepo.GetRefCommitID: object does not exist [id: refs/heads/gitea-mq/batch/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:18:56 services/repository/push.go:219:pushUpdates() [E] repo_module.CacheRef %!s(int64=2)/gitea-mq/batch/1 failed: object does not exist [id: refs/heads/gitea-mq/batch/1, rel_path: ] gitea-mq-0.1.0> 2026/06/25 13:18:56 INFO batch built batch=1 build=2 sha=35003986804f2aef1061c3f0ce3b63265c05ca34 current=2 pending=0 gitea-mq-0.1.0> --- FAIL: TestGitea_BatchFlow_Green (4.28s) gitea-mq-0.1.0> gitea_batch_test.go:149: main = "35003986804f2aef1061c3f0ce3b63265c05ca34", want "7c4f25aaa7351f2132c6be2e13bf7ad4280d0c50" gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/ff-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/ff-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/ff-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/stack-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/stack-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea416249983/data/gitea-repositories/testuser/stack-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/gik3rh1vz2jlgnifb9dh6vc6sxwwz9jj-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026-06-25 13:19:01.533 UTC [106243] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:19:01.533 UTC [106243] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 001_initial.sql (6.95ms) gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 002_check_status_target_url.sql (763.38µs) gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 003_add_forge.sql (1.46ms) gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 004_batches.sql (3.56ms) gitea-mq-0.1.0> 2026/06/25 13:19:01 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR pr=2 position=2 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR from automerge detection pr=2 position=2 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR pr=3 position=3 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR from automerge detection pr=3 position=3 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO batch formed batch=1 branch=main members=3 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=0 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO dequeued PR pr=2 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO dequeued PR pr=3 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=3 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false gitea-mq-0.1.0> 2026-06-25 13:19:01.638 UTC [106247] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:19:01.638 UTC [106247] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 001_initial.sql (7.01ms) gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 002_check_status_target_url.sql (704.44µs) gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 003_add_forge.sql (1.47ms) gitea-mq-0.1.0> 2026/06/25 13:19:01 OK 004_batches.sql (3.39ms) gitea-mq-0.1.0> 2026/06/25 13:19:01 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO all checks passed pr=1 gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:01 INFO removed merged PR from queue pr=1 gitea-mq-0.1.0> FAIL gitea-mq-0.1.0> 2026/06/25 13:19:01 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 95672. Received SIGTERM. Shutting down... gitea-mq-0.1.0> 2026-06-25 13:19:01.757 UTC [95662] LOG: received smart shutdown request gitea-mq-0.1.0> 2026-06-25 13:19:01.762 UTC [95662] LOG: background worker "logical replication launcher" (PID 95669) exited with exit code 1 gitea-mq-0.1.0> 2026-06-25 13:19:01.763 UTC [95664] LOG: shutting down gitea-mq-0.1.0> 2026-06-25 13:19:01.763 UTC [95664] LOG: checkpoint starting: shutdown immediate gitea-mq-0.1.0> 2026-06-25 13:19:02.105 UTC [95664] LOG: checkpoint complete: wrote 3884 buffers (23.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.054 s, sync=0.285 s, total=0.342 s; sync files=1309, longest=0.002 s, average=0.001 s; distance=17711 kB, estimate=17711 kB; lsn=0/2638820, redo lsn=0/2638820 gitea-mq-0.1.0> 2026-06-25 13:19:02.141 UTC [95662] LOG: database system is shut down gitea-mq-0.1.0> FAIL github.com/Mic92/gitea-mq/internal/integration 20.212s gitea-mq-0.1.0> FAIL error: build of '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv' on 'ssh-ng://nix@jamie' failed: Cannot build '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fkh3qc8vzmn2dda0jqbj1d15aacffj0x-gitea-mq-0.1.0 Last 25 log lines: > 2026/06/25 13:19:01 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false > 2026-06-25 13:19:01.638 UTC [106247] ERROR: relation "goose_db_version" does not exist at character 36 > 2026-06-25 13:19:01.638 UTC [106247] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC > 2026/06/25 13:19:01 OK 001_initial.sql (7.01ms) > 2026/06/25 13:19:01 OK 002_check_status_target_url.sql (704.44µs) > 2026/06/25 13:19:01 OK 003_add_forge.sql (1.47ms) > 2026/06/25 13:19:01 OK 004_batches.sql (3.39ms) > 2026/06/25 13:19:01 goose: successfully migrated database to version: 4 > 2026/06/25 13:19:01 INFO enqueued PR pr=1 position=1 > 2026/06/25 13:19:01 INFO enqueued PR from automerge detection pr=1 position=1 > 2026/06/25 13:19:01 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) > 2026/06/25 13:19:01 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 > 2026/06/25 13:19:01 INFO all checks passed pr=1 > 2026/06/25 13:19:01 INFO dequeued PR pr=1 was_head=true > 2026/06/25 13:19:01 INFO removed merged PR from queue pr=1 > FAIL > 2026/06/25 13:19:01 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 95672. Received SIGTERM. Shutting down... > 2026-06-25 13:19:01.757 UTC [95662] LOG: received smart shutdown request > 2026-06-25 13:19:01.762 UTC [95662] LOG: background worker "logical replication launcher" (PID 95669) exited with exit code 1 > 2026-06-25 13:19:01.763 UTC [95664] LOG: shutting down > 2026-06-25 13:19:01.763 UTC [95664] LOG: checkpoint starting: shutdown immediate > 2026-06-25 13:19:02.105 UTC [95664] LOG: checkpoint complete: wrote 3884 buffers (23.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.054 s, sync=0.285 s, total=0.342 s; sync files=1309, longest=0.002 s, average=0.001 s; distance=17711 kB, estimate=17711 kB; lsn=0/2638820, redo lsn=0/2638820 > 2026-06-25 13:19:02.141 UTC [95662] LOG: database system is shut down > FAIL github.com/Mic92/gitea-mq/internal/integration 20.212s > FAIL For full logs, run: nix log /nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv error: Cannot build '/nix/store/5s6m4ax0d956sfhc5brvwk12djhr7kqw-gitea-mq-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fkh3qc8vzmn2dda0jqbj1d15aacffj0x-gitea-mq-0.1.0