(for PR #29096)

2025-12-15 03:23.32: New job: test resto-cohttp-self-serving-client.1.0 with dune-configurator.3.21.0~alpha4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29096/head (7d6af52f05e2c06c00193b2918193b6994ece701)
                              on debian-13-ocaml-5.4/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-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
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 dune-configurator.3.21.0~alpha4 3.21.0~alpha4
RUN opam reinstall dune-configurator.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" != 'dune-configurator.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 resto-cohttp-self-serving-client.1.0; \
    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" != 'resto-cohttp-self-serving-client.1.0' && 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 resto-cohttp-self-serving-client.1.0) || true
RUN opam reinstall --with-test --verbose resto-cohttp-self-serving-client.1.0; \
    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" != 'resto-cohttp-self-serving-client.1.0' && 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:23.32: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-dune-configurator.3.21.0~alpha4-resto-cohttp-self-serving-client.1.0-7d6af52f05e2c06c00193b2918193b6994ece701"
2025-12-15 03:23.32: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
 (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 dune-configurator.3.21.0~alpha4 3.21.0~alpha4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune-configurator.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\" != 'dune-configurator.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 resto-cohttp-self-serving-client.1.0;\
             \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\" != 'resto-cohttp-self-serving-client.1.0' && 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 resto-cohttp-self-serving-client.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose resto-cohttp-self-serving-client.1.0;\
             \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\" != 'resto-cohttp-self-serving-client.1.0' && 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:23.32: Waiting for resource in pool OCluster
2025-12-15 13:43.41: Waiting for worker…
2025-12-15 13:46.52: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
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-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
2025-12-15 14:12.42 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" 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 14:12.42 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" 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.

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

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-15 14:12.42 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-12-15 14:12.42 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" 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 14:12.42 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-15 14:12.43 ---> using "eb7fce002d3011997e6b86dbe83f655d6b7730dccc18f79edba49a7bf7e4d9a8" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-15 14:12.43 ---> using "4b065be9f938538e7e8ff55e18456d0f2a5ae5a85bf63e0a975d8019feba2dfc" 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 (1483 kB/s)
- Reading package lists...
2025-12-15 14:12.43 ---> using "e068c5ce43af944c455b2776cca2e7f3a89bfe2d7427c70330cf49a061e468e9" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.21.0~alpha4 3.21.0~alpha4"))
dune-configurator is now pinned to version 3.21.0~alpha4
2025-12-15 14:12.43 ---> using "79a8e5702bdb74ee67cc3a7da53b31fe75e052cf86e9a3aeddfa9379433d2209" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune-configurator.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\" != 'dune-configurator.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"))
dune-configurator.3.21.0~alpha4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
  - install csexp             1.5.2                  [required by dune-configurator]
  - install dune              3.21.0~alpha4          [required by dune-configurator]
  - install dune-configurator 3.21.0~alpha4 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.0~alpha4, dune-configurator.3.21.0~alpha4  (cached)
-> installed dune.3.21.0~alpha4
-> installed csexp.1.5.2
-> installed dune-configurator.3.21.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 14:12.43 ---> using "d60f4decce953204c8a6f5ab2b2e0f4ca436ce677a8cceab996d923f8f5d8be4" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall resto-cohttp-self-serving-client.1.0;\
                        \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\" != 'resto-cohttp-self-serving-client.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
