Build:
  1. 0
2026-01-27 19:22.59: New job: test resto-cohttp-server.1.2 with mirage-runtime.4.10.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29297/head (bec96dd4b29b0e3eb148af9966895e70442e68e2)
                              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/29297/head" && git reset --hard bec96dd4
git fetch origin master
git merge --no-edit 88150787b3c9df767fd8dadf5d416641f8ee58f8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:7b75eb963f7d9195aa7a042832bacc96efd4ab4b0279914c2953f9f23ee6d1e6
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 mirage-runtime.4.10.2 4.10.2
RUN opam reinstall mirage-runtime.4.10.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'mirage-runtime.4.10.2' && 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-server.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'resto-cohttp-server.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 --with-test resto-cohttp-server.1.2) || true
RUN opam reinstall --with-test --verbose resto-cohttp-server.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'resto-cohttp-server.1.2' && 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 .

2026-01-27 19:22.59: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:7b75eb963f7d9195aa7a042832bacc96efd4ab4b0279914c2953f9f23ee6d1e6-mirage-runtime.4.10.2-resto-cohttp-server.1.2-bec96dd4b29b0e3eb148af9966895e70442e68e2"
2026-01-27 19:22.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:7b75eb963f7d9195aa7a042832bacc96efd4ab4b0279914c2953f9f23ee6d1e6)
 (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 mirage-runtime.4.10.2 4.10.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-runtime.4.10.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-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\" != 'mirage-runtime.4.10.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 resto-cohttp-server.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-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-server.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 (network host)
      (shell "(opam reinstall --with-test resto-cohttp-server.1.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose resto-cohttp-server.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-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-server.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"))
)

2026-01-27 19:22.59: Waiting for resource in pool OCluster
2026-01-27 23:23.28: Waiting for worker…
2026-01-27 23:26.09: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  62% (12057/19285)
Updating files:  63% (12150/19285)
Updating files:  64% (12343/19285)
Updating files:  65% (12536/19285)
Updating files:  66% (12729/19285)
Updating files:  67% (12921/19285)
Updating files:  68% (13114/19285)
Updating files:  69% (13307/19285)
Updating files:  70% (13500/19285)
Updating files:  71% (13693/19285)
Updating files:  72% (13886/19285)
Updating files:  73% (14079/19285)
Updating files:  74% (14271/19285)
Updating files:  75% (14464/19285)
Updating files:  76% (14657/19285)
Updating files:  77% (14850/19285)
Updating files:  78% (15043/19285)
Updating files:  79% (15236/19285)
Updating files:  80% (15428/19285)
Updating files:  81% (15621/19285)
Updating files:  82% (15814/19285)
Updating files:  83% (16007/19285)
Updating files:  84% (16200/19285)
Updating files:  85% (16393/19285)
Updating files:  86% (16586/19285)
Updating files:  87% (16778/19285)
Updating files:  88% (16971/19285)
Updating files:  89% (17164/19285)
Updating files:  90% (17357/19285)
Updating files:  91% (17550/19285)
Updating files:  92% (17743/19285)
Updating files:  93% (17936/19285)
Updating files:  94% (18128/19285)
Updating files:  95% (18321/19285)
Updating files:  96% (18514/19285)
Updating files:  97% (18707/19285)
Updating files:  98% (18900/19285)
Updating files:  99% (19093/19285)
Updating files: 100% (19285/19285)
Updating files: 100% (19285/19285), done.
HEAD is now at 88150787b3 Merge pull request #29287 from dinosaure/release-git-kv-v0.2.1
Merge made by the 'ort' strategy.
 packages/mirage-runtime/mirage-runtime.4.0.0/opam       | 2 +-
 packages/mirage-runtime/mirage-runtime.4.0.0~beta3/opam | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.0/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.1/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.2/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.3/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.10.4/opam      | 2 +-
 packages/mirage-runtime/mirage-runtime.4.7.0/opam       | 2 +-
 packages/mirage-runtime/mirage-runtime.4.9.0/opam       | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

