Build:
  1. 0
2026-03-11 01:09.48: New job: test secp256k1-internal.0.2.0 with dune.3.22.0~alpha1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29535/head (f5aa06af0536fd71fe2fa400c30bf2a83f6bb8de)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29535/head" && git reset --hard f5aa06af
git fetch origin master
git merge --no-edit 3c0d72031e829cf7ddad3a74f39a8b01fe2bf302
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e
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.3.22.0~alpha1 3.22.0~alpha1
RUN opam reinstall dune.3.22.0~alpha1; \
    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.3.22.0~alpha1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall secp256k1-internal.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" != 'secp256k1-internal.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 secp256k1-internal.0.2.0) || true
RUN opam reinstall --with-test --verbose secp256k1-internal.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" != 'secp256k1-internal.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-03-11 01:09.48: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e-dune.3.22.0~alpha1-secp256k1-internal.0.2.0-f5aa06af0536fd71fe2fa400c30bf2a83f6bb8de"
2026-03-11 01:09.48: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e)
 (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.3.22.0~alpha1 3.22.0~alpha1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.0~alpha1;\
             \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.3.22.0~alpha1' && 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 secp256k1-internal.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\" != 'secp256k1-internal.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 secp256k1-internal.0.2.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose secp256k1-internal.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\" != 'secp256k1-internal.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-03-11 01:09.48: Waiting for resource in pool OCluster
2026-03-11 09:52.22: Waiting for worker…
2026-03-11 09:55.15: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files:  64% (11925/18435)
Updating files:  65% (11983/18435)
Updating files:  66% (12168/18435)
Updating files:  67% (12352/18435)
Updating files:  68% (12536/18435)
Updating files:  69% (12721/18435)
Updating files:  70% (12905/18435)
Updating files:  71% (13089/18435)
Updating files:  72% (13274/18435)
Updating files:  73% (13458/18435)
Updating files:  74% (13642/18435)
Updating files:  75% (13827/18435)
Updating files:  76% (14011/18435)
Updating files:  77% (14195/18435)
Updating files:  78% (14380/18435)
Updating files:  79% (14564/18435)
Updating files:  80% (14748/18435)
Updating files:  81% (14933/18435)
Updating files:  82% (15117/18435)
Updating files:  83% (15302/18435)
Updating files:  84% (15486/18435)
Updating files:  85% (15670/18435)
Updating files:  86% (15855/18435)
Updating files:  87% (16039/18435)
Updating files:  88% (16223/18435)
Updating files:  89% (16408/18435)
Updating files:  90% (16592/18435)
Updating files:  91% (16776/18435)
Updating files:  92% (16961/18435)
Updating files:  93% (17145/18435)
Updating files:  94% (17329/18435)
Updating files:  95% (17514/18435)
Updating files:  96% (17698/18435)
Updating files:  97% (17882/18435)
Updating files:  98% (18067/18435)
Updating files:  99% (18251/18435)
Updating files: 100% (18435/18435)
Updating files: 100% (18435/18435), done.
HEAD is now at 3c0d72031e Merge pull request #29534 from filipeom/opam-publish-smtml.0.23.0
Updating 3c0d72031e..f5aa06af05
Fast-forward
 .../chrome-trace/chrome-trace.3.22.0~alpha1/opam   | 39 +++++++++++
 .../dune-action-plugin.3.22.0~alpha1/opam          | 52 +++++++++++++++
 .../dune-action-trace.3.22.0~alpha1/opam           | 39 +++++++++++
 .../dune-build-info.3.22.0~alpha1/opam             | 45 +++++++++++++
 .../dune-configurator.3.22.0~alpha1/opam           | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.0~alpha1/opam    | 42 ++++++++++++
 .../dune-private-libs.3.22.0~alpha1/opam           | 50 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha1/opam   | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.0~alpha1/opam      | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.0~alpha1/opam    | 37 +++++++++++
 packages/dune/dune.3.22.0~alpha1/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.0~alpha1/opam                | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.0~alpha1/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha1/opam  | 43 +++++++++++++
 packages/ordering/ordering.3.22.0~alpha1/opam      | 38 +++++++++++
 packages/stdune/stdune.3.22.0~alpha1/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.22.0~alpha1/opam     | 38 +++++++++++
 packages/xdg/xdg.3.22.0~alpha1/opam                | 39 +++++++++++
 18 files changed, 796 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha1/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha1/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha1/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha1/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha1/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha1/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha1/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha1/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha1/opam
 create mode 100644 packages/dune-site/dune-site.3.22.0~alpha1/opam
 create mode 100644 packages/dune/dune.3.22.0~alpha1/opam
 create mode 100644 packages/dyn/dyn.3.22.0~alpha1/opam
 create mode 100644 packages/fs-io/fs-io.3.22.0~alpha1/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha1/opam
 create mode 100644 packages/ordering/ordering.3.22.0~alpha1/opam
 create mode 100644 packages/stdune/stdune.3.22.0~alpha1/opam
 create mode 100644 packages/top-closure/top-closure.3.22.0~alpha1/opam
 create mode 100644 packages/xdg/xdg.3.22.0~alpha1/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e' locally
docker.io/ocaml/opam@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e: Pulling from ocaml/opam
866771c43bf5: Already exists
1e49bea09367: Already exists
e793768537e6: Already exists
ed323d3d481a: Already exists
7df34a5cd5f1: Already exists
fd712d3eb935: Already exists
4b9fb8c99118: Already exists
9d9a01948b94: Already exists
0f1514f90b32: Already exists
e1ec5a753447: Already exists
03cc323e2f71: Already exists
c09c08ea9749: Already exists
b36b619f8e6b: Already exists
195344ca5274: Already exists
228ee78582a6: Already exists
504bde1c25b3: Already exists
9d8b1356c89f: Already exists
9d8b1356c89f: Already exists
568fb6dda155: Already exists
c499c9198aea: Already exists
048e5e358118: Already exists
871ca48eb45d: Already exists
4f4fb700ef54: Already exists
a5a2568b9df9: Already exists
068cf3106ac8: Already exists
559f54ec9b29: Already exists
798ffd96fde5: Already exists
e9a891bf80d7: Already exists
d720cfe12674: Already exists
c81c932f4a91: Already exists
79f24fa3bb11: Already exists
8c1debcd8c20: Already exists
1bb2cfea7250: Already exists
2b3d3ca75e4c: Already exists
557cacaf263c: Already exists
d10483022eef: Already exists
7b62a90d8223: Already exists
28ce8ea66e72: Already exists
d975909ea717: Already exists
5c215c69c247: Already exists
e7c082452a54: Already exists
d1a4c61b613c: Already exists
0195a6679dc6: Already exists
410dfa46d7be: Already exists
b7b221f39cbe: Already exists
Digest: sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e
Status: Downloaded newer image for ocaml/opam@sha256:37323dc71cac48a3e4688e16b45b95486f3cc440c55ab3f83114e8973362f41e
2026-03-11 09:55.19 ---> using "32cd5b5baf995c02200cf270da597dbb25becd220af2c200c00b8b241a742195" 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-03-11 09:55.19 ---> using "f3ed7bdbef828c9c0b079b10505c5f05c3c9adcca11ce5bf2dac2a4183e099d8" 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-03-11 09:55.19 ---> using "5bf6adb7b45bb7e0c215b8f509c71a8dae73a9a2060efcc27df9d4ef6c6d3350" 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-03-11 09:55.19 ---> using "0546f18fa5979677ee22eb9f2fcf19ab371564e845d317c2c70e41dd97dc22dd" 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-03-11 09:55.19 ---> using "0a7188cbe95f4fe0ff26694977eb8794c975bdb534078da98a06d6c7373289b4" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-11 09:55.21 ---> using "058acd97914d90fca6a329b7ff1babbb92e45a5f521e04c7114979a220f97d75" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-11 09:55.21 ---> using "a9504de0029e850164e11feaf593a22f67e6f7c5cccc92dfed09cc916f0be670" 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 [108 kB]
- Fetched 199 kB in 0s (1431 kB/s)
- Reading package lists...
- 
2026-03-11 09:55.21 ---> using "fc5ea9d29c11a2b6de08c85928fd22a882efb1281fe5a3be2d5337cb56b6577e" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.0~alpha1 3.22.0~alpha1"))
dune is now pinned to version 3.22.0~alpha1
2026-03-11 09:55.21 ---> using "023c2a0e0e5efd5bf484a99a73410c324d867ace34fca4cdaff2047b39f6aa87" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.22.0~alpha1;\
                        \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.3.22.0~alpha1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.22.0~alpha1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.22.0~alpha1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.0~alpha1  (cached)
-> installed dune.3.22.0~alpha1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 09:55.21 ---> using "7ddf5c4038e49c6780c053e6d2299b48596f42b483565b7de9e6c8e1f73bd100" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall secp256k1-internal.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\" != 'secp256k1-internal.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"))
secp256k1-internal.0.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
  - install base-bytes         base          [required by bigstring]
  - install bigarray-compat    1.1.0         [required by cstruct]
  - install bigstring          0.3           [required by secp256k1-internal]
  - install conf-gmp           5             [required by secp256k1-internal]
  - install csexp              1.5.2         [required by dune-configurator]
  - install cstruct            6.0.1         [required by secp256k1-internal]
  - install dune-configurator  3.22.0~alpha1 [required by secp256k1-internal]
  - install ocamlfind          1.9.8         [required by base-bytes]
  - install secp256k1-internal 0.2.0

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

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

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

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev"
- 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 ... 20623 files and directories currently installed.)
- Preparing to unpack .../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 .../libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstring.0.3  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.0.1  (cached)
-> installed conf-gmp.5
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed cstruct.6.0.1
-> retrieved dune-configurator.3.22.0~alpha1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved secp256k1-internal.0.2.0  (https://opam.ocaml.org/cache)
-> installed dune-configurator.3.22.0~alpha1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed bigstring.0.3
-> installed secp256k1-internal.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 09:56.00 ---> saved as "44f4b8a5a6aa0086b5b56bc427ebd9ac1583470e1f564dc47a0583c24ebf3081"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test secp256k1-internal.0.2.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile secp256k1-internal 0.2.0
=== install 11 packages
  - install   alcotest           1.9.1  [required by secp256k1-internal]
  - install   astring            0.8.5  [required by alcotest]
  - install   cmdliner           2.1.0  [required by alcotest]
  - install   fmt                0.11.0 [required by alcotest]
  - install   hex                1.5.0  [required by secp256k1-internal]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   ocamlbuild         0.16.1 [required by fmt, astring, uutf]
  - install   re                 1.14.0 [required by alcotest]
  - install   stdlib-shims       0.3.0  [required by alcotest]
  - install   topkg              1.1.1  [required by fmt, astring, uutf]
  - install   uutf               1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved hex.1.5.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1  (https://opam.ocaml.org/cache)
-> installed hex.1.5.0
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved secp256k1-internal.0.2.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed cmdliner.2.1.0
-> removed   secp256k1-internal.0.2.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed alcotest.1.9.1
-> installed secp256k1-internal.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 09:56.50 ---> saved as "c6681d1b6b707397a887531ee5436e7bdfaf3e1e68d72bb6ca1482ae95772b95"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [secp256k1-internal.0.2.0: extract]
-> retrieved secp256k1-internal.0.2.0  (cached)
Processing  2/4: [secp256k1-internal: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-j" "71" "-p" "secp256k1-internal" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/secp256k1-internal.0.2.0)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.libsecp256k1.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -intf-suffix .ml -no-alias-deps -open Libsecp256k1 -o src/.libsecp256k1.objs/byte/libsecp256k1__Internal.cmo -c -impl src/internal.ml)
- File "src/internal.ml", line 42, characters 39-42:
- 42 |     Cstruct.(get_bin (to_bigarray cs) (len cs))
-                                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/internal.ml", line 44, characters 41-44:
- 44 |     Cstruct.(set_bin r (to_bigarray cs) (len cs))
-                                               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.libsecp256k1.objs/byte -I src/.libsecp256k1.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -intf-suffix .ml -no-alias-deps -open Libsecp256k1 -o src/.libsecp256k1.objs/native/libsecp256k1__Internal.cmx -c -impl src/internal.ml)
- File "src/internal.ml", line 42, characters 39-42:
- 42 |     Cstruct.(get_bin (to_bigarray cs) (len cs))
-                                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "src/internal.ml", line 44, characters 41-44:
- 44 |     Cstruct.(set_bin r (to_bigarray cs) (len cs))
-                                               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -DHAVE___INT128 -DUSE_ASM_X86_64 -DUSE_SCALAR_4X64 -DUSE_FIELD_5X52 -DUSE_NUM_GMP -DUSE_SCALAR_INV_NUM -DUSE_FIELD_INV_NUM -DSECP256K1_INLINE=inline -DSECP256K1_RESTRICT=restrict -DSECP256K1_TAG_PUBKEY_EVEN=0x02 -DSECP256K1_TAG_PUBKEY_ODD=0x03 -DSECP256K1_TAG_PUBKEY_UNCOMPRESSED=0x04 -DSECP256K1_TAG_PUBKEY_HYBRID_EVEN=0x06 -DSECP256K1_TAG_PUBKEY_HYBRID_ODD=0x07 -DENABLE_MODULE_RECOVERY -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstring -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -o secp256k1_wrap.o -c secp256k1_wrap.c)
- secp256k1_wrap.c: In function 'alloc_context':
- secp256k1_wrap.c:28:13: warning: "alloc_custom" is deprecated: use "caml_alloc_custom" instead
-    28 |     value ml_ctx = alloc_custom(&secp256k1_context_ops, sizeof(secp256k1_context *), 0, 1);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing  2/4: [secp256k1-internal: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "secp256k1-internal" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/secp256k1-internal.0.2.0)
- (cd _build/default/test && ./test.exe)
- Testing `secp256k1'.
- This run has ID `DK32I3TB'.
- 
-   [OK]          Num               0   basic.
-   [OK]          Scalar            0   basic.
-   [OK]          External          0   signature_of_string.
-   [OK]          External          1   valid_signature.
-   [OK]          External          2   invalid_signature.
-   [OK]          External          3   public_module.
-   [OK]          External          4   pubkey_creation.
-   [OK]          External          5   sign.
-   [OK]          External          6   recover.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/secp256k1-internal.0.2.0/_build/default/test/_build/_tests/secp256k1'.
- Test Successful in 0.002s. 9 tests run.
-> compiled  secp256k1-internal.0.2.0
-> removed   secp256k1-internal.0.2.0
-> installed secp256k1-internal.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-11 09:57.07 ---> saved as "90dd792cf524e429f64571782cf5d34cf1be050289fe943dbf8d9bf909a56010"
Job succeeded
2026-03-11 09:58.34: Job succeeded