resto-cohttp-self-serving-client.1.0 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.17.3 [required by ppx_sexp_conv]
  - install base-bytes                       base    [required by cohttp]
  - install base64                           3.5.2   [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 cmdliner                         1.3.0   [required by logs, cohttp-lwt-unix]
  - install cohttp                           5.3.1   [required by cohttp-lwt]
  - install cohttp-lwt                       5.3.0   [required by resto-cohttp-self-serving-client]
  - install cohttp-lwt-unix                  5.3.0   [required by resto-cohttp-server]
  - install conduit                          8.0.0   [required by conduit-lwt]
  - install conduit-lwt                      8.0.0   [required by cohttp-lwt-unix]
  - install conduit-lwt-unix                 8.0.0   [required by resto-cohttp-server]
  - 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 zarith]
  - install cppo                             1.8.0   [required by lwt]
  - install digestif                         1.3.0   [required by ca-certs]
  - install domain-name                      0.5.0   [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.11.0  [required by logs, cohttp-lwt-unix]
  - install fpath                            0.7.3   [required by ca-certs]
  - install gmap                             0.3.0   [required by x509]
  - install ipaddr                           5.6.1   [required by conduit-lwt-unix]
  - install ipaddr-sexp                      5.6.1   [required by conduit-lwt-unix]
  - install jsonm                            1.0.2   [required by cohttp]
  - install kdf                              1.0.0   [required by x509]
  - install logs                             0.10.0  [required by cohttp-lwt]
  - install lwt                              5.9.2   [required by resto-cohttp-self-serving-client]
  - install macaddr                          5.6.1   [required by ipaddr]
  - install magic-mime                       1.3.1   [required by cohttp-lwt-unix]
  - install mirage-crypto                    2.0.2   [required by ca-certs]
  - install mirage-crypto-ec                 2.0.2   [required by x509]
  - install mirage-crypto-pk                 2.0.2   [required by x509]
  - install mirage-crypto-rng                2.0.2   [required by x509]
  - install ocaml-compiler-libs              v0.17.0 [required by ppxlib]
  - install ocaml-syntax-shims               1.0.0   [required by angstrom]
  - install ocaml_intrinsics_kernel          v0.17.1 [required by base]
  - install ocamlbuild                       0.16.1  [required by logs]
  - install ocamlfind                        1.9.8   [required by logs]
  - install ocplib-endian                    1.2     [required by lwt]
  - install ohex                             0.2.0   [required by ca-certs]
  - install ppx_derivers                     1.2.1   [required by ppxlib]
  - install ppx_sexp_conv                    v0.17.1 [required by cohttp-lwt]
  - install ppxlib                           0.37.0  [required by ppx_sexp_conv]
  - install ppxlib_jane                      v0.17.4 [required by ppx_sexp_conv]
  - install ptime                            1.2.0   [required by ca-certs]
  - install re                               1.14.0  [required by cohttp]
  - install resto                            1.0     [required by resto-acl]
  - install resto-acl                        1.0     [required by resto-cohttp-server]
  - install resto-cohttp                     1.0     [required by resto-cohttp-client, resto-cohttp-server]
  - install resto-cohttp-client              1.0     [required by resto-cohttp-self-serving-client]
  - install resto-cohttp-self-serving-client 1.0
  - install resto-cohttp-server              1.0     [required by resto-cohttp-self-serving-client]
  - install resto-directory                  1.0     [required by resto-cohttp-server]
  - install rresult                          0.7.0   [required by bos]
  - install sexplib0                         v0.17.0 [required by cohttp-lwt]
  - install stdlib-shims                     0.3.0   [required by ppxlib]
  - install stringext                        1.6.0   [required by cohttp]
  - install topkg                            1.1.1   [required by logs]
  - install uri                              4.4.0   [required by resto-cohttp-self-serving-client]
  - 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 zarith                           1.14    [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-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" "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 ... 20653 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 pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- 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 astring.0.8.5  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.1.0.1  (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)
-> installed base64.3.5.2
-> retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> installed bigstringaf.0.10.0
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> installed domain-name.0.5.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed macaddr.5.6.1
-> 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 cppo.1.8.0
-> installed eqaf.0.10
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed ipaddr.5.6.1
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> installed magic-mime.1.3.1
-> retrieved ppxlib.0.37.0  (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved resto.1.0, resto-acl.1.0, resto-cohttp.1.0, resto-cohttp-client.1.0, resto-cohttp-self-serving-client.1.0, resto-cohttp-server.1.0, resto-directory.1.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed digestif.1.3.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved x509.1.0.6  (cached)
-> installed stringext.1.6.0
-> retrieved zarith.1.14  (cached)
-> installed stdlib-shims.0.3.0
-> installed cmdliner.1.3.0
-> installed mirage-crypto.2.0.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed kdf.1.0.0
-> installed angstrom.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocplib-endian.1.2
-> installed uri.4.4.0
-> installed resto.1.0
-> installed resto-acl.1.0
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed lwt.5.9.2
-> installed resto-directory.1.0
-> installed base.v0.17.3
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.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.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed ppxlib.0.37.0
-> installed bos.0.2.1
-> installed ppxlib_jane.v0.17.4
-> installed mirage-crypto-ec.2.0.2
-> installed ppx_sexp_conv.v0.17.1
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed ipaddr-sexp.5.6.1
-> installed uri-sexp.4.4.0
-> installed conduit.8.0.0
-> installed cohttp.5.3.1
-> installed conduit-lwt.8.0.0
-> installed cohttp-lwt.5.3.0
-> installed resto-cohttp.1.0
-> installed resto-cohttp-client.1.0
-> installed conduit-lwt-unix.8.0.0
-> installed cohttp-lwt-unix.5.3.0
-> installed resto-cohttp-server.1.0
-> installed resto-cohttp-self-serving-client.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 14:13.21 ---> saved as "09641eb447b91b2536c045bc9a4c1704af294c4989e1e3ccd09f1dcde36f1cce"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test resto-cohttp-self-serving-client.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile resto-cohttp-self-serving-client 1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved resto-cohttp-self-serving-client.1.0  (https://opam.ocaml.org/cache)
-> removed   resto-cohttp-self-serving-client.1.0
-> installed resto-cohttp-self-serving-client.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 14:13.26 ---> saved as "4170bb69fa36657e317f41f5cd39285180bb05c41c6d2f479ecba841206e65db"

/home/opam: (run (shell  "opam reinstall --with-test --verbose resto-cohttp-self-serving-client.1.0;\
                        \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\" != 'resto-cohttp-self-serving-client.1.0' && 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 resto-cohttp-self-serving-client 1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [resto-cohttp-self-serving-client.1.0: extract]
-> retrieved resto-cohttp-self-serving-client.1.0  (cached)
Processing  2/4: [resto-cohttp-self-serving-client: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "resto-cohttp-self-serving-client" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/resto-cohttp-self-serving-client.1.0)
-> compiled  resto-cohttp-self-serving-client.1.0
-> removed   resto-cohttp-self-serving-client.1.0
-> installed resto-cohttp-self-serving-client.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 14:13.30 ---> saved as "c062a1b88215d8663b3bf75f5c7d9731d7ea7baaaaaaab1238a9bff15dad6ea9"
Job succeeded
2025-12-15 14:13.38: Job succeeded