(from ocaml/opam:debian-13-ocaml-5.4@sha256:7b75eb963f7d9195aa7a042832bacc96efd4ab4b0279914c2953f9f23ee6d1e6)
2026-01-27 23:26.14 ---> using "ec0b9239d97b1eba002b8666d90bcda143b1414915128d32a0b6cb8a1bd9f05c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-27 23:26.14 ---> using "cd9db1bfd75ad168f36443d6cd7ffe58df2d9e73878dee80fe00f4ec900a65e4" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-27 23:26.14 ---> using "cbe59c2111ee2f6ebb74444b6a2e449be1401fb2a7e89471df12d7734c31aef0" 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                 71
# 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
2026-01-27 23:26.14 ---> using "bfb3fee637cd4ed2c6e4ef53b349cc70b7b5c70d4fb4d56c09378a42134b6bf5" 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/"))
2026-01-27 23:26.14 ---> using "a80806ab1cec707e8afb5a047be43e19f2c71735f9ef12880c11228115befadd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-27 23:26.16 ---> using "29f6e5bc90fed1f3ca0dbfa7880bf07b07ed9305f0af011f54a2924d95990898" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-27 23:26.16 ---> using "0859ca9de64aae35bcc4a34df9c8711b7e38cf8dc80a303c3ac16dd388a11c6c" 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 [97.9 kB]
- Fetched 189 kB in 0s (1616 kB/s)
- Reading package lists...
2026-01-27 23:26.16 ---> using "259e4b9b0f8fe427b0b1d267335e5f38c5e7f40c70220e295abceff1731dbbb3" from cache

/home/opam: (run (shell "opam pin add -k version -yn mirage-runtime.4.10.2 4.10.2"))
mirage-runtime is now pinned to version 4.10.2
2026-01-27 23:26.16 ---> using "739740dfc1c39315d9eedfb8317074e7f95ef05ba16a7e8d8cc1107b0cb0d069" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-runtime.4.10.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-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\" != 'mirage-runtime.4.10.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
mirage-runtime.4.10.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 16 packages
  - install base-bytes        base            [required by ocplib-endian]
  - install cmdliner          2.1.0           [required by mirage-runtime]
  - install cppo              1.8.0           [required by lwt]
  - install csexp             1.5.2           [required by dune-configurator]
  - install domain-name       0.5.0           [required by ipaddr]
  - install dune              3.21.0          [required by mirage-runtime]
  - install dune-configurator 3.21.0          [required by lwt]
  - install ipaddr            5.6.1           [required by mirage-runtime]
  - install logs              0.10.0          [required by mirage-runtime]
  - install lwt               5.9.2           [required by mirage-runtime]
  - install macaddr           5.6.1           [required by ipaddr]
  - install mirage-runtime    4.10.2 (pinned)
  - 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 topkg             1.1.1           [required by logs]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> installed cmdliner.2.1.0
-> retrieved mirage-runtime.4.10.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed macaddr.5.6.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.21.0
-> installed lwt.5.9.2
-> installed logs.0.10.0
-> installed mirage-runtime.4.10.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:26.16 ---> using "b5c3a5bdf4f3dbfac252117db11d1e4d8abdba1d1cf7a00cca62d811572f4129" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall resto-cohttp-server.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-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-server.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"))
resto-cohttp-server.1.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== downgrade 1 package
  - downgrade cmdliner                2.1.0 to 1.3.0  [required by cohttp-lwt-unix]
=== recompile 2 packages
  - recompile logs                    0.10.0          [uses cmdliner]
  - recompile mirage-runtime          4.10.2 (pinned) [uses cmdliner]
