(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 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/22139/head (d7e07175260e109d3f8f66a7d395f955a84895f7)
                              on debian-11-ocaml-4.14/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.14@sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /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 depext -u
RUN opam depext caqti-driver-postgresql.1.9.1 && 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.14@sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b-caqti-driver-postgresql.1.9.1-d7e07175260e109d3f8f66a7d395f955a84895f7"
2022-09-21 15:05.47: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /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 depext -u"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext caqti-driver-postgresql.1.9.1 && 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.48: Waiting for worker...
2022-09-21 15:05.48: Got resource from pool OCluster
Building on x86-bm-9.ocamllabs.io
All commits already cached
Updating files:  31% (8526/27383)
Updating files:  32% (8763/27383)
Updating files:  33% (9037/27383)
Updating files:  34% (9311/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:  62% (17190/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:  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:  92% (25265/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 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.14@sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b' locally
docker.io/ocaml/opam@sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b: Pulling from ocaml/opam
c818d5e9ae7a: Pulling fs layer
c818d5e9ae7a: Verifying Checksum
c818d5e9ae7a: Download complete
c818d5e9ae7a: Pull complete
Digest: sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b
Status: Downloaded newer image for ocaml/opam@sha256:23cee91dd0c80ac7d87f96ffdc1df702074220a409f6bbc03e3b92872e18350b
2022-09-21 15:06.32 ---> using "7327b696064fba46f2b37364f0bd271fc8b211d219764b8ebb7a6a698e9a7c83" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2022-09-21 15:06.35 ---> saved as "3e05de5f20574094eab5a9306f229eb06e0c2058dd02c9b453494ce68f58309f"

/home/opam: (run (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2022-09-21 15:07.50 ---> saved as "3429dcc6ceb5d5818a148cd4a86a746cd38e8e67d632fdaad73f2d9740ae2a29"

/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:08.03 ---> saved as "d836f680c66932fbaa20b3788d78270bb88dfbdc49bf2a91c0046ea812ca419f"

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2022-09-21 15:08.40 ---> saved as "1b4a065cb8fc882c9cdcf0357327f7cb785ca16c3f5fa1448919de0ef2920b18"

/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:08.52 ---> saved as "deee3df0bf990e53f45b2abc4e2c2bf43a6da67f3a520af5c36c4ae6b5b6bb78"

/home/opam: (run (network host)
                 (shell "opam depext -u"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (3132 kB/s)
Reading package lists...
# OS package update successful
2022-09-21 15:08.59 ---> saved as "030d4118d708949de504182377b31509a1f316396e7b448b42e2fbcbf4262570"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext caqti-driver-postgresql.1.9.1 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libpq-dev
pkg-config
The following command needs to be run through "sudo":
    apt-get install -qq -yy libpq-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libglib2.0-0:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18331 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.66.8-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../1-libglib2.0-data_2.66.8-1_all.deb ...
Unpacking libglib2.0-data (2.66.8-1) ...
Selecting previously unselected package libicu67:amd64.
Preparing to unpack .../2-libicu67_67.1-7_amd64.deb ...
Unpacking libicu67:amd64 (67.1-7) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../3-libpq5_13.8-0+deb11u1_amd64.deb ...
Unpacking libpq5:amd64 (13.8-0+deb11u1) ...
Selecting previously unselected package libpq-dev.
Preparing to unpack .../4-libpq-dev_13.8-0+deb11u1_amd64.deb ...
Unpacking libpq-dev (13.8-0+deb11u1) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../5-libxml2_2.9.10+dfsg-6.7+deb11u2_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../6-pkg-config_0.29.2-1_amd64.deb ...
Unpacking pkg-config (0.29.2-1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../7-shared-mime-info_2.0-1_amd64.deb ...
Unpacking shared-mime-info (2.0-1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../8-xdg-user-dirs_0.17-2_amd64.deb ...
Unpacking xdg-user-dirs (0.17-2) ...
Setting up libicu67:amd64 (67.1-7) ...
Setting up xdg-user-dirs (0.17-2) ...
Setting up libglib2.0-0:amd64 (2.66.8-1) ...
No schema files found: doing nothing.
Setting up libpq5:amd64 (13.8-0+deb11u1) ...
Setting up libpq-dev (13.8-0+deb11u1) ...
Setting up libglib2.0-data (2.66.8-1) ...
Setting up pkg-config (0.29.2-1) ...
Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u2) ...
Setting up shared-mime-info (2.0-1) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
# OS packages installation successful
caqti-driver-postgresql.1.9.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install conf-pkg-config         2      [required by bigstringaf]
  - install ocamlfind               1.9.5  [required by ptime, logs, base-bytes]
  - install dune                    3.4.1  [required by caqti-driver-postgresql]
  - install conf-postgresql         1      [required by postgresql]
  - install ocamlbuild              0.14.1 [required by logs, ptime]
  - install base-bytes              base   [required by postgresql]
  - install stringext               1.6.0  [required by uri]
  - install result                  1.5    [required by angstrom]
  - install ocaml-syntax-shims      1.0.0  [required by angstrom]
  - install csexp                   1.5.1  [required by dune-configurator]
  - install cppo                    1.6.9  [required by caqti]
  - install bigstringaf             0.9.0  [required by caqti]
  - install topkg                   1.0.5  [required by logs, ptime]
  - install dune-configurator       3.4.1  [required by postgresql]
  - install angstrom                0.15.0 [required by caqti]
  - install ptime                   1.0.0  [required by caqti]
  - install logs                    0.7.0  [required by caqti]
  - install postgresql              5.0.0  [required by caqti-driver-postgresql]
  - install uri                     4.2.0  [required by caqti-driver-postgresql]
  - install caqti                   1.9.0  [required by caqti-driver-postgresql]
  - install caqti-driver-postgresql 1.9.1*
===== 21 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[angstrom.0.15.0] found in cache
[bigstringaf.0.9.0] found in cache
[caqti.1.9.0] found in cache
[caqti-driver-postgresql.1.9.1] downloaded from https://github.com/paurkedal/ocaml-caqti/releases/download/v1.9.1/caqti-v1.9.1.tbz
[cppo.1.6.9] found in cache
[csexp.1.5.1] found in cache
[dune.3.4.1] found in cache
[dune-configurator.3.4.1] found in cache
[logs.0.7.0] found in cache
[ocaml-syntax-shims.1.0.0] found in cache
[ocamlbuild.0.14.1] found in cache
[ocamlfind.1.9.5] found in cache
[postgresql.5.0.0] found in cache
[ptime.1.0.0] found in cache
[result.1.5] found in cache
[stringext.1.6.0] found in cache
[topkg.1.0.5] found in cache
[uri.4.2.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.2
-> installed conf-postgresql.1
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed ocamlbuild.0.14.1
-> installed topkg.1.0.5
-> installed logs.0.7.0
-> installed ptime.1.0.0
-> installed dune.3.4.1
-> installed csexp.1.5.1
-> installed bigstringaf.0.9.0
-> installed result.1.5
-> installed stringext.1.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed angstrom.0.15.0
-> installed dune-configurator.3.4.1
-> installed uri.4.2.0
-> installed postgresql.5.0.0
-> installed caqti.1.9.0
-> installed caqti-driver-postgresql.1.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2022-09-21 15:10.07 ---> saved as "352cad5ba319432fca8dc0c8283e40a64008d45df6efea2d147e19dc8e922aab"
Job succeeded
2022-09-21 15:10.23: Job succeeded