Build:
  1. 0
2026-01-27 19:22.56: New job: test polymarket.0.2.0 with mirage-runtime.4.10.3, 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.3 4.10.3
RUN opam reinstall mirage-runtime.4.10.3; \
    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.3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall polymarket.0.2.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" != 'polymarket.0.2.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 polymarket.0.2.0) || true
RUN opam reinstall --with-test --verbose polymarket.0.2.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" != 'polymarket.0.2.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 .

2026-01-27 19:22.56: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:7b75eb963f7d9195aa7a042832bacc96efd4ab4b0279914c2953f9f23ee6d1e6-mirage-runtime.4.10.3-polymarket.0.2.0-bec96dd4b29b0e3eb148af9966895e70442e68e2"
2026-01-27 19:22.56: 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.3 4.10.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-runtime.4.10.3;\
             \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.3' && 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 polymarket.0.2.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\" != 'polymarket.0.2.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 polymarket.0.2.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose polymarket.0.2.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\" != 'polymarket.0.2.0' && 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.56: Waiting for resource in pool OCluster
2026-01-27 23:12.14: Waiting for worker…
2026-01-27 23:15.01: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
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:15.26 ---> 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:15.26 ---> 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-27 23:15.26 ---> 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                 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
2026-01-27 23:15.26 ---> 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:15.26 ---> using "a80806ab1cec707e8afb5a047be43e19f2c71735f9ef12880c11228115befadd" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-27 23:15.27 ---> 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 (1286 kB/s)
- Reading package lists...
2026-01-27 23:15.27 ---> using "259e4b9b0f8fe427b0b1d267335e5f38c5e7f40c70220e295abceff1731dbbb3" from cache

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-runtime.4.10.3;\
                        \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.3' && 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.3 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.3 (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)
-> retrieved mirage-runtime.4.10.3  (cached)
-> installed cmdliner.2.1.0
-> 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 domain-name.0.5.0
-> installed csexp.1.5.2
-> installed cppo.1.8.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.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:15.27 ---> using "fbdac9a7ccce80da572043a2465268659bb1468d61911cfdebedb184de69ae55" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall polymarket.0.2.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\" != 'polymarket.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
polymarket.0.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== recompile 2 packages
  - recompile logs                    0.10.0          [uses fmt]
  - recompile mirage-runtime          4.10.3 (pinned) [uses logs]
