(for PR #29096)

2025-12-15 03:22.33: New job: test caqti-driver-postgresql.2.2.4 with dyn.3.21.0~alpha4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29096/head (7d6af52f05e2c06c00193b2918193b6994ece701)
                              on debian-13-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/29096/head" && git reset --hard 7d6af52f
git fetch origin master
git merge --no-edit 2625e9877b44d517ad87b5bf4ff708f3e44b78d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dyn.3.21.0~alpha4 3.21.0~alpha4
RUN opam reinstall dyn.3.21.0~alpha4; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dyn.3.21.0~alpha4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall caqti-driver-postgresql.2.2.4; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'caqti-driver-postgresql.2.2.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test caqti-driver-postgresql.2.2.4) || true
RUN opam reinstall --with-test --verbose caqti-driver-postgresql.2.2.4; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'caqti-driver-postgresql.2.2.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

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

2025-12-15 03:22.33: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d-dyn.3.21.0~alpha4-caqti-driver-postgresql.2.2.4-7d6af52f05e2c06c00193b2918193b6994ece701"
2025-12-15 03:22.33: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dyn.3.21.0~alpha4 3.21.0~alpha4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dyn.3.21.0~alpha4;\
             \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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dyn.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall caqti-driver-postgresql.2.2.4;\
             \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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'caqti-driver-postgresql.2.2.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test caqti-driver-postgresql.2.2.4) || true"))
 (run (shell  "opam reinstall --with-test --verbose caqti-driver-postgresql.2.2.4;\
             \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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'caqti-driver-postgresql.2.2.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-15 03:22.33: Waiting for resource in pool OCluster
2025-12-15 06:52.38: Waiting for worker…
2025-12-15 06:56.33: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  78% (14953/19031)
Updating files:  79% (15035/19031)
Updating files:  80% (15225/19031)
Updating files:  81% (15416/19031)
Updating files:  82% (15606/19031)
Updating files:  83% (15796/19031)
Updating files:  84% (15987/19031)
Updating files:  85% (16177/19031)
Updating files:  86% (16367/19031)
Updating files:  87% (16557/19031)
Updating files:  88% (16748/19031)
Updating files:  89% (16938/19031)
Updating files:  90% (17128/19031)
Updating files:  91% (17319/19031)
Updating files:  92% (17509/19031)
Updating files:  93% (17699/19031)
Updating files:  94% (17890/19031)
Updating files:  95% (18080/19031)
Updating files:  96% (18270/19031)
Updating files:  97% (18461/19031)
Updating files:  98% (18651/19031)
Updating files:  99% (18841/19031)
Updating files: 100% (19031/19031)
Updating files: 100% (19031/19031), done.
HEAD is now at 2625e9877b Merge pull request #29094 from anmonteiro/patch-9
Updating 2625e9877b..7d6af52f05
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha4/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha4/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha4/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha4/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha4/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha4/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha4/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha4/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha4/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha4/opam            | 41 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha4/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha4/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha4/opam     | 40 ++++++++++++
 packages/xdg/xdg.3.21.0~alpha4/opam                | 41 ++++++++++++
 17 files changed, 789 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha4/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha4/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha4/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha4/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha4/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha4/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha4/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha4/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha4/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha4/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha4/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha4/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha4/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d' locally
docker.io/ocaml/opam@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d: Pulling from ocaml/opam
53c88f1dfeb7: Already exists
268d44a12236: Already exists
f2f36c7402e3: Already exists
9eb2778f421b: Already exists
3ca35f1ec5ed: Already exists
b08866568793: Already exists
fb0d17ce08c9: Already exists
c8db2c4fd670: Already exists
5fa8cfe8f9cb: Already exists
e7f5f7180a56: Already exists
9f66154be4d4: Already exists
f6674de6e5d4: Already exists
80eb63632584: Already exists
66f55aa69346: Already exists
d121bc397a1a: Already exists
0eff100405dd: Already exists
7d67d217736c: Already exists
ac7107dc3d00: Already exists
f01a17be3cef: Already exists
30a38827b55c: Already exists
085733096c8e: Already exists
86db5d63aa02: Already exists
4f4fb700ef54: Already exists
034a62edceac: Already exists
808c1ae36c95: Already exists
eba808bca592: Already exists
68b2bb6a330b: Already exists
9fee74853ab2: Already exists
00d667d2b4f9: Already exists
cde2288b7be2: Already exists
6e6039e741bd: Already exists
08dc627d7129: Already exists
fbbf04bee28a: Already exists
cf124fccb693: Already exists
16001ee30892: Already exists
a379ebcf721f: Already exists
c05951b4b1dd: Already exists
1238fc26ec9b: Already exists
33d5b2862e74: Already exists
6a5c5f5e740e: Already exists
f97083767ae6: Already exists
5fbf3379e3de: Pulling fs layer
fa7fd9ad7954: Pulling fs layer
c0b4ac729b41: Pulling fs layer
40482318cf81: Pulling fs layer
40482318cf81: Waiting
fa7fd9ad7954: Download complete
c0b4ac729b41: Download complete
40482318cf81: Download complete
5fbf3379e3de: Verifying Checksum
5fbf3379e3de: Download complete
5fbf3379e3de: Pull complete
fa7fd9ad7954: Pull complete
c0b4ac729b41: Pull complete
40482318cf81: Pull complete
Digest: sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
Status: Downloaded newer image for ocaml/opam@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
2025-12-15 06:56.38 ---> using "d81b3b20b9dbe813f4813251eb45f7f230344599357169e34b0d2f872bf65895" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-15 06:56.38 ---> using "4c0c738834a7be54719ab9b07c911eba51e45ad4298c42597f7d3da72b1c15d4" from cache

/home/opam: (run (network host)
                 (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.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-15 06:56.38 ---> using "8bb6d27bb5f7ebe9771219e3ecd730184d5e10ab877134c11c12ee3b1a6d3b96" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-12-15 06:56.38 ---> using "35019bd57e8933485bd938828fe288c3674216a4757e13b1dac8ce6b21035ac2" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-12-15 06:56.38 ---> using "e09ab9992a764acab15da9cff99e3d4d978b8a77f33714cc5d19d16d3539eb49" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-15 06:56.39 ---> using "effd8012bb926235286407b71766f59239cdbd05eeb488dee8fd8b0266ec56c0" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-15 06:56.39 ---> using "da8e6b523210d6314ae3052775034fea74104aae3f193362b9609201bf93d1d2" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB]
- Fetched 176 kB in 0s (1408 kB/s)
- Reading package lists...
2025-12-15 06:56.39 ---> using "cd39baac0c78bb4b886710bb093d6b750f25b1cabe39d7490bff23ee544310da" from cache

/home/opam: (run (shell "opam pin add -k version -yn dyn.3.21.0~alpha4 3.21.0~alpha4"))
dyn is now pinned to version 3.21.0~alpha4
2025-12-15 06:56.39 ---> using "98de4357300b8e4613be1f20bfc086838960a92874ce40327a796159817b473a" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dyn.3.21.0~alpha4;\
                        \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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dyn.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dyn.3.21.0~alpha4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
  - install dune     3.21.0~alpha4          [required by dyn]
  - install dyn      3.21.0~alpha4 (pinned)
  - install ordering 3.21.0~alpha4          [required by dyn]
  - install pp       2.0.0                  [required by dyn]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha4, dyn.3.21.0~alpha4, ordering.3.21.0~alpha4  (cached)
-> retrieved pp.2.0.0  (cached)
-> installed dune.3.21.0~alpha4
-> installed pp.2.0.0
-> installed ordering.3.21.0~alpha4
-> installed dyn.3.21.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 06:56.39 ---> using "479cc959610bb22c88d4d48e8b29150a9ddd3ab92893bf2ae499808f15e883bd" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall caqti-driver-postgresql.2.2.4;\
                        \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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'caqti-driver-postgresql.2.2.4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
caqti-driver-postgresql.2.2.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 48 packages
  - install angstrom                0.16.1        [required by caqti]
  - install asn1-combinators        0.3.2         [required by x509]
  - install base64                  3.5.2         [required by x509]
  - install bigstringaf             0.10.0        [required by caqti]
  - install caqti                   2.2.4         [required by caqti-driver-postgresql]
  - install caqti-driver-postgresql 2.2.4
  - install conf-gmp                5             [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec       4             [required by mirage-crypto-pk]
  - install conf-pkg-config         4             [required by conf-postgresql]
  - install conf-postgresql         2             [required by postgresql]
  - install csexp                   1.5.2         [required by dune-private-libs]
  - install digestif                1.3.0         [required by tls]
  - install domain-name             0.5.0         [required by caqti]
  - install dune-configurator       3.21.0~alpha4 [required by postgresql]
  - install dune-private-libs       3.21.0~alpha4 [required by dune-site]
  - install dune-site               3.21.0~alpha4 [required by caqti]
  - install duration                0.2.1         [required by mirage-crypto-rng]
  - install eqaf                    0.10          [required by mirage-crypto-ec, digestif, mirage-crypto-pk]
  - install fmt                     0.11.0        [required by logs, tls]
  - install fs-io                   3.21.0~alpha4 [required by stdune]
  - install gmap                    0.3.0         [required by x509]
  - install ipaddr                  5.6.1         [required by caqti]
  - install kdf                     1.0.0         [required by tls]
  - install logs                    0.10.0        [required by caqti]
  - install lru                     0.3.1         [required by caqti]
  - install lwt-dllist              1.1.0         [required by caqti]
  - install macaddr                 5.6.1         [required by ipaddr]
  - install mirage-crypto           2.0.2         [required by tls]
  - install mirage-crypto-ec        2.0.2         [required by tls]
  - install mirage-crypto-pk        2.0.2         [required by tls]
  - install mirage-crypto-rng       2.0.2         [required by tls]
  - install mtime                   2.1.0         [required by caqti]
  - install ocaml-syntax-shims      1.0.0         [required by angstrom]
  - install ocamlbuild              0.16.1        [required by mtime, logs, ptime]
  - install ocamlfind               1.9.8         [required by mtime, logs, ptime]
  - install ohex                    0.2.0         [required by tls]
  - install postgresql              5.2.0         [required by caqti-driver-postgresql]
  - install psq                     0.2.1         [required by lru]
  - install ptime                   1.2.0         [required by caqti]
  - install seq                     base          [required by psq]
  - install stdune                  3.21.0~alpha4 [required by dune-private-libs]
  - install stringext               1.6.0         [required by uri]
  - install tls                     2.0.3         [required by caqti]
  - install top-closure             3.21.0~alpha4 [required by stdune]
  - install topkg                   1.1.1         [required by mtime, logs, ptime]
  - install uri                     4.4.0         [required by caqti-driver-postgresql]
  - install x509                    1.0.6         [required by caqti]
  - install zarith                  1.14          [required by mirage-crypto-pk]

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libpq-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl: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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libpq5:amd64.
- Preparing to unpack .../3-libpq5_17.6-0+deb13u1_amd64.deb ...
- Unpacking libpq5:amd64 (17.6-0+deb13u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../4-libssl-dev_3.5.4-1~deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../5-libpq-dev_17.6-0+deb13u1_amd64.deb ...
- Unpacking libpq-dev (17.6-0+deb13u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../6-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../7-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../8-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpq5:amd64 (17.6-0+deb13u1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libpq-dev (17.6-0+deb13u1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved caqti.2.2.4, caqti-driver-postgresql.2.2.4  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed base64.3.5.2
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> installed conf-postgresql.2
-> installed conf-gmp-powm-sec.4
-> installed csexp.1.5.2
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> installed domain-name.0.5.0
-> retrieved dune-configurator.3.21.0~alpha4, dune-private-libs.3.21.0~alpha4, dune-site.3.21.0~alpha4, fs-io.3.21.0~alpha4, stdune.3.21.0~alpha4, top-closure.3.21.0~alpha4  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed macaddr.5.6.1
-> installed lwt-dllist.1.1.0
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (cached)
-> installed eqaf.0.10
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed ipaddr.5.6.1
-> retrieved ohex.0.2.0  (cached)
-> installed fs-io.3.21.0~alpha4
-> retrieved postgresql.5.2.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stringext.1.6.0  (cached)
-> retrieved tls.2.0.3  (cached)
-> installed top-closure.3.21.0~alpha4
-> installed dune-configurator.3.21.0~alpha4
-> installed digestif.1.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed psq.0.2.1
-> installed stringext.1.6.0
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved zarith.1.14  (cached)
-> installed lru.0.3.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed postgresql.5.2.0
-> installed mirage-crypto.2.0.2
-> installed kdf.1.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed stdune.3.21.0~alpha4
-> installed uri.4.4.0
-> installed dune-private-libs.3.21.0~alpha4
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed dune-site.3.21.0~alpha4
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed asn1-combinators.0.3.2
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed tls.2.0.3
-> installed caqti.2.2.4
-> installed caqti-driver-postgresql.2.2.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 06:58.01 ---> saved as "23f601899c3ea2f51c5787822ab501dd978db2136e4d3d9253ab7219721b0c60"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test caqti-driver-postgresql.2.2.4) || true"))
The following actions will be performed:
=== recompile 9 packages
  - recompile caqti                   2.2.4  [uses logs]
  - recompile caqti-driver-postgresql 2.2.4
  - recompile fmt                     0.11.0 [uses cmdliner]
  - recompile logs                    0.10.0 [uses cmdliner]
  - recompile mirage-crypto-ec        2.0.2  [uses mirage-crypto-rng]
  - recompile mirage-crypto-pk        2.0.2  [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng       2.0.2  [uses logs]
  - recompile tls                     2.0.3  [uses fmt]
  - recompile x509                    1.0.6  [uses fmt]
=== install 6 packages
  - install   alcotest                1.9.1  [required by caqti-driver-postgresql]
  - install   astring                 0.8.5  [required by alcotest]
  - install   cmdliner                2.1.0  [required by caqti-driver-postgresql]
  - install   re                      1.14.0 [required by alcotest]
  - install   stdlib-shims            0.3.0  [required by alcotest]
  - install   uutf                    1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved caqti.2.2.4, caqti-driver-postgresql.2.2.4  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved tls.2.0.3  (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> installed stdlib-shims.0.3.0
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> retrieved x509.1.0.6  (https://opam.ocaml.org/cache)
-> installed re.1.14.0
-> removed   caqti-driver-postgresql.2.2.4
-> removed   caqti.2.2.4
-> removed   tls.2.0.3
-> removed   x509.1.0.6
-> removed   mirage-crypto-ec.2.0.2
-> removed   mirage-crypto-pk.2.0.2
-> removed   mirage-crypto-rng.2.0.2
-> removed   logs.0.10.0
-> removed   fmt.0.11.0
-> installed cmdliner.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed tls.2.0.3
-> installed caqti.2.2.4
-> installed caqti-driver-postgresql.2.2.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 06:58.35 ---> saved as "98cfde7ac2c6232e3b7e2cfa2aa94d80d84fc66d8aeee5647030c0addf4813ae"

/home/opam: (run (shell  "opam reinstall --with-test --verbose caqti-driver-postgresql.2.2.4;\
                        \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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'caqti-driver-postgresql.2.2.4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile caqti-driver-postgresql 2.2.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [caqti-driver-postgresql.2.2.4: extract]
-> retrieved caqti-driver-postgresql.2.2.4  (cached)
Processing  2/4: [caqti-driver-postgresql: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "caqti-driver-postgresql" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/caqti-driver-postgresql.2.2.4)
Processing  2/4: [caqti-driver-postgresql: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "caqti-driver-postgresql" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/caqti-driver-postgresql.2.2.4)
- (cd _build/default/caqti-driver-postgresql/test && ./test_postgresql.exe)
- Testing `test_postgresql'.
- This run has ID `IQSHYGJ8'.
- 
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/caqti-driver-postgresql.2.2.4/_build/default/caqti-driver-postgresql/test/_build/_tests/test_postgresql'.
- Test Successful in 0.000s. 0 test run.
-> compiled  caqti-driver-postgresql.2.2.4
-> removed   caqti-driver-postgresql.2.2.4
-> installed caqti-driver-postgresql.2.2.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 06:58.44 ---> saved as "302980a02ef77cef1a836d01138963b00a255a185a450c16cb4436166bac068f"
Job succeeded
2025-12-15 06:58.58: Job succeeded