(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.1
                              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.1 /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.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.1 /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.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:  19% (5210/27383)
Updating files:  20% (5477/27383)
Updating files:  21% (5751/27383)
Updating files:  22% (6025/27383)
Updating files:  23% (6299/27383)
Updating files:  24% (6572/27383)
Updating files:  25% (6846/27383)
Updating files:  26% (7120/27383)
Updating files:  27% (7394/27383)
Updating files:  28% (7668/27383)
Updating files:  29% (7942/27383)
Updating files:  30% (8215/27383)
Updating files:  31% (8489/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:  42% (11587/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:  63% (17313/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:  86% (23695/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 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.55 ---> using "7327b696064fba46f2b37364f0bd271fc8b211d219764b8ebb7a6a698e9a7c83" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2022-09-21 15:07.05 ---> saved as "38ff2a82d1c4c04a0d13678d12df294e5b3778d7381dfd2084358d454ff23e3f"

/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 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:08.33 ---> saved as "adf7d9df64ae885d4dae6de1344811da8edaca2e557924d3f861c6f54af5aff4"

/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.45 ---> saved as "e8d67746a22cc16db8e5e26a78e9c02a1f5b7b2ea748144e38b1d0c186704b5a"

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

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

/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:09.59 ---> saved as "7a7f1a7b453b2d1259dd130aff618d0afa48b62da268bda60aadf6bb9ce4d8cd"

/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 2s (4908 kB/s)
- Reading package lists...
- 
2022-09-21 15:10.02 ---> saved as "bc3e985b0be3934fb4e07d92ec918a40a025ac52d404daad8bc03131f1a5be3b"

/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
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 =====

The following system packages will first need to be installed:
    libpq-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/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) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.15.0  (cached)
-> retrieved bigstringaf.0.9.0  (cached)
-> retrieved caqti.1.9.0  (cached)
-> retrieved caqti-driver-postgresql.1.9.1  (https://github.com/paurkedal/ocaml-caqti/releases/download/v1.9.1/caqti-v1.9.1.tbz)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.1  (cached)
-> installed conf-pkg-config.2
-> installed conf-postgresql.1
-> retrieved dune.3.4.1  (cached)
-> retrieved dune-configurator.3.4.1  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.1  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> retrieved postgresql.5.0.0  (cached)
-> retrieved ptime.1.0.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.5  (cached)
-> retrieved uri.4.2.0  (cached)
-> 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 bigstringaf.0.9.0
-> installed stringext.1.6.0
-> installed csexp.1.5.1
-> installed result.1.5
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed angstrom.0.15.0
-> installed dune-configurator.3.4.1
-> installed postgresql.5.0.0
-> installed uri.4.2.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:11.01 ---> saved as "f9ae1734f30bffd657748d38416331fe64e39f5a4f9902da21f47fd02b9febf8"
Job succeeded
2022-09-21 15:11.17: Job succeeded