(not at the head of any monitored branch or PR)
2025-04-15 16:16.50: New job: test secp256k1-internal.0.1.0 with dune-configurator.3.18.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27761/head (45a9003972a4bc10898d8844bef612e0e0029914)
                              on debian-12-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27761/head" && git reset --hard 45a90039
git fetch origin master
git merge --no-edit 70b82be6e261da74b766f9bb1344a1ecd5b1909d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune-configurator.3.18.1 3.18.1
RUN opam reinstall dune-configurator.3.18.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune-configurator.3.18.1' && 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.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'secp256k1-internal.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test secp256k1-internal.0.1.0) || true
RUN opam reinstall --with-test --verbose secp256k1-internal.0.1.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'secp256k1-internal.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-04-15 16:16.50: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050-dune-configurator.3.18.1-secp256k1-internal.0.1.0-45a9003972a4bc10898d8844bef612e0e0029914"
2025-04-15 16:16.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dune-configurator.3.18.1 3.18.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune-configurator.3.18.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune-configurator.3.18.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall secp256k1-internal.0.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'secp256k1-internal.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test secp256k1-internal.0.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose secp256k1-internal.0.1.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'secp256k1-internal.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-04-15 16:16.50: Waiting for resource in pool OCluster
2025-04-15 19:41.28: Waiting for worker…
2025-04-15 19:44.07: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files:  97% (22287/22880)
Updating files:  98% (22423/22880)
Updating files:  99% (22652/22880)
Updating files: 100% (22880/22880)
Updating files: 100% (22880/22880), done.
HEAD is now at 70b82be6e2 Merge pull request #27756 from chetmurthy/release-camlp5-8.03.04
Updating 70b82be6e2..45a9003972
Fast-forward
 packages/chrome-trace/chrome-trace.3.18.1/opam     | 41 ++++++++++++
 .../dune-action-plugin.3.18.1/opam                 | 54 ++++++++++++++++
 .../dune-build-info/dune-build-info.3.18.1/opam    | 47 ++++++++++++++
 .../dune-configurator.3.18.1/opam                  | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.18.1/opam           | 44 +++++++++++++
 .../dune-private-libs.3.18.1/opam                  | 52 +++++++++++++++
 packages/dune-rpc-lwt/dune-rpc-lwt.3.18.1/opam     | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.18.1/opam             | 45 +++++++++++++
 packages/dune-site/dune-site.3.18.1/opam           | 39 ++++++++++++
 packages/dune/dune.3.18.1/opam                     | 73 ++++++++++++++++++++++
 packages/dyn/dyn.3.18.1/opam                       | 42 +++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.18.1/opam         | 45 +++++++++++++
 packages/ordering/ordering.3.18.1/opam             | 40 ++++++++++++
 packages/stdune/stdune.3.18.1/opam                 | 46 ++++++++++++++
 packages/xdg/xdg.3.18.1/opam                       | 41 ++++++++++++
 15 files changed, 703 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.18.1/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.18.1/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.18.1/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.18.1/opam
 create mode 100644 packages/dune-glob/dune-glob.3.18.1/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.18.1/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.18.1/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.18.1/opam
 create mode 100644 packages/dune-site/dune-site.3.18.1/opam
 create mode 100644 packages/dune/dune.3.18.1/opam
 create mode 100644 packages/dyn/dyn.3.18.1/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.18.1/opam
 create mode 100644 packages/ordering/ordering.3.18.1/opam
 create mode 100644 packages/stdune/stdune.3.18.1/opam
 create mode 100644 packages/xdg/xdg.3.18.1/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050)
2025-04-15 19:46.52 ---> using "c803204894feb69882c6f8a93debc38d237226aa0742423bb8ecaf2af7ff192b" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-15 19:46.52 ---> using "ece3a69ccd84d1bc3f538d5d927c0677b7135e0ed5c5cf4c9c4520c17f38358a" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-15 19:46.52 ---> using "d5e769d11ef10526cdb73f418d047f005a7a5b69bb629bfc2d2d388c7c8b8cdf" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-04-15 19:46.52 ---> using "715b54b0301c5ea573dce9ba6774fadf0f93b64dc7a24253bfe6c76c219d7da5" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-04-15 19:46.52 ---> using "2963a137c235cb1efcbb6bb5c962ec263787dd9c8275045ae610283ae366c13d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-15 19:46.53 ---> using "c09bf3edab97cea63fa144e6f5ecf2869b6fb4925fdd1aac25138a67330f6681" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-15 19:46.53 ---> using "1e72cc37196eed0f1745a95595b3baa136f4f1d0128340fbaf2f61ec1938d8f7" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [254 kB]
- Fetched 357 kB in 0s (1043 kB/s)
- Reading package lists...
2025-04-15 19:46.53 ---> using "fe6517cd124df9c409c133b211b90144cf0d720f10758432d957d3f65248f412" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.18.1 3.18.1"))
dune-configurator is now pinned to version 3.18.1
2025-04-15 19:46.53 ---> using "a8df9e0660d0f90f84499b44ef14d60d58b0c716d72064b8f82219a302c13af6" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune-configurator.3.18.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune-configurator.3.18.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune-configurator.3.18.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
  - install csexp             1.5.2           [required by dune-configurator]
  - install dune              3.18.1          [required by dune-configurator]
  - install dune-configurator 3.18.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1  (cached)
