this derivation will be built: /nix/store/q65w3kiz6cly1w3pa75428f1hmz5dy14-gitea-mq-0.2.0.drv building '/nix/store/q65w3kiz6cly1w3pa75428f1hmz5dy14-gitea-mq-0.2.0.drv' gitea-mq-0.2.0> tribuchet: building on eliza gitea-mq-0.2.0> Running phase: unpackPhase gitea-mq-0.2.0> unpacking source archive /nix/store/5cxc9189jls40fwyjwwg76ymribdzhc7-source gitea-mq-0.2.0> source root is source gitea-mq-0.2.0> Running phase: patchPhase gitea-mq-0.2.0> Running phase: updateAutotoolsGnuConfigScriptsPhase gitea-mq-0.2.0> Running phase: configurePhase gitea-mq-0.2.0> Running phase: buildPhase gitea-mq-0.2.0> Building subPackage ./cmd/gitea-mq gitea-mq-0.2.0> Building subPackage ./internal/batch gitea-mq-0.2.0> Building subPackage ./internal/config gitea-mq-0.2.0> Building subPackage ./internal/discovery gitea-mq-0.2.0> Building subPackage ./internal/forge gitea-mq-0.2.0> Building subPackage ./internal/gitea gitea-mq-0.2.0> Building subPackage ./internal/github gitea-mq-0.2.0> Building subPackage ./internal/github/ghfake gitea-mq-0.2.0> Building subPackage ./internal/httpx gitea-mq-0.2.0> Building subPackage ./internal/integration gitea-mq-0.2.0> github.com/Mic92/gitea-mq/internal/integration: no non-test Go files in /build/source/internal/integration gitea-mq-0.2.0> Building subPackage ./internal/logutil gitea-mq-0.2.0> Building subPackage ./internal/merge gitea-mq-0.2.0> Building subPackage ./internal/monitor gitea-mq-0.2.0> Building subPackage ./internal/poller gitea-mq-0.2.0> Building subPackage ./internal/queue gitea-mq-0.2.0> Building subPackage ./internal/registry gitea-mq-0.2.0> Building subPackage ./internal/store/pg gitea-mq-0.2.0> Building subPackage ./internal/testutil gitea-mq-0.2.0> Building subPackage ./internal/web gitea-mq-0.2.0> Building subPackage ./internal/webhook gitea-mq-0.2.0> Running phase: checkPhase gitea-mq-0.2.0> ok github.com/Mic92/gitea-mq/internal/batch 3.856s gitea-mq-0.2.0> ok github.com/Mic92/gitea-mq/internal/config 0.008s gitea-mq-0.2.0> ok github.com/Mic92/gitea-mq/internal/discovery 1.423s gitea-mq-0.2.0> ok github.com/Mic92/gitea-mq/internal/forge 0.007s gitea-mq-0.2.0> ok github.com/Mic92/gitea-mq/internal/gitea 0.791s gitea-mq-0.2.0> ok github.com/Mic92/gitea-mq/internal/github 0.295s gitea-mq-0.2.0> ok github.com/Mic92/gitea-mq/internal/httpx 0.030s gitea-mq-0.2.0> The files belonging to this database system will be owned by user "nixbld". gitea-mq-0.2.0> This user must also own the server process. gitea-mq-0.2.0> gitea-mq-0.2.0> The database cluster will be initialized with locale "C". gitea-mq-0.2.0> The default database encoding has accordingly been set to "SQL_ASCII". gitea-mq-0.2.0> The default text search configuration will be set to "english". gitea-mq-0.2.0> gitea-mq-0.2.0> Data page checksums are enabled. gitea-mq-0.2.0> gitea-mq-0.2.0> creating directory /build/gitea-mq-test-postgres2015253185/data ... ok gitea-mq-0.2.0> creating subdirectories ... ok gitea-mq-0.2.0> selecting dynamic shared memory implementation ... posix gitea-mq-0.2.0> selecting default "max_connections" ... 100 gitea-mq-0.2.0> selecting default "shared_buffers" ... 128MB gitea-mq-0.2.0> selecting default time zone ... UTC gitea-mq-0.2.0> creating configuration files ... ok gitea-mq-0.2.0> running bootstrap script ... ok gitea-mq-0.2.0> performing post-bootstrap initialization ... ok gitea-mq-0.2.0> syncing data to disk ... ok gitea-mq-0.2.0> gitea-mq-0.2.0> initdb: warning: enabling "trust" authentication for local connections gitea-mq-0.2.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.2.0> gitea-mq-0.2.0> Success. You can now start the database server using: gitea-mq-0.2.0> gitea-mq-0.2.0> pg_ctl -D /build/gitea-mq-test-postgres2015253185/data -l logfile start gitea-mq-0.2.0> gitea-mq-0.2.0> 2026-11-05 09:36:47.769 UTC [43669] LOG: starting PostgreSQL 18.6 on aarch64-unknown-linux-gnu, compiled by clang version 21.1.8, 64-bit gitea-mq-0.2.0> 2026-11-05 09:36:47.769 UTC [43669] LOG: listening on Unix socket "/build/gitea-mq-test-postgres2015253185/.s.PGSQL.5432" gitea-mq-0.2.0> 2026-11-05 09:36:47.774 UTC [43676] LOG: database system was shut down at 2026-11-05 09:36:47 UTC gitea-mq-0.2.0> 2026-11-05 09:36:47.778 UTC [43669] LOG: database system is ready to accept connections gitea-mq-0.2.0> 2026/11/05 09:36:47 cmd/web.go:273:runWeb() [I] Starting Gitea on PID: 43728 gitea-mq-0.2.0> 2026/11/05 09:36:48 cmd/web.go:117:showWebStartupMessage() [I] Gitea version: 28.2.0 built with go1.27.3 : sqlite, sqlite_unlock_notify gitea-mq-0.2.0> 2026/11/05 09:36:48 cmd/web.go:118:showWebStartupMessage() [I] * RunMode: prod gitea-mq-0.2.0> 2026/11/05 09:36:48 cmd/web.go:119:showWebStartupMessage() [I] * AppPath: /nix/store/a9fg4l9hgpqbksvg7qgb8y26c03hsnf1-gitea-28.2.0/bin/gitea gitea-mq-0.2.0> 2026/11/05 09:36:48 cmd/web.go:120:showWebStartupMessage() [I] * WorkPath: /build/gitea-mq-test-gitea3502140095 gitea-mq-0.2.0> 2026/11/05 09:36:48 cmd/web.go:121:showWebStartupMessage() [I] * CustomPath: /build/gitea-mq-test-gitea3502140095/custom gitea-mq-0.2.0> 2026/11/05 09:36:48 cmd/web.go:122:showWebStartupMessage() [I] * ConfigFile: /build/gitea-mq-test-gitea3502140095/custom/conf/app.ini gitea-mq-0.2.0> 2026/11/05 09:36:48 cmd/web.go:123:showWebStartupMessage() [I] Prepare to run web server gitea-mq-0.2.0> 2026/11/05 09:36:48 routers/init.go:117:InitWebInstalled() [I] Git version: 2.56.0 (home: /build/gitea-mq-test-gitea3502140095/data/home) gitea-mq-0.2.0> 2026/11/05 09:36:48 modules/setting/webhook.go:38:loadWebhookFrom() [E] Deprecation: config option `[webhook].ALLOWED_HOST_LIST` present, please use `[security].ALLOWED_HOST_LIST` instead because this fallback will be/has been removed in v28.0.0 gitea-mq-0.2.0> 2026/11/05 09:36:50 .../ssh_key_authorized_keys.go:55:rewriteAllPublicKeys.1() [W] Unable to remove temporary authorized keys file: /build/gitea-mq-test-gitea3502140095/git-home/.ssh/authorized_keys.tmp: Error: remove /build/gitea-mq-test-gitea3502140095/git-home/.ssh/authorized_keys.tmp: no such file or directory gitea-mq-0.2.0> 2026/11/05 09:36:51 modules/setting/webhook.go:38:loadWebhookFrom() [E] Deprecation: config option `[webhook].ALLOWED_HOST_LIST` present, please use `[security].ALLOWED_HOST_LIST` instead because this fallback will be/has been removed in v28.0.0 gitea-mq-0.2.0> New user 'testuser' has been successfully created! gitea-mq-0.2.0> 2026-11-05 09:36:51.583 UTC [43896] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.2.0> 2026-11-05 09:36:51.583 UTC [43896] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.2.0> 2026/11/05 09:36:51 OK 001_initial.sql (10.19ms) gitea-mq-0.2.0> 2026/11/05 09:36:51 OK 002_check_status_target_url.sql (813.47µs) gitea-mq-0.2.0> 2026/11/05 09:36:51 OK 003_add_forge.sql (2.43ms) gitea-mq-0.2.0> 2026/11/05 09:36:51 OK 004_batches.sql (5.39ms) gitea-mq-0.2.0> 2026/11/05 09:36:51 OK 005_priority.sql (1.27ms) gitea-mq-0.2.0> 2026/11/05 09:36:51 goose: successfully migrated database to version: 5 gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/e2e-mq-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> 2026/11/05 09:36:54 INFO enqueued PR pr=1 position=1 gitea-mq-0.2.0> 2026/11/05 09:36:54 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.2.0> 2026/11/05 09:36:55 INFO started testing pr=1 branch=gitea-mq/1 sha=a1cad46334564627e8a80305ac3da340133c496e gitea-mq-0.2.0> 2026/11/05 09:36:55 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.2.0> 2026/11/05 09:36:55 INFO all checks passed pr=1 gitea-mq-0.2.0> 2026/11/05 09:36:55 INFO dequeued PR pr=1 gitea-mq-0.2.0> 2026/11/05 09:36:55 INFO removed merged PR from queue pr=1 gitea-mq-0.2.0> 2026/11/05 09:36:55 .../automerge/automerge.go:125:handleAutoMergeItem() [E] AutoMerge: failed to auto merge pull request [1]: failed to merge PR:1: PullRequest[1] already merged gitea-mq-0.2.0> 2026-11-05 09:36:55.947 UTC [45752] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.2.0> 2026-11-05 09:36:55.947 UTC [45752] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.2.0> 2026/11/05 09:36:55 OK 001_initial.sql (10.51ms) gitea-mq-0.2.0> 2026/11/05 09:36:55 OK 002_check_status_target_url.sql (853.21µs) gitea-mq-0.2.0> 2026/11/05 09:36:55 OK 003_add_forge.sql (2.34ms) gitea-mq-0.2.0> 2026/11/05 09:36:55 OK 004_batches.sql (6.02ms) gitea-mq-0.2.0> 2026/11/05 09:36:55 OK 005_priority.sql (1.89ms) gitea-mq-0.2.0> 2026/11/05 09:36:55 goose: successfully migrated database to version: 5 gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/batch-e2e.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/batch-e2e.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/batch-e2e.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/batch-e2e.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/batch-e2e.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> 2026/11/05 09:36:57 INFO enqueued PR pr=2 position=1 gitea-mq-0.2.0> 2026/11/05 09:36:57 INFO enqueued PR from automerge detection pr=2 position=1 gitea-mq-0.2.0> 2026/11/05 09:36:57 INFO enqueued PR pr=1 position=2 gitea-mq-0.2.0> 2026/11/05 09:36:57 INFO enqueued PR from automerge detection pr=1 position=2 gitea-mq-0.2.0> 2026/11/05 09:36:57 INFO batch formed batch=1 branch=main members=2 gitea-mq-0.2.0> 2026/11/05 09:36:58 INFO batch built batch=1 build=1 sha=473dd8e7209f46f8b0988929681ceba61dbba59d current=2 pending=0 gitea-mq-0.2.0> 2026/11/05 09:36:59 INFO batch landed batch=1 sha=473dd8e7209f46f8b0988929681ceba61dbba59d prs=2 gitea-mq-0.2.0> 2026/11/05 09:37:02 .../actions/notifier_helper.go:163:notify() [W] Event "pull_request_comment" should only trigger workflows on the default branch, but its ref is "refs/pull/2/head". Will fall back to the default branch gitea-mq-0.2.0> 2026/11/05 09:37:02 .../actions/notifier_helper.go:163:notify() [W] Event "pull_request_comment" should only trigger workflows on the default branch, but its ref is "refs/pull/1/head". Will fall back to the default branch gitea-mq-0.2.0> 2026/11/05 09:37:02 INFO batch done batch=1 landed=2 ejected=0 builds=1 flaky=false gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/cache-private-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/cache-private-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/cache-private-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/cache-private-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/cache-private-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/cache-private-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/cache-private-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> 2026/11/05 09:37:05 services/repository/init.go:75:initRepoCommit() [E] Failed to push back to HEAD Error: PushRejected Error: exit status 1 - remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory gitea-mq-0.2.0> To /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git gitea-mq-0.2.0> ! [remote rejected] HEAD -> main (pre-receive hook declined) gitea-mq-0.2.0> error: failed to push some refs to '/build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory gitea-mq-0.2.0> To /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git gitea-mq-0.2.0> ! [remote rejected] HEAD -> main (pre-receive hook declined) gitea-mq-0.2.0> error: failed to push some refs to '/build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git' gitea-mq-0.2.0> gitea-mq-0.2.0> 2026/11/05 09:37:05 routers/api/v1/repo/repo.go:267:CreateUserRepo() [E] InternalServerError: initRepository: initRepoCommit: git push: PushRejected Error: exit status 1 - remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory gitea-mq-0.2.0> To /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git gitea-mq-0.2.0> ! [remote rejected] HEAD -> main (pre-receive hook declined) gitea-mq-0.2.0> error: failed to push some refs to '/build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory gitea-mq-0.2.0> To /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git gitea-mq-0.2.0> ! [remote rejected] HEAD -> main (pre-receive hook declined) gitea-mq-0.2.0> error: failed to push some refs to '/build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git' gitea-mq-0.2.0> gitea-mq-0.2.0> --- FAIL: TestGiteaDraftPR (0.13s) gitea-mq-0.2.0> gitea_draft_test.go:22: POST /user/repos: status 500: {"message":"initRepository: initRepoCommit: git push: PushRejected Error: exit status 1 - remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory \nTo /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git': remote: fatal: cannot exec 'hooks/pre-receive': No such file or directory \nTo /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/draft-pr.git'\n\n","url":"http://127.0.0.1:38329/api/swagger"} gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/ff-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/ff-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/ff-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/ff-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/ff-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/stack-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/stack-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/stack-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/stack-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/stack-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/label-test.git/hooks/post-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/label-test.git/hooks/post-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/label-test.git/hooks/pre-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/label-test.git/hooks/pre-receive.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/label-test.git/hooks/proc-receive: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/label-test.git/hooks/update: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> DEBUG: patching hook shebang in /build/gitea-mq-test-gitea3502140095/data/gitea-repositories/testuser/label-test.git/hooks/update.d/gitea: #!/usr/bin/env bash -> #!/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash gitea-mq-0.2.0> 2026-11-05 09:37:10.213 UTC [50756] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.2.0> 2026-11-05 09:37:10.213 UTC [50756] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 001_initial.sql (10.09ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 002_check_status_target_url.sql (740.67µs) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 003_add_forge.sql (2.11ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 004_batches.sql (5.52ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 005_priority.sql (1.34ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 goose: successfully migrated database to version: 5 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR pr=1 position=1 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR pr=2 position=2 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR from automerge detection pr=2 position=2 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR pr=3 position=3 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR from automerge detection pr=3 position=3 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO batch formed batch=1 branch=main members=3 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO batch built batch=1 build=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) current=3 pending=0 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO batch landed batch=1 sha=merge(merge(merge(sha-main,sha1),sha2),sha3) prs=3 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO batch done batch=1 landed=3 ejected=0 builds=1 flaky=false gitea-mq-0.2.0> 2026-11-05 09:37:10.329 UTC [50759] ERROR: relation "goose_db_version" does not exist at character 36 gitea-mq-0.2.0> 2026-11-05 09:37:10.329 UTC [50759] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 001_initial.sql (10.53ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 002_check_status_target_url.sql (1.19ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 003_add_forge.sql (2.18ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 004_batches.sql (5.25ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 OK 005_priority.sql (1.26ms) gitea-mq-0.2.0> 2026/11/05 09:37:10 goose: successfully migrated database to version: 5 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR pr=1 position=1 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO enqueued PR from automerge detection pr=1 position=1 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO all checks passed pr=1 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO dequeued PR pr=1 gitea-mq-0.2.0> 2026/11/05 09:37:10 INFO removed merged PR from queue pr=1 gitea-mq-0.2.0> FAIL gitea-mq-0.2.0> 2026/11/05 09:37:10 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 43728. Received SIGTERM. Shutting down... gitea-mq-0.2.0> 2026-11-05 09:37:10.464 UTC [43669] LOG: received smart shutdown request gitea-mq-0.2.0> 2026-11-05 09:37:10.467 UTC [43669] LOG: background worker "logical replication launcher" (PID 43679) exited with exit code 1 gitea-mq-0.2.0> 2026-11-05 09:37:10.468 UTC [43674] LOG: shutting down gitea-mq-0.2.0> 2026-11-05 09:37:10.468 UTC [43674] LOG: checkpoint starting: shutdown immediate gitea-mq-0.2.0> 2026-11-05 09:37:10.744 UTC [43674] LOG: checkpoint complete: wrote 3969 buffers (24.2%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=0.068 s, sync=0.208 s, total=0.277 s; sync files=1317, longest=0.003 s, average=0.001 s; distance=18250 kB, estimate=18250 kB; lsn=0/2938650, redo lsn=0/2938650 gitea-mq-0.2.0> 2026-11-05 09:37:10.778 UTC [43669] LOG: database system is shut down gitea-mq-0.2.0> FAIL github.com/Mic92/gitea-mq/internal/integration 23.864s gitea-mq-0.2.0> FAIL error: Cannot build '/nix/store/q65w3kiz6cly1w3pa75428f1hmz5dy14-gitea-mq-0.2.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/acgm338v17zj5iarpafhy687z4qwpsiq-gitea-mq-0.2.0 Last 25 log lines: > 2026-11-05 09:37:10.329 UTC [50759] ERROR: relation "goose_db_version" does not exist at character 36 > 2026-11-05 09:37:10.329 UTC [50759] STATEMENT: SELECT version_id, is_applied from goose_db_version ORDER BY id DESC > 2026/11/05 09:37:10 OK 001_initial.sql (10.53ms) > 2026/11/05 09:37:10 OK 002_check_status_target_url.sql (1.19ms) > 2026/11/05 09:37:10 OK 003_add_forge.sql (2.18ms) > 2026/11/05 09:37:10 OK 004_batches.sql (5.25ms) > 2026/11/05 09:37:10 OK 005_priority.sql (1.26ms) > 2026/11/05 09:37:10 goose: successfully migrated database to version: 5 > 2026/11/05 09:37:10 INFO enqueued PR pr=1 position=1 > 2026/11/05 09:37:10 INFO enqueued PR from automerge detection pr=1 position=1 > 2026/11/05 09:37:10 INFO started testing pr=1 branch=gitea-mq/1 sha=merge(sha-main,sha-head) > 2026/11/05 09:37:10 INFO started testing for head-of-queue pr=1 branch=gitea-mq/1 > 2026/11/05 09:37:10 INFO all checks passed pr=1 > 2026/11/05 09:37:10 INFO dequeued PR pr=1 > 2026/11/05 09:37:10 INFO removed merged PR from queue pr=1 > FAIL > 2026/11/05 09:37:10 .../graceful/manager_unix.go:144:(*Manager).handleSignals() [W] PID 43728. Received SIGTERM. Shutting down... > 2026-11-05 09:37:10.464 UTC [43669] LOG: received smart shutdown request > 2026-11-05 09:37:10.467 UTC [43669] LOG: background worker "logical replication launcher" (PID 43679) exited with exit code 1 > 2026-11-05 09:37:10.468 UTC [43674] LOG: shutting down > 2026-11-05 09:37:10.468 UTC [43674] LOG: checkpoint starting: shutdown immediate > 2026-11-05 09:37:10.744 UTC [43674] LOG: checkpoint complete: wrote 3969 buffers (24.2%), wrote 3 SLRU buffers; 0 WAL file(s) added, 0 removed, 1 recycled; write=0.068 s, sync=0.208 s, total=0.277 s; sync files=1317, longest=0.003 s, average=0.001 s; distance=18250 kB, estimate=18250 kB; lsn=0/2938650, redo lsn=0/2938650 > 2026-11-05 09:37:10.778 UTC [43669] LOG: database system is shut down > FAIL github.com/Mic92/gitea-mq/internal/integration 23.864s > FAIL For full logs, run: nix log /nix/store/q65w3kiz6cly1w3pa75428f1hmz5dy14-gitea-mq-0.2.0.drv