(not at the head of any monitored branch or PR)
2022-09-21 15:05.47: New job: build caqti-driver-postgresql.1.9.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/22139/head (d7e07175260e109d3f8f66a7d395f955a84895f7)
                              on debian-11-ocaml-4.04/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/22139/head" && git reset --hard d7e07175
git fetch origin master
git merge --no-edit bfaca3a2fad82b13bec30734883c953ea6150e50
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.04@sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
ENV OPAMPRECISETRACKING="1"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn caqti-driver-postgresql.1.9.1 1.9.1
RUN opam update --depexts
RUN opam reinstall caqti-driver-postgresql.1.9.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    done; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2022-09-21 15:05.47: Using cache hint "ocaml/opam:debian-11-ocaml-4.04@sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d-caqti-driver-postgresql.1.9.1-d7e07175260e109d3f8f66a7d395f955a84895f7"
2022-09-21 15:05.47: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.04@sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (env OPAMPRECISETRACKING 1)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn caqti-driver-postgresql.1.9.1 1.9.1"))
 (run (network host)
      (shell "opam update --depexts"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall caqti-driver-postgresql.1.9.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n        done;\
             \n        exit 1"))
)

2022-09-21 15:05.47: Waiting for resource in pool OCluster
2022-09-21 15:05.47: Waiting for worker...
2022-09-21 15:05.48: Got resource from pool OCluster
Building on apache.ocamllabs.io
Updating files:   4% (1262/27382)
Updating files:   5% (1370/27382)
Updating files:   6% (1643/27382)
Updating files:   7% (1917/27382)
Updating files:   8% (2191/27382)
Updating files:   8% (2287/27382)
Updating files:   9% (2465/27382)
Updating files:  10% (2739/27382)
Updating files:  11% (3013/27382)
Updating files:  11% (3117/27382)
Updating files:  12% (3286/27382)
Updating files:  13% (3560/27382)
Updating files:  14% (3834/27382)
Updating files:  15% (4108/27382)
Updating files:  15% (4225/27382)
Updating files:  16% (4382/27382)
Updating files:  17% (4655/27382)
Updating files:  18% (4929/27382)
Updating files:  19% (5203/27382)
Updating files:  19% (5219/27382)
Updating files:  20% (5477/27382)
Updating files:  21% (5751/27382)
Updating files:  22% (6025/27382)
Updating files:  23% (6298/27382)
Updating files:  24% (6572/27382)
Updating files:  25% (6846/27382)
Updating files:  26% (7120/27382)
Updating files:  27% (7394/27382)
Updating files:  27% (7661/27382)
Updating files:  28% (7667/27382)
Updating files:  29% (7941/27382)
Updating files:  30% (8215/27382)
Updating files:  31% (8489/27382)
Updating files:  32% (8763/27382)
Updating files:  32% (8921/27382)
Updating files:  33% (9037/27382)
Updating files:  34% (9310/27382)
Updating files:  35% (9584/27382)
Updating files:  36% (9858/27382)
Updating files:  37% (10132/27382)
Updating files:  37% (10217/27382)
Updating files:  38% (10406/27382)
Updating files:  39% (10679/27382)
Updating files:  40% (10953/27382)
Updating files:  41% (11227/27382)
Updating files:  42% (11501/27382)
Updating files:  42% (11634/27382)
Updating files:  43% (11775/27382)
Updating files:  44% (12049/27382)
Updating files:  45% (12322/27382)
Updating files:  46% (12596/27382)
Updating files:  47% (12870/27382)
Updating files:  47% (12954/27382)
Updating files:  48% (13144/27382)
Updating files:  49% (13418/27382)
Updating files:  50% (13691/27382)
Updating files:  51% (13965/27382)
Updating files:  52% (14239/27382)
Updating files:  52% (14477/27382)
Updating files:  53% (14513/27382)
Updating files:  54% (14787/27382)
Updating files:  55% (15061/27382)
Updating files:  56% (15334/27382)
Updating files:  57% (15608/27382)
Updating files:  57% (15736/27382)
Updating files:  58% (15882/27382)
Updating files:  59% (16156/27382)
Updating files:  60% (16430/27382)
Updating files:  61% (16704/27382)
Updating files:  62% (16977/27382)
Updating files:  62% (17130/27382)
Updating files:  63% (17251/27382)
Updating files:  64% (17525/27382)
Updating files:  65% (17799/27382)
Updating files:  66% (18073/27382)
Updating files:  67% (18346/27382)
Updating files:  67% (18411/27382)
Updating files:  68% (18620/27382)
Updating files:  69% (18894/27382)
Updating files:  70% (19168/27382)
Updating files:  71% (19442/27382)
Updating files:  71% (19498/27382)
Updating files:  72% (19716/27382)
Updating files:  73% (19989/27382)
Updating files:  74% (20263/27382)
Updating files:  75% (20537/27382)
Updating files:  75% (20763/27382)
Updating files:  76% (20811/27382)
Updating files:  77% (21085/27382)
Updating files:  78% (21358/27382)
Updating files:  79% (21632/27382)
Updating files:  80% (21906/27382)
Updating files:  81% (22180/27382)
Updating files:  81% (22319/27382)
Updating files:  82% (22454/27382)
Updating files:  83% (22728/27382)
Updating files:  84% (23001/27382)
Updating files:  85% (23275/27382)
Updating files:  85% (23547/27382)
Updating files:  86% (23549/27382)
Updating files:  87% (23823/27382)
Updating files:  88% (24097/27382)
Updating files:  89% (24370/27382)
Updating files:  90% (24644/27382)
Updating files:  90% (24685/27382)
Updating files:  91% (24918/27382)
Updating files:  92% (25192/27382)
Updating files:  93% (25466/27382)
Updating files:  94% (25740/27382)
Updating files:  94% (25977/27382)
Updating files:  95% (26013/27382)
Updating files:  96% (26287/27382)
Updating files:  97% (26561/27382)
Updating files:  98% (26835/27382)
Updating files:  98% (27091/27382)
Updating files:  99% (27109/27382)
Updating files: 100% (27382/27382)
Updating files: 100% (27382/27382), done.
HEAD is now at 1c9ce3c82a Merge commit '3ad99986df8da94c976745758bfcf529fefacf93'
HEAD is now at bfaca3a2fa Merge pull request #22137 from kit-ty-kate/fix-24
Merge made by the 'ort' strategy.
 .../caqti-driver-postgresql.1.9.1/opam             | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 packages/caqti-driver-postgresql/caqti-driver-postgresql.1.9.1/opam

(from ocaml/opam:debian-11-ocaml-4.04@sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.04@sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d' locally
docker.io/ocaml/opam@sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d: Pulling from ocaml/opam
401166fb09bd: Pulling fs layer
401166fb09bd: Verifying Checksum
401166fb09bd: Download complete
401166fb09bd: Pull complete
Digest: sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d
Status: Downloaded newer image for ocaml/opam@sha256:b5468ebf6532e3838458da5d235aefa29310df5a2f37bfd1c54c072131f5be8d
2022-09-21 15:06.22 ---> using "f6b192053aed74ba144e0df184179aaf9d9bb69909fcec21be1dda65f774715f" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-09-21 15:06.22 ---> using "6f579782193192e53815ba1c722058f2af11a10b8701afef51e8d50c3a277f08" from cache

/home/opam: (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-09-21 15:06.22 ---> using "d2b616a0909f3b9efc6743b52308e96ded961a984c12af2f1c63dd6f51282479" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (run (shell "rm -rf opam-repository/"))
2022-09-21 15:06.22 ---> using "232bcea02ed1249bdffad8943420a76e1bf46c9fb482d18c020faccff71909c3" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2022-09-21 15:07.05 ---> saved as "8cf96ccd3b9a44d6950947623c1bb82ee36bb1aeae2b220ea772ab7b6a6b7a70"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2022-09-21 15:11.42 ---> saved as "7f47a2bf09e96919e6afae72fb0c82279527b7f22acb5a2d81f5722bd2a56e23"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn caqti-driver-postgresql.1.9.1 1.9.1"))
caqti-driver-postgresql is now pinned to version 1.9.1
2022-09-21 15:11.46 ---> saved as "b930d37b21683c40cea0b13a9dc2d55d300ba30af3f2c3242436122f3816421a"

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8184 kB]
- Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [184 kB]
- Fetched 8576 kB in 3s (2573 kB/s)
- Reading package lists...
- 
2022-09-21 15:11.52 ---> saved as "48b79b3384bbd21f2a7fd3509d32037e080301fa3211174903c464b808d91c47"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall caqti-driver-postgresql.1.9.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n        done;\
                        \n        exit 1"))
caqti-driver-postgresql.1.9.1 is not installed. Install it? [y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.04.2
    - caqti-driver-postgresql >= 1.9.1 -> postgresql >= 5.0.0 -> ocaml >= 4.08 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - caqti-driver-postgresql >= 1.9.1 -> postgresql >= 5.0.0 -> ocaml >= 4.08 -> ocaml-variants < 4.08.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - caqti-driver-postgresql >= 1.9.1 -> postgresql >= 5.0.0 -> ocaml >= 4.08 -> ocaml-variants < 4.08.2~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - caqti-driver-postgresql >= 1.9.1 -> postgresql >= 5.0.0 -> ocaml >= 4.08 -> ocaml-variants < 4.09.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - caqti-driver-postgresql >= 1.9.1 -> postgresql >= 5.0.0 -> ocaml >= 4.08 -> ocaml-variants < 4.10.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - caqti-driver-postgresql >= 1.9.1 -> postgresql >= 5.0.0 -> ocaml >= 4.08 -> ocaml-variants < 4.10.2~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - caqti-driver-postgresql >= 1.9.1 -> postgresql >= 5.0.0 -> ocaml >= 4.08 -> ocaml-variants < 4.11.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'

No solution found, exiting
"/bin/bash" "-c"
"opam reinstall caqti-driver-postgresql.1.9.1;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
        done;
        exit 1" failed with exit status 20
2022-09-21 15:13.14: Job failed: Failed: Build failed
2022-09-21 15:13.14: Log analysis:
2022-09-21 15:13.14: >>> 
No solution found, exiting
 (score = 100)
2022-09-21 15:13.14: [SKIP] Package not available