(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.05/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.05@sha256:232e6336bcaedbc40e00962fc90b359158ceb93164f1b8eb37b25d1a60926d50
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.05@sha256:232e6336bcaedbc40e00962fc90b359158ceb93164f1b8eb37b25d1a60926d50-caqti-driver-postgresql.1.9.1-d7e07175260e109d3f8f66a7d395f955a84895f7"
2022-09-21 15:05.47: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.05@sha256:232e6336bcaedbc40e00962fc90b359158ceb93164f1b8eb37b25d1a60926d50)
 (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 x86-bm-5.ocamllabs.io
Updating files:  37% (10273/27383)
Updating files:  38% (10406/27383)
Updating files:  39% (10680/27383)
Updating files:  40% (10954/27383)
Updating files:  41% (11228/27383)
Updating files:  42% (11501/27383)
Updating files:  43% (11775/27383)
Updating files:  44% (12049/27383)
Updating files:  45% (12323/27383)
Updating files:  46% (12597/27383)
Updating files:  47% (12871/27383)
Updating files:  48% (13144/27383)
Updating files:  49% (13418/27383)
Updating files:  50% (13692/27383)
Updating files:  51% (13966/27383)
Updating files:  52% (14240/27383)
Updating files:  53% (14513/27383)
Updating files:  54% (14787/27383)
Updating files:  55% (15061/27383)
Updating files:  56% (15335/27383)
Updating files:  57% (15609/27383)
Updating files:  58% (15883/27383)
Updating files:  59% (16156/27383)
Updating files:  60% (16430/27383)
Updating files:  61% (16704/27383)
Updating files:  62% (16978/27383)
Updating files:  63% (17252/27383)
Updating files:  64% (17526/27383)
Updating files:  65% (17799/27383)
Updating files:  66% (18073/27383)
Updating files:  67% (18347/27383)
Updating files:  68% (18621/27383)
Updating files:  69% (18895/27383)
Updating files:  70% (19169/27383)
Updating files:  71% (19442/27383)
Updating files:  72% (19716/27383)
Updating files:  73% (19990/27383)
Updating files:  74% (20264/27383)
Updating files:  75% (20538/27383)
Updating files:  76% (20812/27383)
Updating files:  77% (21085/27383)
Updating files:  78% (21359/27383)
Updating files:  79% (21633/27383)
Updating files:  80% (21907/27383)
Updating files:  81% (22181/27383)
Updating files:  82% (22455/27383)
Updating files:  82% (22558/27383)
Updating files:  83% (22728/27383)
Updating files:  84% (23002/27383)
Updating files:  85% (23276/27383)
Updating files:  86% (23550/27383)
Updating files:  87% (23824/27383)
Updating files:  88% (24098/27383)
Updating files:  89% (24371/27383)
Updating files:  90% (24645/27383)
Updating files:  91% (24919/27383)
Updating files:  92% (25193/27383)
Updating files:  93% (25467/27383)
Updating files:  94% (25741/27383)
Updating files:  95% (26014/27383)
Updating files:  96% (26288/27383)
Updating files:  97% (26562/27383)
Updating files:  98% (26836/27383)
Updating files:  99% (27110/27383)
Updating files: 100% (27383/27383)
Updating files: 100% (27383/27383), done.
HEAD is now at a390aa42aa Merge commit '8e23f97bacd27aa9231818f46c11762964e7b1b2'
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.05@sha256:232e6336bcaedbc40e00962fc90b359158ceb93164f1b8eb37b25d1a60926d50)
2022-09-21 15:05.54 ---> using "ba71fe651963bb9437095015ffcd6a9083e8761b90d22ffeece0c9b49c0081bb" 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:05.54 ---> using "2ed2597224c8bf886ff8e3933d40fdebf734cb340e28fe38d1d62977a056ad55" 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:05.57 ---> using "27a3f05eb50efa21f707165299a761445462388e0d08534678340c2eca1a857d" 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:05.57 ---> using "8accbd1f3ca9d5d9f6e78404c1a28c7aceebe0764c6b66c12eb162ba5d0528b2" from cache

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

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

/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:07.09 ---> saved as "007b7a7a4f110bbbef44b199ce73254da02de2e89519d3214e8ebed8801dcd62"

/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 (2834 kB/s)
- Reading package lists...
- 
2022-09-21 15:07.23 ---> saved as "29ab65c5c0e389610e578ecb66ccf65b147f20337f0b312dedae8b2c89ce9765"

/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.05.0
    - 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:08.02: Job failed: Failed: Build failed
2022-09-21 15:08.02: Log analysis:
2022-09-21 15:08.02: >>> 
No solution found, exiting
 (score = 100)
2022-09-21 15:08.02: [SKIP] Package not available