(for PR #28222)

2025-07-22 12:24.24: New job: test ocsipersist.1.0.1 with lwt_log.1.1.2, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (381d421c95f23c7e41d7bd80fe4ee0fa7b4fca2f)
                              on debian-12-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/28222/head" && git reset --hard 381d421c
git fetch origin master
git merge --no-edit 14fd69dba01fe02a6cbf63a81a67897e0f52cbfc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 lwt_log.1.1.2 1.1.2
RUN opam reinstall lwt_log.1.1.2; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt_log.1.1.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall ocsipersist.1.0.1; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocsipersist.1.0.1' && 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 ocsipersist.1.0.1) || true
RUN opam reinstall --with-test --verbose ocsipersist.1.0.1; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocsipersist.1.0.1' && 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-07-22 12:24.24: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca-lwt_log.1.1.2-ocsipersist.1.0.1-381d421c95f23c7e41d7bd80fe4ee0fa7b4fca2f"
2025-07-22 12:24.24: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 lwt_log.1.1.2 1.1.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_log.1.1.2;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lwt_log.1.1.2' && 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 ocsipersist.1.0.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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocsipersist.1.0.1' && 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 ocsipersist.1.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose ocsipersist.1.0.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        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocsipersist.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-07-22 12:24.24: Waiting for resource in pool OCluster
2025-07-22 15:36.33: Waiting for worker…
2025-07-22 15:50.53: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  67% (12054/17879)
Updating files:  68% (12158/17879)
Updating files:  69% (12337/17879)
Updating files:  70% (12516/17879)
Updating files:  71% (12695/17879)
Updating files:  72% (12873/17879)
Updating files:  73% (13052/17879)
Updating files:  74% (13231/17879)
Updating files:  75% (13410/17879)
Updating files:  76% (13589/17879)
Updating files:  77% (13767/17879)
Updating files:  78% (13946/17879)
Updating files:  79% (14125/17879)
Updating files:  80% (14304/17879)
Updating files:  81% (14482/17879)
Updating files:  82% (14661/17879)
Updating files:  83% (14840/17879)
Updating files:  84% (15019/17879)
Updating files:  85% (15198/17879)
Updating files:  86% (15376/17879)
Updating files:  87% (15555/17879)
Updating files:  88% (15734/17879)
Updating files:  89% (15913/17879)
Updating files:  90% (16092/17879)
Updating files:  91% (16270/17879)
Updating files:  92% (16449/17879)
Updating files:  93% (16628/17879)
Updating files:  94% (16807/17879)
Updating files:  95% (16986/17879)
Updating files:  96% (17164/17879)
Updating files:  97% (17343/17879)
Updating files:  98% (17522/17879)
Updating files:  99% (17701/17879)
Updating files: 100% (17879/17879)
Updating files: 100% (17879/17879), done.
HEAD is now at 14fd69dba0 Merge pull request #28217 from sim642/opam-state-2.4-upper-bounds
Updating 14fd69dba0..381d421c95
Fast-forward
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 5 files changed, 116 insertions(+), 3 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca' locally
docker.io/ocaml/opam@sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca: Pulling from ocaml/opam
010b17fc78a8: Pulling fs layer
010b17fc78a8: Verifying Checksum
010b17fc78a8: Download complete
010b17fc78a8: Pull complete
Digest: sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca
Status: Downloaded newer image for ocaml/opam@sha256:4216ef78f0a2edc0e9ef5d391d2d742bcfb67b1d97dcc5502a71bcab91cf7cca
2025-07-22 15:54.18 ---> using "bdea20d69702e45393a0b0f1780f2fd036aae0c7f0fb3d2d6afe87f5376157fc" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-22 15:54.18 ---> using "ee71950878321ce155700562b11a0514307f63e65f7478d54e41eb7be44564b6" 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 development 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-22 15:54.18 ---> using "a7832be132102734df19669daf0993667820454fb4d7c53d26819850a712f475" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# 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-07-22 15:54.18 ---> using "aa2cbbd7d952c62c70a303b10ea47bfb39bfbc5ca8a6dcd87eaca9df308252e0" 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-07-22 15:54.18 ---> using "3c7bfa3ccbe6e216ad7928c76c0026a183769750502f7875b3385fa810369906" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-22 15:54.20 ---> using "22f300dc875bc070b45198c973d26d79724a6b311c25e1c1dc873690ac3b781c" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-22 15:54.20 ---> using "5c9e3adcefff8dffac8cbc95a529d8d761c8cb1b0977851c9d370007014514ec" 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 bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (276 kB/s)
- Reading package lists...
- 
2025-07-22 15:54.20 ---> using "a2e44423a34c28cd4f374b9db36fd7b84f29ed2d6b6ae9baf94f051eea0a6658" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt_log.1.1.2 1.1.2"))
lwt_log is now pinned to version 1.1.2
2025-07-22 15:54.20 ---> using "6218dad83feec1607249c68609df16102c2bfbc1ab4ab9a0d6f94bf1b118338f" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_log.1.1.2;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lwt_log.1.1.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt_log.1.1.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 9 packages
  - install base-bytes        base           [required by ocplib-endian]
  - install cppo              1.8.0          [required by lwt]
  - install csexp             1.5.2          [required by dune-configurator]
  - install dune              3.19.1         [required by lwt_log]
  - install dune-configurator 3.19.1         [required by lwt]
  - install lwt               5.9.1          [required by lwt_log]
  - install lwt_log           1.1.2 (pinned)
  - install ocamlfind         1.9.8          [required by base-bytes]
  - install ocplib-endian     1.2            [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed lwt.5.9.1
-> installed lwt_log.1.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-22 15:54.20 ---> using "08bbe3d39f27b47e98df6d217dbfa53b264da6e8d9791cd386552a4c580baa9d" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocsipersist.1.0.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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocsipersist.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocsipersist.1.0.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 69 packages
  - install angstrom            0.16.1  [required by uri]
  - install asn1-combinators    0.3.2   [required by x509]
  - install astring             0.8.5   [required by conduit]
  - install base                v0.16.4 [required by ppx_sexp_conv]
  - install base64              3.5.1   [required by cohttp]
  - install bigstringaf         0.10.0  [required by angstrom]
  - install bos                 0.2.1   [required by ca-certs]
  - install ca-certs            1.0.1   [required by conduit-lwt-unix]
  - install camlzip             1.13    [required by ocsigenserver]
  - install cmdliner            1.3.0   [required by cohttp-lwt-unix]
  - install cohttp              5.3.1   [required by cohttp-lwt]
  - install cohttp-lwt          5.3.0   [required by cohttp-lwt-unix]
  - install cohttp-lwt-unix     5.3.0   [required by ocsigenserver]
  - install conduit             7.0.0   [required by conduit-lwt]
  - install conduit-lwt         7.0.0   [required by cohttp-lwt-unix]
  - install conduit-lwt-unix    7.0.0   [required by ocsigenserver]
  - install conf-gmp            5       [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec   4       [required by cryptokit]
  - install conf-libssl         4       [required by ssl]
  - install conf-pkg-config     4       [required by conf-zlib]
  - install conf-zlib           1       [required by camlzip, cryptokit]
  - install cryptokit           1.20    [required by ocsigenserver]
  - install digestif            1.3.0   [required by ca-certs]
  - install domain-name         0.4.1   [required by ipaddr, x509]
  - install duration            0.2.1   [required by mirage-crypto-rng]
  - install eqaf                0.10    [required by digestif, mirage-crypto]
  - install fmt                 0.10.0  [required by cohttp-lwt-unix]
  - install fpath               0.7.3   [required by ca-certs]
  - install gmap                0.3.0   [required by x509]
  - install ipaddr              5.6.0   [required by ocsigenserver]
  - install ipaddr-sexp         5.6.0   [required by conduit-lwt-unix]
  - install jsonm               1.0.2   [required by cohttp]
  - install kdf                 1.0.0   [required by x509]
  - install logs                0.9.0   [required by cohttp-lwt-unix]
  - install lwt_ppx             5.9.1   [required by ocsipersist-lib]
  - install lwt_react           1.2.0   [required by ocsigenserver]
  - install lwt_ssl             1.2.0   [required by ocsigenserver]
  - install macaddr             5.6.0   [required by ipaddr]
  - install magic-mime          1.3.1   [required by cohttp-lwt-unix]
  - install mirage-crypto       2.0.1   [required by ca-certs]
  - install mirage-crypto-ec    2.0.1   [required by x509]
  - install mirage-crypto-pk    2.0.1   [required by x509]
  - install mirage-crypto-rng   2.0.1   [required by x509]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install ocaml-syntax-shims  1.0.0   [required by angstrom]
  - install ocamlbuild          0.16.1  [required by react]
  - install ocsigenserver       6.0.0   [required by ocsipersist]
  - install ocsipersist         1.0.1
  - install ocsipersist-lib     1.0.3   [required by ocsipersist]
  - install ohex                0.2.0   [required by ca-certs]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ppx_sexp_conv       v0.16.0 [required by cohttp-lwt-unix]
  - install ppxlib              0.35.0  [required by lwt_ppx]
  - install ptime               1.2.0   [required by ca-certs]
  - install re                  1.13.2  [required by ocsigenserver]
  - install react               1.2.2   [required by ocsigenserver]
  - install rresult             0.7.0   [required by bos]
  - install seq                 base    [required by re]
  - install sexplib0            v0.16.0 [required by cohttp-lwt, conduit-lwt]
  - install ssl                 0.7.0   [required by ocsigenserver]
  - install stdlib-shims        0.3.0   [required by ppxlib]
  - install stringext           1.6.0   [required by cohttp]
  - install topkg               1.0.8   [required by react]
  - install uri                 4.4.0   [required by cohttp-lwt, conduit-lwt-unix]
  - install uri-sexp            4.4.0   [required by cohttp]
  - install uutf                1.0.4   [required by jsonm]
  - install x509                1.0.6   [required by ca-certs]
  - install xml-light           2.5     [required by ocsigenserver]
  - install zarith              1.14    [required by cryptokit]

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

<><> 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" "libssl-dev" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- 
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../3-libssl-dev_3.0.16-1~deb12u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.16-1~deb12u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../7-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libssl-dev:amd64 (3.0.16-1~deb12u1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.1.0.1  (cached)
-> retrieved camlzip.1.13  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cohttp.5.3.1  (cached)
-> retrieved cohttp-lwt.5.3.0, cohttp-lwt-unix.5.3.0  (cached)
-> retrieved conduit.7.0.0, conduit-lwt.7.0.0, conduit-lwt-unix.7.0.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved conf-libssl.4  (cached)
-> retrieved cryptokit.1.20  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-libssl.4
-> installed conf-zlib.1
-> installed conf-gmp-powm-sec.4
-> installed base64.3.5.1
-> installed bigstringaf.0.10.0
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.9.0  (cached)
-> installed camlzip.1.13
-> installed domain-name.0.4.1
-> installed duration.0.2.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed macaddr.5.6.0
-> retrieved lwt_ppx.5.9.1  (cached)
-> retrieved lwt_react.1.2.0  (cached)
-> retrieved lwt_ssl.1.2.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> installed ipaddr.5.6.0
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1  (cached)
-> installed cmdliner.1.3.0
-> installed digestif.1.3.0
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed magic-mime.1.3.1
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocsigenserver.6.0.0  (cached)
-> retrieved ocsipersist.1.0.1  (cached)
-> retrieved ocsipersist-lib.1.0.3  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> installed ppx_derivers.1.2.1
-> installed ohex.0.2.0
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved ssl.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved xml-light.2.5  (cached)
-> retrieved zarith.1.14  (cached)
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed xml-light.2.5
-> installed re.1.13.2
-> installed angstrom.0.16.1
-> installed ssl.0.7.0
-> installed lwt_ssl.1.2.0
-> installed mirage-crypto.2.0.1
-> installed kdf.1.0.0
-> installed zarith.1.14
-> installed uri.4.4.0
-> installed ocamlbuild.0.16.1
-> installed cryptokit.1.20
-> installed base.v0.16.4
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed react.1.2.2
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed lwt_react.1.2.0
-> installed astring.0.8.5
-> installed asn1-combinators.0.3.2
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed logs.0.9.0
-> installed mirage-crypto-rng.2.0.1
-> installed mirage-crypto-pk.2.0.1
-> installed bos.0.2.1
-> installed ppxlib.0.35.0
-> installed mirage-crypto-ec.2.0.1
-> installed lwt_ppx.5.9.1
-> installed ppx_sexp_conv.v0.16.0
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed ocsipersist-lib.1.0.3
-> installed ipaddr-sexp.5.6.0
-> installed uri-sexp.4.4.0
-> installed conduit.7.0.0
-> installed cohttp.5.3.1
-> installed conduit-lwt.7.0.0
-> installed cohttp-lwt.5.3.0
-> installed conduit-lwt-unix.7.0.0
-> installed cohttp-lwt-unix.5.3.0
-> installed ocsigenserver.6.0.0
-> installed ocsipersist.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-22 15:55.56 ---> saved as "6d5ad1afaa108665efd5437be327021712689f4ecff6922c6468db833b79b726"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ocsipersist.1.0.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ocsipersist 1.0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocsipersist.1.0.1  (https://opam.ocaml.org/cache)
-> removed   ocsipersist.1.0.1
-> installed ocsipersist.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-22 15:56.04 ---> saved as "d45512db3927c31926a8b84672517d6da8b76ab181d139b7b74f61bb6382296c"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ocsipersist.1.0.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        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocsipersist.1.0.1' && 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 ocsipersist 1.0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [ocsipersist.1.0.1: extract]
-> retrieved ocsipersist.1.0.1  (cached)
Processing  2/4: [ocsipersist: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocsipersist" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocsipersist.1.0.1)
-> compiled  ocsipersist.1.0.1
-> removed   ocsipersist.1.0.1
-> installed ocsipersist.1.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-22 15:56.13 ---> saved as "a15d8d04935dbb0f73e146156e1b13aaf3f258bd0f9a73f948de3c5e42ba920a"
Job succeeded
2025-07-22 15:56.26: Job succeeded