=== install 70 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 bos]
  - install   base                    v0.17.3         [required by ppx_yojson_conv]
  - install   base64                  3.5.2           [required by polymarket]
  - install   bigstring               0.3             [required by secp256k1-internal]
  - install   bigstringaf             0.10.0          [required by eio]
  - install   bos                     0.2.1           [required by ca-certs]
  - install   ca-certs                1.0.1           [required by polymarket]
  - install   cohttp                  6.2.1           [required by cohttp-eio]
  - install   cohttp-eio              6.2.1           [required by polymarket]
  - install   conf-gmp                5               [required by secp256k1-internal]
  - install   conf-gmp-powm-sec       4               [required by mirage-crypto-pk]
  - install   conf-pkg-config         4               [required by secp256k1-internal]
  - install   cstruct                 6.2.0           [required by hex, secp256k1-internal]
  - install   digestif                1.3.0           [required by polymarket]
  - install   domain-local-await      1.0.1           [required by eio]
  - install   duration                0.2.1           [required by mirage-crypto-rng]
  - install   eio                     1.3             [required by cohttp-eio, tls-eio]
  - install   eio_linux               1.3             [required by eio_main]
  - install   eio_main                1.3             [required by polymarket]
  - install   eio_posix               1.3             [required by eio_main]
  - install   eqaf                    0.10            [required by digestif, mirage-crypto]
  - install   fmt                     0.11.0          [required by polymarket]
  - install   fpath                   0.7.3           [required by ca-certs]
  - install   gmap                    0.3.0           [required by x509]
  - install   hex                     1.5.0           [required by polymarket]
  - install   hmap                    0.8.1           [required by eio]
  - install   http                    6.2.1           [required by cohttp-eio]
  - install   iomux                   0.4             [required by eio_posix]
  - install   kdf                     1.0.0           [required by x509, tls]
  - install   lwt-dllist              1.1.0           [required by eio]
  - install   mirage-crypto           2.0.2           [required by ca-certs]
  - install   mirage-crypto-ec        2.0.2           [required by x509, tls]
  - install   mirage-crypto-pk        2.0.2           [required by x509, tls]
  - install   mirage-crypto-rng       2.0.2           [required by polymarket]
  - install   mtime                   2.1.0           [required by eio]
  - 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   octavius                1.2.2           [required by ppx_js_style]
  - install   ohex                    0.2.0           [required by ca-certs]
  - install   optint                  0.3.0           [required by eio]
  - install   polymarket              0.2.0
  - install   ppx_derivers            1.2.1           [required by ppx_deriving]
  - install   ppx_deriving            6.1.1           [required by polymarket]
  - install   ppx_js_style            v0.17.1         [required by ppx_yojson_conv]
  - install   ppx_sexp_conv           v0.17.1         [required by cohttp]
  - install   ppx_yojson_conv         v0.17.1         [required by polymarket]
  - install   ppx_yojson_conv_lib     v0.17.0         [required by ppx_yojson_conv]
  - install   ppxlib                  0.37.0          [required by polymarket]
  - install   ppxlib_jane             v0.17.4         [required by ppx_sexp_conv]
  - install   psq                     0.2.1           [required by eio]
  - install   ptime                   1.2.0           [required by polymarket]
  - install   re                      1.14.0          [required by cohttp]
  - install   rresult                 0.7.0           [required by bos]
  - install   secp256k1-internal      0.4.0           [required by polymarket]
  - install   seq                     base            [required by psq]
  - install   sexplib0                v0.17.0         [required by cohttp]
  - install   stdlib-shims            0.3.0           [required by ppxlib]
  - install   stringext               1.6.0           [required by cohttp]
  - install   thread-table            1.0.0           [required by domain-local-await]
  - install   tls                     2.0.3           [required by tls-eio]
  - install   tls-eio                 2.0.3           [required by polymarket]
  - install   uri                     4.4.0           [required by polymarket]
  - install   uri-sexp                4.4.0           [required by cohttp]
  - install   uring                   2.7.0           [required by eio_linux]
  - install   x509                    1.0.6           [required by ca-certs]
  - install   yojson                  3.0.0           [required by polymarket]
  - 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 bigstring.0.3  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.1.0.1  (cached)
