this derivation will be built: /nix/store/9fvfirybx4vy7z4qnpxxrr3xbhhqb2js-gitea-mq-0.1.0.drv building '/nix/store/9fvfirybx4vy7z4qnpxxrr3xbhhqb2js-gitea-mq-0.1.0.drv' on 'ssh-ng://nix@eliza' building '/nix/store/9fvfirybx4vy7z4qnpxxrr3xbhhqb2js-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 2.975s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/config 0.007s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/discovery 1.314s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/forge 0.006s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/gitea 0.014s gitea-mq-0.1.0> ok github.com/Mic92/gitea-mq/internal/github 0.316s 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-postgres1916284248/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-postgres1916284248/data -l logfile start gitea-mq-0.1.0> gitea-mq-0.1.0> 2026-06-25 13:18:46.569 UTC [42355] LOG: starting PostgreSQL 17.10 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit gitea-mq-0.1.0> 2026-06-25 13:18:46.569 UTC [42355] LOG: listening on Unix socket "/build/gitea-mq-test-postgres1916284248/.s.PGSQL.5432" gitea-mq-0.1.0> 2026-06-25 13:18:46.572 UTC [42359] LOG: database system was shut down at 2026-06-25 13:18:46 UTC gitea-mq-0.1.0> 2026-06-25 13:18:46.576 UTC [42355] LOG: database system is ready to accept connections gitea-mq-0.1.0> 2026/06/25 13:18:46 cmd/web.go:263:runWeb() [I] Starting Gitea on PID: 42412 gitea-mq-0.1.0> 2026/06/25 13:18:46 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:46 cmd/web.go:116:showWebStartupMessage() [I] * RunMode: prod gitea-mq-0.1.0> 2026/06/25 13:18:46 cmd/web.go:117:showWebStartupMessage() [I] * AppPath: /nix/store/54g34h20hkdkvdsi9bgl1r36nqfrg9ih-gitea-1.26.4/bin/gitea gitea-mq-0.1.0> 2026/06/25 13:18:46 cmd/web.go:118:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea1047332217 gitea-mq-0.1.0> 2026/06/25 13:18:46 cmd/web.go:119:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea1047332217/custom gitea-mq-0.1.0> 2026/06/25 13:18:46 cmd/web.go:120:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea1047332217/custom/conf/app.ini gitea-mq-0.1.0> 2026/06/25 13:18:46 cmd/web.go:121:showWebStartupMessage() [I] Prepare to run web server gitea-mq-0.1.0> 2026/06/25 13:18:46 routers/init.go:117:InitWebInstalled() [I] Git version: 2.54.0 (home: /build/gitea-mq-test-gitea1047332217/data/home) gitea-mq-0.1.0> New user 'testuser' has been successfully created! gitea-mq-0.1.0> 2026-06-25 13:18:49.359 UTC [42567] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:18:49.359 UTC [42567] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:18:49 OK 001_initial.sql (9.09ms) gitea-mq-0.1.0> 2026/06/25 13:18:49 OK 002_check_status_target_url.sql (1.05ms) gitea-mq-0.1.0> 2026/06/25 13:18:49 OK 003_add_forge.sql (1.96ms) gitea-mq-0.1.0> 2026/06/25 13:18:49 OK 004_batches.sql (5.88ms) gitea-mq-0.1.0> 2026/06/25 13:18:49 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash 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 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 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:52 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:52 INFO started testing pr=1 branch=gitea-mq/1 sha=6b0c06298e7258458437474bae96cc831d0dd0ac gitea-mq-0.1.0> 2026/06/25 13:18:52 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.1.0> 2026/06/25 13:18:52 INFO all checks passed pr=1 gitea-mq-0.1.0> 2026/06/25 13:18:53 .../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:53 .../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:53 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:53 .../automerge/automerge.go:259:handlePullRequestAutoMerge() [E] CheckPullMergeable: not in mergeable state gitea-mq-0.1.0> 2026/06/25 13:18:54 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 1 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:54 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 2 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:54 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 3 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:54 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:18:54 INFO removed merged PR from queue pr=1 gitea-mq-0.1.0> 2026-06-25 13:18:54.833 UTC [44663] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:18:54.833 UTC [44663] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:18:54 OK 001_initial.sql (8.75ms) gitea-mq-0.1.0> 2026/06/25 13:18:54 OK 002_check_status_target_url.sql (753.53µs) gitea-mq-0.1.0> 2026/06/25 13:18:54 OK 003_add_forge.sql (1.65ms) gitea-mq-0.1.0> 2026/06/25 13:18:54 OK 004_batches.sql (4.62ms) gitea-mq-0.1.0> 2026/06/25 13:18:54 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026/06/25 13:18:57 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 6 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:57 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 7 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:57 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 4 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:57 models/issues/comment.go:547:(*Comment).LoadLabel() [W] Commit 5 cannot load label 0 gitea-mq-0.1.0> 2026/06/25 13:18:57 INFO enqueued PR pr=2 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:57 INFO enqueued PR from automerge detection pr=2 position=1 gitea-mq-0.1.0> 2026/06/25 13:18:57 INFO enqueued PR pr=1 position=2 gitea-mq-0.1.0> 2026/06/25 13:18:57 INFO enqueued PR from automerge detection pr=1 position=2 gitea-mq-0.1.0> 2026/06/25 13:18:57 INFO batch formed batch=1 branch=main members=2 gitea-mq-0.1.0> 2026/06/25 13:18:57 .../automerge/automerge.go:264:handlePullRequestAutoMerge() [E] pull_service.Merge: PushRejected Error: exit status 1 - remote: error: cannot lock ref 'refs/heads/main': is at 82189ed909a3a2e533187cbfa462cf16353f2a94 but expected 6573c3692407dbba12e346207304aa5956877061 gitea-mq-0.1.0> To /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git gitea-mq-0.1.0> ! [remote rejected] base -> main (incorrect old value provided) gitea-mq-0.1.0> error: failed to push some refs to '/build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git': remote: error: cannot lock ref 'refs/heads/main': is at 82189ed909a3a2e533187cbfa462cf16353f2a94 but expected 6573c3692407dbba12e346207304aa5956877061 gitea-mq-0.1.0> To /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git gitea-mq-0.1.0> ! [remote rejected] base -> main (incorrect old value provided) gitea-mq-0.1.0> error: failed to push some refs to '/build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/batch-e2e.git' gitea-mq-0.1.0> gitea-mq-0.1.0> 2026/06/25 13:18:58 INFO batch built batch=1 build=1 sha=01084385e9f42b63940839697858859ac964ed4a current=2 pending=0 gitea-mq-0.1.0> 2026/06/25 13:18:58 INFO batch fast-forward raced; rebuilding batch=1 retry=1 gitea-mq-0.1.0> 2026/06/25 13:18:58 INFO batch built batch=1 build=2 sha=d54a4a62983d2b733a7d60845235d2cecdc77e07 current=2 pending=0 gitea-mq-0.1.0> --- FAIL: TestGitea_BatchFlow_Green (4.02s) gitea-mq-0.1.0> gitea_batch_test.go:149: main = "82189ed909a3a2e533187cbfa462cf16353f2a94", want "01084385e9f42b63940839697858859ac964ed4a" gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/ff-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/ff-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/ff-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/stack-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/stack-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea1047332217/data/gitea-repositories/testuser/stack-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash gitea-mq-0.1.0> 2026-06-25 13:19:03.252 UTC [49509] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:19:03.252 UTC [49509] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 001_initial.sql (9.11ms) gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 002_check_status_target_url.sql (689.17µs) gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 003_add_forge.sql (1.73ms) gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 004_batches.sql (5.04ms) gitea-mq-0.1.0> 2026/06/25 13:19:03 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR pr=2 position=2 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR from automerge detection pr=2 position=2 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR pr=3 position=3 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR from automerge detection pr=3 position=3 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO batch formed batch=1 branch=main members=3 gitea-mq-0.1.0> 2026/06/25 13:19:03 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:03 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO dequeued PR pr=2 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO dequeued PR pr=3 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:03 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:03 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false gitea-mq-0.1.0> 2026-06-25 13:19:03.363 UTC [49517] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.1.0> 2026-06-25 13:19:03.363 UTC [49517] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 001_initial.sql (8.7ms) gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 002_check_status_target_url.sql (2.13ms) gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 003_add_forge.sql (2.06ms) gitea-mq-0.1.0> 2026/06/25 13:19:03 OK 004_batches.sql (5.12ms) gitea-mq-0.1.0> 2026/06/25 13:19:03 goose: successfully migrated database to version: 4 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.1.0> 2026/06/25 13:19:03 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:03 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO all checks passed pr=1 gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO dequeued PR pr=1 was_head=true gitea-mq-0.1.0> 2026/06/25 13:19:03 INFO removed merged PR from queue pr=1 gitea-mq-0.1.0> FAIL gitea-mq-0.1.0> 2026/06/25 13:19:03 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 42412. Received SIGTERM. Shutting down... gitea-mq-0.1.0> 2026-06-25 13:19:03.492 UTC [42355] LOG: received smart shutdown request gitea-mq-0.1.0> 2026-06-25 13:19:03.495 UTC [42355] LOG: background worker "logical replication launcher" (PID 42362) exited with exit code 1 gitea-mq-0.1.0> 2026-06-25 13:19:03.496 UTC [42357] LOG: shutting down gitea-mq-0.1.0> 2026-06-25 13:19:03.496 UTC [42357] LOG: checkpoint starting: shutdown immediate gitea-mq-0.1.0> 2026-06-25 13:19:03.725 UTC [42357] LOG: checkpoint complete: wrote 3884 buffers (23.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.059 s, sync=0.170 s, total=0.230 s; sync files=1309, longest=0.002 s, average=0.001 s; distance=17711 kB, estimate=17711 kB; lsn=0/26387E0, redo lsn=0/26387E0 gitea-mq-0.1.0> 2026-06-25 13:19:03.754 UTC [42355] LOG: database system is shut down gitea-mq-0.1.0> FAIL github.com/Mic92/gitea-mq/internal/integration 18.019s gitea-mq-0.1.0> FAIL error: build of '/nix/store/9fvfirybx4vy7z4qnpxxrr3xbhhqb2js-gitea-mq-0.1.0.drv' on 'ssh-ng://nix@eliza' failed: Cannot build '/nix/store/9fvfirybx4vy7z4qnpxxrr3xbhhqb2js-gitea-mq-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/m4vwv5zpww2ka7amlb07q2gm60k7hkww-gitea-mq-0.1.0 Last 25 log lines: > 2026/06/25 13:19:03 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false > 2026-06-25 13:19:03.363 UTC [49517] ERROR: relation "goose_db_version" does not exist at character 36 > 2026-06-25 13:19:03.363 UTC [49517] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC > 2026/06/25 13:19:03 OK 001_initial.sql (8.7ms) > 2026/06/25 13:19:03 OK 002_check_status_target_url.sql (2.13ms) > 2026/06/25 13:19:03 OK 003_add_forge.sql (2.06ms) > 2026/06/25 13:19:03 OK 004_batches.sql (5.12ms) > 2026/06/25 13:19:03 goose: successfully migrated database to version: 4 > 2026/06/25 13:19:03 INFO enqueued PR pr=1 position=1 > 2026/06/25 13:19:03 INFO enqueued PR from automerge detection pr=1 position=1 > 2026/06/25 13:19:03 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) > 2026/06/25 13:19:03 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 > 2026/06/25 13:19:03 INFO all checks passed pr=1 > 2026/06/25 13:19:03 INFO dequeued PR pr=1 was_head=true > 2026/06/25 13:19:03 INFO removed merged PR from queue pr=1 > FAIL > 2026/06/25 13:19:03 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 42412. Received SIGTERM. Shutting down... > 2026-06-25 13:19:03.492 UTC [42355] LOG: received smart shutdown request > 2026-06-25 13:19:03.495 UTC [42355] LOG: background worker "logical replication launcher" (PID 42362) exited with exit code 1 > 2026-06-25 13:19:03.496 UTC [42357] LOG: shutting down > 2026-06-25 13:19:03.496 UTC [42357] LOG: checkpoint starting: shutdown immediate > 2026-06-25 13:19:03.725 UTC [42357] LOG: checkpoint complete: wrote 3884 buffers (23.7%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.059 s, sync=0.170 s, total=0.230 s; sync files=1309, longest=0.002 s, average=0.001 s; distance=17711 kB, estimate=17711 kB; lsn=0/26387E0, redo lsn=0/26387E0 > 2026-06-25 13:19:03.754 UTC [42355] LOG: database system is shut down > FAIL github.com/Mic92/gitea-mq/internal/integration 18.019s > FAIL For full logs, run: nix log /nix/store/9fvfirybx4vy7z4qnpxxrr3xbhhqb2js-gitea-mq-0.1.0.drv error: Cannot build '/nix/store/9fvfirybx4vy7z4qnpxxrr3xbhhqb2js-gitea-mq-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/m4vwv5zpww2ka7amlb07q2gm60k7hkww-gitea-mq-0.1.0