=== install 55 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   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   cohttp                  5.3.1           [required by cohttp-lwt]
  - install   cohttp-lwt              5.3.0           [required by cohttp-lwt-unix, resto-cohttp]
  - 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   digestif                1.3.0           [required by ca-certs]
  - 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 cohttp-lwt-unix]
  - install   fpath                   0.7.3           [required by ca-certs]
  - install   gmap                    0.3.0           [required by x509]
  - 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   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   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-unix]
  - 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.2             [required by resto-acl]
  - install   resto-acl               1.2             [required by resto-cohttp-server]
  - install   resto-cohttp            1.2             [required by resto-cohttp-server]
  - install   resto-cohttp-server     1.2
  - install   resto-directory         1.2             [required by resto-cohttp-server]
  - install   rresult                 0.7.0           [required by bos]
  - install   sexplib0                v0.17.0         [required by cohttp-lwt, conduit-lwt]
  - install   stdlib-shims            0.3.0           [required by ppxlib]
  - install   stringext               1.6.0           [required by cohttp]
  - install   uri                     4.4.0           [required by resto-acl]
  - 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 ... 20654 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+deb13u1) ...

<><> 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)
-> 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)
-> installed base64.3.5.2
-> 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 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-sexp.5.6.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed eqaf.0.10
-> installed astring.0.8.5
-> 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 magic-mime.1.3.1
-> 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 ohex.0.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved resto.1.2, resto-acl.1.2, resto-cohttp.1.2, resto-cohttp-server.1.2, resto-directory.1.2  (cached)
-> retrieved rresult.0.7.0  (cached)
-> installed fpath.0.7.3
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (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 zarith.1.14  (cached)
-> installed stringext.1.6.0
-> installed digestif.1.3.0
-> installed stdlib-shims.0.3.0
-> installed rresult.0.7.0
-> installed sexplib0.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> removed   mirage-runtime.4.10.2
-> removed   logs.0.10.0
-> removed   cmdliner.2.1.0
-> installed cmdliner.1.3.0
-> installed angstrom.0.16.1
-> installed ptime.1.2.0
-> installed re.1.14.0
-> installed mirage-crypto.2.0.2
-> installed kdf.1.0.0
-> installed asn1-combinators.0.3.2
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed uri.4.4.0
-> installed zarith.1.14
-> installed jsonm.1.0.2
-> installed resto.1.2
-> installed logs.0.10.0
-> installed resto-acl.1.2
-> installed mirage-runtime.4.10.2
-> installed resto-directory.1.2
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed bos.0.2.1
-> installed base.v0.17.3
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
-> installed uri-sexp.4.4.0
-> installed ipaddr-sexp.5.6.1
-> 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.2
-> installed conduit-lwt-unix.8.0.0
-> installed cohttp-lwt-unix.5.3.0
-> installed resto-cohttp-server.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:29.25 ---> saved as "e4db93f837a3158ac321383330c96a03baedb1139edd6f822e0927b5d7e61b0a"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved resto-cohttp-server.1.2  (https://opam.ocaml.org/cache)
-> removed   resto-cohttp-server.1.2
-> installed resto-cohttp-server.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:29.37 ---> saved as "124509713897cde992577d2802aa2035a21d544735039a5eee1001655d0755dc"

/home/opam: (run (shell  "opam reinstall --with-test --verbose resto-cohttp-server.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-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-server.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"))
The following actions will be performed:
=== recompile 1 package
  - recompile resto-cohttp-server 1.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [resto-cohttp-server.1.2: extract]
-> retrieved resto-cohttp-server.1.2  (cached)
Processing  2/4: [resto-cohttp-server: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "resto-cohttp-server" "-j" "71" (CWD=/home/opam/.opam/5.4/.opam-switch/build/resto-cohttp-server.1.2)
-> compiled  resto-cohttp-server.1.2
-> removed   resto-cohttp-server.1.2
-> installed resto-cohttp-server.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:29.51 ---> saved as "51a354d2c9901f2c3d47756d7a954daac768ae45d314b694fcabd2e13306638d"
Job succeeded
2026-01-27 23:30.16: Job succeeded