(not at the head of any monitored branch or PR)
2022-09-21 15:05.46: 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.02/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.02@sha256:20ba78327fc728423cd5d3eca4d9cde66e0a33cf7d56b877a722745e2b6ccf64
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.46: Using cache hint "ocaml/opam:debian-11-ocaml-4.02@sha256:20ba78327fc728423cd5d3eca4d9cde66e0a33cf7d56b877a722745e2b6ccf64-caqti-driver-postgresql.1.9.1-d7e07175260e109d3f8f66a7d395f955a84895f7"
2022-09-21 15:05.46: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.02@sha256:20ba78327fc728423cd5d3eca4d9cde66e0a33cf7d56b877a722745e2b6ccf64)
 (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.46: 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-7.ocamllabs.io
Updating files:  34% (9576/27383)
Updating files:  35% (9585/27383)
Updating files:  36% (9858/27383)
Updating files:  37% (10132/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:  72% (19887/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:  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 7f18b79b7b 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.02@sha256:20ba78327fc728423cd5d3eca4d9cde66e0a33cf7d56b877a722745e2b6ccf64)
2022-09-21 15:05.57 ---> using "4b397bc4ec5d51e4d2aa948e3daead0b7f28557298b401f9a03cdc24e755b49b" 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.57 ---> using "f68c2b71f2b8f913768ddc956569bd46bb879f76ceacfa2ae44b4b46658720f5" 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.

Continue? [y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-09-21 15:05.57 ---> using "f316cc20ca7355e9809497edbafae8823723249b98e2f83619771efe74d6df7a" 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 "36b0c2d2209598de3fb1151170bb3975d9a7f36810b6a7b738bf1755b28947f0" from cache

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

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

/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.48 ---> saved as "2f2f2980a48b4c39b86813ab8ed91a217078eaeb8ab81664c00775fdc73072e2"

/home/opam: (run (network host)
                 (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- 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-security bullseye-security/main amd64 Packages [184 kB]
- Fetched 276 kB in 1s (460 kB/s)
- Reading package lists...
- 
2022-09-21 15:07.53 ---> saved as "f6544c45b7c0b3f189ebb0e7a1eb8416ca3f5c6e899dc429da1ba2eb5cd7134a"

/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.02.3
    - caqti-driver-postgresql >= 1.9.1 -> caqti >= 1.9.0 -> ocaml >= 4.04.0 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - caqti-driver-postgresql >= 1.9.1 -> caqti >= 1.9.0 -> ocaml >= 4.04.0 -> ocaml-variants >= 4.05.0 -> 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.33: Job failed: Failed: Build failed
2022-09-21 15:08.33: Log analysis:
2022-09-21 15:08.33: >>> 
No solution found, exiting
 (score = 100)
2022-09-21 15:08.33: [SKIP] Package not available