-> retrieved cohttp.6.2.1, cohttp-eio.6.2.1, http.6.2.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> installed base64.3.5.2
-> installed bigstring.0.3
-> retrieved cstruct.6.2.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)
-> installed http.6.2.1
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eio.1.3, eio_linux.1.3, eio_main.1.3, eio_posix.1.3  (cached)
-> installed duration.0.2.1
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved iomux.0.4  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> installed gmap.0.3.0
-> installed lwt-dllist.1.1.0
-> 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 eqaf.0.10
-> installed hmap.0.8.1
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed iomux.0.4
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved polymarket.0.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_js_style.v0.17.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> retrieved ppx_yojson_conv.v0.17.1  (cached)
-> retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.37.0  (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed optint.0.3.0
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved psq.0.2.1  (cached)
-> installed fpath.0.7.3
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> removed   mirage-runtime.4.10.3
-> removed   logs.0.10.0
-> installed fmt.0.11.0
-> retrieved secp256k1-internal.0.4.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> installed digestif.1.3.0
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved tls.2.0.3, tls-eio.2.0.3  (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> installed psq.0.2.1
-> installed stringext.1.6.0
-> retrieved uring.2.7.0  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> installed rresult.0.7.0
-> installed cstruct.6.2.0
-> installed mtime.2.1.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed octavius.1.2.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed mirage-crypto.2.0.2
-> installed re.1.14.0
-> installed thread-table.1.0.0
-> retrieved x509.1.0.6  (cached)
-> installed angstrom.0.16.1
-> installed hex.1.5.0
-> retrieved yojson.3.0.0  (cached)
-> installed ptime.1.2.0
-> installed kdf.1.0.0
-> retrieved zarith.1.14  (cached)
-> installed logs.0.10.0
-> installed domain-local-await.1.0.1
-> installed mirage-runtime.4.10.3
-> installed asn1-combinators.0.3.2
-> installed mirage-crypto-rng.2.0.2
-> installed yojson.3.0.0
-> installed uri.4.4.0
-> installed uring.2.7.0
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed secp256k1-internal.0.4.0
-> installed eio.1.3
-> installed zarith.1.14
-> installed bos.0.2.1
-> installed eio_linux.1.3
-> installed eio_posix.1.3
-> installed mirage-crypto-pk.2.0.2
-> installed eio_main.1.3
-> installed base.v0.17.3
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed tls.2.0.3
-> installed tls-eio.2.0.3
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_js_style.v0.17.1
-> installed ppx_deriving.6.1.1
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_yojson_conv.v0.17.1
-> installed uri-sexp.4.4.0
-> installed cohttp.6.2.1
-> installed cohttp-eio.6.2.1
-> installed polymarket.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:16.18 ---> saved as "4715091dd2b0b7588b5fe826c1117bca7d3a96d8f494a546bbbca1bd5d49be64"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test polymarket.0.2.0) || true"))
The following actions will be performed:
=== remove 1 package
  - remove    mirage-runtime    4.10.3 (pinned) [conflicts with lwt]
=== recompile 12 packages
  - recompile bos               0.2.1           [uses logs]
  - recompile ca-certs          1.0.1           [uses logs]
  - recompile cohttp            6.2.1           [uses logs]
  - recompile cohttp-eio        6.2.1           [uses logs]
  - recompile logs              0.10.0          [uses lwt]
  - recompile mirage-crypto-ec  2.0.2           [uses mirage-crypto-rng]
  - recompile mirage-crypto-pk  2.0.2           [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng 2.0.2           [uses logs]
  - recompile polymarket        0.2.0
  - recompile tls               2.0.3           [uses logs]
  - recompile tls-eio           2.0.3           [uses mirage-crypto-rng]
  - recompile x509              1.0.6           [uses logs]
=== upgrade 1 package
  - upgrade   lwt               5.9.2 to 6.0.0
=== install 2 packages
  - install   alcotest          1.9.1           [required by polymarket]
  - install   uutf              1.0.4           [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   mirage-runtime.4.10.3
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved bos.0.2.1  (https://opam.ocaml.org/cache)
-> retrieved ca-certs.1.0.1  (https://opam.ocaml.org/cache)
-> retrieved cohttp.6.2.1, cohttp-eio.6.2.1  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved lwt.6.0.0  (https://opam.ocaml.org/cache)
-> retrieved mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (https://opam.ocaml.org/cache)
-> retrieved polymarket.0.2.0  (https://opam.ocaml.org/cache)
-> retrieved tls.2.0.3, tls-eio.2.0.3  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> retrieved x509.1.0.6  (https://opam.ocaml.org/cache)
-> installed uutf.1.0.4
-> removed   polymarket.0.2.0
-> removed   ca-certs.1.0.1
-> removed   bos.0.2.1
-> removed   cohttp-eio.6.2.1
-> removed   cohttp.6.2.1
-> removed   tls-eio.2.0.3
-> removed   tls.2.0.3
-> removed   x509.1.0.6
-> removed   mirage-crypto-ec.2.0.2
-> removed   mirage-crypto-pk.2.0.2
-> removed   mirage-crypto-rng.2.0.2
-> removed   logs.0.10.0
-> removed   lwt.5.9.2
-> installed lwt.6.0.0
-> installed alcotest.1.9.1
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed cohttp.6.2.1
-> installed bos.0.2.1
-> installed cohttp-eio.6.2.1
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed tls.2.0.3
-> installed tls-eio.2.0.3
-> installed polymarket.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:17.01 ---> saved as "5278982ecfc1defd934341ab5084dfd600395e77f1e6b534922f0a7fa7fcb78d"

/home/opam: (run (shell  "opam reinstall --with-test --verbose polymarket.0.2.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\" != 'polymarket.0.2.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 polymarket 0.2.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [polymarket.0.2.0: extract]
-> retrieved polymarket.0.2.0  (cached)
Processing  2/4: [polymarket: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "polymarket" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/polymarket.0.2.0)
- (cd _build/default/test && ./test_runner.exe)
- Testing `Polymarket'.
- This run has ID `UVPWUQ0P'.
- 
-   [OK]          Common.Http_client: build_uri                            0   ...
-   [OK]          Common.Http_client: build_uri                            1   ...
-   [OK]          Common.Http_client: build_uri                            2   ...
-   [OK]          Common.Http_client: build_uri                            3   ...
-   [OK]          Common.Http_client: parse_json                           0   ...
-   [OK]          Common.Http_client: parse_json                           1   ...
-   [OK]          Common.Http_client: parse_json                           2   ...
-   [OK]          Common.Http_client: parse_json_list                      0   ...
-   [OK]          Common.Http_client: parse_json_list                      1   ...
-   [OK]          Common.Http_client: parse_json_list                      2   ...
-   [OK]          Common.Http_client: error handling                       0   ...
-   [OK]          Common.Http_client: error handling                       1   ...
-   [OK]          Common.Http_client: error handling                       2   ...
-   [OK]          Common.Http_client: error handling                       3   ...
-   [OK]          Common.Http_client: check_extra_fields                   0   ...
-   [OK]          Common.Http_client: check_extra_fields                   1   ...
-   [OK]          Common.Http_client: check_extra_fields                   2   ...
-   [OK]          Common.Http_client: parse_with_field_check               0   ...
-   [OK]          Common.Http_client: parse_with_field_check               1   ...
-   [OK]          Common.Http_client: parse_with_field_check               2   ...
-   [OK]          Common.Http_client: parse_with_field_check               3   ...
-   [OK]          Common.Http_client: parse_list_with_field_check          0   ...
-   [OK]          Common.Http_client: parse_list_with_field_check          1   ...
-   [OK]          Common.Http_client: parse_list_with_field_check          2   ...
-   [OK]          Common.Primitives: Address                               0   ...
-   [OK]          Common.Primitives: Address                               1   ...
-   [OK]          Common.Primitives: Address                               2   ...
-   [OK]          Common.Primitives: Hash64                                0   ...
-   [OK]          Common.Primitives: Hash64                                1   ...
-   [OK]          Common.Primitives: Hash                                  0   ...
-   [OK]          Common.Primitives: Hash                                  1   ...
-   [OK]          Data_api.Types: side enum                                0   ...
-   [OK]          Data_api.Types: side enum                                1   ...
-   [OK]          Data_api.Types: activity_type enum                       0   ...
-   [OK]          Gamma_api.Types: Status                                  0   ...
-   [OK]          Gamma_api.Types: Status                                  1   ...
-   [OK]          Gamma_api.Types: Status                                  2   ...
-   [OK]          Gamma_api.Types: Parent_entity_type                      0   ...
-   [OK]          Gamma_api.Types: Parent_entity_type                      1   ...
-   [OK]          Gamma_api.Types: Parent_entity_type                      2   ...
-   [OK]          Gamma_api.Types: Slug_size                               0   ...
-   [OK]          Gamma_api.Types: Slug_size                               1   ...
-   [OK]          Gamma_api.Types: Slug_size                               2   ...
-   [OK]          Gamma_api.Types: pagination                              0   ...
-   [OK]          Gamma_api.Types: pagination                              1   ...
-   [OK]          Clob_api.Types: address validation                       0   ...
-   [OK]          Clob_api.Types: address validation                       1   ...
-   [OK]          Clob_api.Types: signature validation                     0   ...
-   [OK]          Clob_api.Types: signature validation                     1   ...
-   [OK]          Clob_api.Types: Side                                     0   ...
-   [OK]          Clob_api.Types: Side                                     1   ...
-   [OK]          Clob_api.Types: Side                                     2   ...
-   [OK]          Clob_api.Types: Order_type                               0   ...
-   [OK]          Clob_api.Types: Order_type                               1   ...
-   [OK]          Clob_api.Types: Order_type                               2   ...
-   [OK]          Clob_api.Types: Signature_type                           0   ...
-   [OK]          Clob_api.Types: Signature_type                           1   ...
-   [OK]          Clob_api.Types: Signature_type                           2   ...
-   [OK]          Clob_api.Types: Status                                   0   ...
-   [OK]          Clob_api.Types: Status                                   1   ...
-   [OK]          Clob_api.Types: Status                                   2   ...
-   [OK]          Clob_api.Types: Trade_type                               0   ...
-   [OK]          Clob_api.Types: Trade_type                               1   ...
-   [OK]          Clob_api.Types: Trade_type                               2   ...
-   [OK]          Clob_api.Types: validating deserializers                 0   ...
-   [OK]          Clob_api.Types: validating deserializers                 1   ...
-   [OK]          Clob_api.Types: validating deserializers                 2   ...
-   [OK]          Clob_api.Types: validating deserializers                 3   ...
-   [OK]          Clob_api.Types: validating deserializers                 4   ...
-   [OK]          Clob_api.Types: validating deserializers                 5   ...
-   [OK]          Clob_api.Types: validating deserializers                 6   ...
-   [OK]          Clob_api.Types: validating deserializers                 7   ...
-   [OK]          Clob_api.Crypto: keccak256                               0   ...
-   [OK]          Clob_api.Crypto: keccak256                               1   ...
-   [OK]          Clob_api.Crypto: HMAC-SHA256                             0   ...
-   [OK]          Clob_api.Crypto: L2 signing                              0   ...
-   [OK]          Clob_api.Crypto: address derivation                      0   ...
-   [OK]          Clob_api.Crypto: EIP-712 signing                         0   ...
-   [OK]          Clob_api.Crypto: timestamp                               0   ...
-   [OK]          Wss.Frame: Opcode                                        0   ...
-   [OK]          Wss.Frame: Opcode                                        1   ...
-   [OK]          Wss.Frame: Opcode                                        2   ...
-   [OK]          Wss.Frame: Close_code                                    0   ...
-   [OK]          Wss.Frame: Close_code                                    1   ...
-   [OK]          Wss.Frame: apply_mask                                    0   ...
-   [OK]          Wss.Frame: apply_mask                                    1   ...
-   [OK]          Wss.Frame: frame creation                                0   ...
-   [OK]          Wss.Frame: frame creation                                1   ...
-   [OK]          Wss.Frame: frame creation                                2   ...
-   [OK]          Wss.Frame: frame creation                                3   ...
-   [OK]          Wss.Frame: encode                                        0   ...
-   [OK]          Wss.Frame: encode                                        1   ...
-   [OK]          Wss.Types: Channel                                       0   ...
-   [OK]          Wss.Types: Channel                                       1   ...
-   [OK]          Wss.Types: Market_event                                  0   ...
-   [OK]          Wss.Types: Market_event                                  1   ...
-   [OK]          Wss.Types: User_event                                    0   ...
-   [OK]          Wss.Types: Trade_status                                  0   ...
-   [OK]          Wss.Types: Trade_status                                  1   ...
-   [OK]          Wss.Types: Order_event_type                              0   ...
-   [OK]          Wss.Types: parse_message                                 0   ...
-   [OK]          Wss.Types: parse_message                                 1   ...
-   [OK]          Wss.Types: parse_message                                 2   ...
-   [OK]          Wss.Types: parse_message                                 3   ...
-   [OK]          Wss.Types: subscription                                  0   ...
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/polymarket.0.2.0/_build/default/test/_build/_tests/Polymarket'.
- Test Successful in 0.010s. 105 tests run.
-> compiled  polymarket.0.2.0
-> removed   polymarket.0.2.0
-> installed polymarket.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-27 23:17.24 ---> saved as "33e23103475d64c473370f128cb0d1b9cafcc1521f22ba83ccecdff26280459b"
Job succeeded
2026-01-27 23:17.36: Job succeeded