-> installed dune.3.18.1
-> installed csexp.1.5.2
-> installed dune-configurator.3.18.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 19:46.53 ---> using "a78086b5bdca7d3054387bd9b97fe4704446fe590527fc2c96cb815b2805cdc8" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall secp256k1-internal.0.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'secp256k1-internal.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
secp256k1-internal.0.1.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 7 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 cstruct            6.0.1 [required by secp256k1-internal]
  - install ocamlfind          1.9.8 [required by base-bytes]
  - install secp256k1-internal 0.1.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"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18747 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstring.0.3  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved cstruct.6.0.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed conf-gmp.5
-> retrieved secp256k1-internal.0.1.0  (cached)
-> installed bigarray-compat.1.1.0
-> installed cstruct.6.0.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed bigstring.0.3
-> installed secp256k1-internal.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 19:47.06 ---> saved as "9d25d334fe7175e9f4486d42ada780b0d60d7e9078fafc9df13eccb11849eea7"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test secp256k1-internal.0.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile secp256k1-internal 0.1.0
=== install 12 packages
  - install   alcotest           1.9.0  [required by secp256k1-internal]
  - install   astring            0.8.5  [required by alcotest]
  - install   cmdliner           1.3.0  [required by alcotest]
  - install   fmt                0.10.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.12.0 [required by alcotest]
  - install   seq                base   [required by re]
  - install   stdlib-shims       0.3.0  [required by alcotest]
  - install   topkg              1.0.8  [required by fmt, astring, uutf]
  - install   uutf               1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (https://github.com/mirage/alcotest/releases/download/1.9.0/alcotest-1.9.0.tbz)
-> retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> retrieved cmdliner.1.3.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> retrieved fmt.0.10.0  (https://erratique.ch/software/fmt/releases/fmt-0.10.0.tbz)
-> retrieved hex.1.5.0  (https://github.com/mirage/ocaml-hex/releases/download/v1.5.0/hex-1.5.0.tbz)
-> installed hex.1.5.0
-> retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved ocamlbuild.0.16.1  (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz)
-> retrieved re.1.12.0  (https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved secp256k1-internal.0.1.0  (https://gitlab.com/nomadic-labs/ocaml-secp256k1-internal/-/archive/v0.1/ocaml-secp256k1-internal-v0.1.tar.bz2)
-> installed cmdliner.1.3.0
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> retrieved topkg.1.0.8  (https://erratique.ch/software/topkg/releases/topkg-1.0.8.tbz)
-> installed stdlib-shims.0.3.0
-> retrieved uutf.1.0.4  (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
-> installed re.1.12.0
-> removed   secp256k1-internal.0.1.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed alcotest.1.9.0
-> installed secp256k1-internal.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 19:47.30 ---> saved as "574f31509bbb3ab8ef5ba949e37f2392402a2353524eacdabd75117e6ad1c50a"

/home/opam: (run (shell  "opam reinstall --with-test --verbose secp256k1-internal.0.1.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'secp256k1-internal.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile secp256k1-internal 0.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [secp256k1-internal.0.1.0: extract]
-> retrieved secp256k1-internal.0.1.0  (cached)
Processing  2/4: [secp256k1-internal: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-j" "255" "-p" "secp256k1-internal" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/secp256k1-internal.0.1.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" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/secp256k1-internal.0.1.0)
- (cd _build/default/test && ./test.exe)
- Testing `secp256k1'.
- This run has ID `FFEFYJWB'.
- 
-   [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.1.0/_build/default/test/_build/_tests/secp256k1'.
- Test Successful in 0.001s. 9 tests run.
-> compiled  secp256k1-internal.0.1.0
-> removed   secp256k1-internal.0.1.0
-> installed secp256k1-internal.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 19:47.37 ---> saved as "dd0896d7627a815cc0297ff0923615155b4aaef02e07187c4af2f88ea9729ee4"
Job succeeded
2025-04-15 19:47.48: Job succeeded