(for PR #26864)

2024-11-13 14:03.23: New job: test mirage-crypto-pk.0.6.2 with ocamlfind.1.9.7, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26864/head (1fe86a030d1aa680aac111c48a41dca97d43900a)
                              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/26864/head" && git reset --hard 1fe86a03
git fetch origin master
git merge --no-edit d4c6a480805e2a9eafb47afe89128b65244cbdac
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 ocamlfind.1.9.7 1.9.7
RUN opam reinstall ocamlfind.1.9.7; \
    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" != 'ocamlfind.1.9.7' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN opam reinstall mirage-crypto-pk.0.6.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'mirage-crypto-pk.0.6.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam option solver=builtin-0install
RUN (opam reinstall --with-test mirage-crypto-pk.0.6.2) || true
RUN opam reinstall --with-test --verbose mirage-crypto-pk.0.6.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'mirage-crypto-pk.0.6.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

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

2024-11-13 14:03.23: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3-ocamlfind.1.9.7-mirage-crypto-pk.0.6.2-1fe86a030d1aa680aac111c48a41dca97d43900a"
2024-11-13 14:03.23: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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 ocamlfind.1.9.7 1.9.7"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlfind.1.9.7;\
             \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\" != 'ocamlfind.1.9.7' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (shell "opam option solver=builtin-0install"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-crypto-pk.0.6.2;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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\" != 'mirage-crypto-pk.0.6.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (shell "opam option solver=builtin-0install"))
 (run (network host)
      (shell "(opam reinstall --with-test mirage-crypto-pk.0.6.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose mirage-crypto-pk.0.6.2;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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\" != 'mirage-crypto-pk.0.6.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-11-13 14:03.23: Waiting for resource in pool OCluster
2024-11-13 17:02.50: Waiting for worker…
2024-11-13 17:04.32: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
Updating files:  58% (19117/32662)
Updating files:  59% (19271/32662)
Updating files:  60% (19598/32662)
Updating files:  61% (19924/32662)
Updating files:  62% (20251/32662)
Updating files:  63% (20578/32662)
Updating files:  64% (20904/32662)
Updating files:  65% (21231/32662)
Updating files:  66% (21557/32662)
Updating files:  67% (21884/32662)
Updating files:  68% (22211/32662)
Updating files:  69% (22537/32662)
Updating files:  70% (22864/32662)
Updating files:  71% (23191/32662)
Updating files:  72% (23517/32662)
Updating files:  73% (23844/32662)
Updating files:  74% (24170/32662)
Updating files:  75% (24497/32662)
Updating files:  76% (24824/32662)
Updating files:  77% (25150/32662)
Updating files:  78% (25477/32662)
Updating files:  79% (25803/32662)
Updating files:  80% (26130/32662)
Updating files:  81% (26457/32662)
Updating files:  82% (26783/32662)
Updating files:  83% (27110/32662)
Updating files:  84% (27437/32662)
Updating files:  85% (27763/32662)
Updating files:  86% (28090/32662)
Updating files:  87% (28416/32662)
Updating files:  88% (28743/32662)
Updating files:  89% (29070/32662)
Updating files:  90% (29396/32662)
Updating files:  91% (29723/32662)
Updating files:  92% (30050/32662)
Updating files:  93% (30376/32662)
Updating files:  94% (30703/32662)
Updating files:  95% (31029/32662)
Updating files:  96% (31356/32662)
Updating files:  97% (31683/32662)
Updating files:  98% (32009/32662)
Updating files:  99% (32336/32662)
Updating files: 100% (32662/32662)
Updating files: 100% (32662/32662), done.
HEAD is now at d4c6a48080 Merge pull request #26854 from balat/opam-publish-ocsigen-toolkit.4.1.0
Merge made by the 'ort' strategy.
 packages/ocamlfind/ocamlfind.1.9.7/opam | 44 +++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 packages/ocamlfind/ocamlfind.1.9.7/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3' locally
docker.io/ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3: Pulling from ocaml/opam
7a69ec65e8dc: Pulling fs layer
7a69ec65e8dc: Verifying Checksum
7a69ec65e8dc: Download complete
7a69ec65e8dc: Pull complete
Digest: sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
Status: Downloaded newer image for ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
2024-11-13 17:04.45 ---> using "7865c6821c42776ca70a19318cc19a6071e65fe0e7c3e659c00e7a03ce2b6d64" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-13 17:04.45 ---> using "ad3e9629360f3a2c8223d5886ac7195207ee1803fcb4aa7b290336801b8943d0" 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] synchronised from file:///home/opam/opam-repository
2024-11-13 17:04.45 ---> using "a1480828f57ce587531365e53376a0f63d7958ebe9ac0f519aa1dec70633d5fb" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-13 17:04.45 ---> using "4b810995688cec25d712717079f5c0d0bea9418fcf6146699f0e15656c1f450c" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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/"))
2024-11-13 17:04.45 ---> using "b03bc4d602c48017fed87683a2f42534210f76d9d4239618ddee445f3c2c744c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-13 17:04.46 ---> using "8376eea1500819381c6957535148b236d06f96a1c966cf70c1756c5e924d6e08" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-13 17:04.46 ---> using "cdf93fcdf4d21905426b1830e2b9d9392afca75e342c5970167d6fa37b42de23" 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 [204 kB]
- Fetched 307 kB in 0s (1299 kB/s)
- Reading package lists...
2024-11-13 17:04.46 ---> using "d5a42b1adc5254f2ad81c2a8689df64e8f1d546280b55b3d1d01ac94bddf3aeb" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.7 1.9.7"))
ocamlfind is now pinned to version 1.9.7
2024-11-13 17:04.46 ---> using "5bbf101f923e28e6142584c7552c417f6c3c91bd767fefdc02c264c262f8a027" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.7  (cached)
-> installed ocamlfind.1.9.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 17:04.46 ---> using "72cc581d8a90b904d6c5e369683fafbe8d811187160b071745aa753de520bc73" from cache

/home/opam: (run (shell "opam option solver=builtin-0install"))
Set to 'builtin-0install' the field solver in global configuration
2024-11-13 17:04.46 ---> using "38932eedab7e9427581ff0ed4b4254b16caccb91e6c228e08c034f683188374e" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-crypto-pk.0.6.2;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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\" != 'mirage-crypto-pk.0.6.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
mirage-crypto-pk.0.6.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 33 packages
  - install base                v0.16.3 [required by ppx_sexp_conv]
  - install base-bytes          base    [required by ocplib-endian]
  - install bigarray-compat     1.1.0   [required by mirage-crypto-pk]
  - install conf-bash           1       [required by base]
  - install conf-gmp            4       [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec   3       [required by mirage-crypto-pk]
  - install conf-pkg-config     3       [required by mirage-crypto, zarith]
  - install cppo                1.7.0   [required by ocplib-endian]
  - install cpuid               0.1.2   [required by mirage-crypto]
  - install csexp               1.5.2   [required by dune-configurator]
  - install cstruct             6.0.1   [required by mirage-crypto-pk]
  - install dune                3.16.1  [required by mirage-crypto-pk]
  - install dune-configurator   3.16.1  [required by mirage-crypto, mirage-crypto-rng]
  - install eqaf                0.9     [required by mirage-crypto-pk]
  - install mirage-crypto       0.6.2   [required by mirage-crypto-pk]
  - install mirage-crypto-pk    0.6.2
  - install mirage-crypto-rng   0.6.2   [required by mirage-crypto-pk]
  - install mirage-no-solo5     1       [required by mirage-crypto-pk]
  - install mirage-no-xen       1       [required by mirage-crypto-pk]
  - install num                 1.5-1   [required by sexplib]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install ocamlbuild          0.15.0  [required by rresult]
  - install ocplib-endian       1.2     [required by mirage-crypto]
  - install parsexp             v0.16.0 [required by sexplib]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ppx_sexp_conv       v0.16.0 [required by mirage-crypto-pk]
  - install ppxlib              0.33.0  [required by ppx_sexp_conv]
  - install rresult             0.7.0   [required by mirage-crypto-pk]
  - install sexplib             v0.16.0 [required by mirage-crypto-pk]
  - install sexplib0            v0.16.0 [required by ppx_sexp_conv, sexplib]
  - install stdlib-shims        0.3.0   [required by ppxlib]
  - install topkg               1.0.7   [required by rresult]
  - 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"
- 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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../0-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 .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.3  (cached)
-> installed base-bytes.base
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved cppo.1.7.0  (cached)
-> installed conf-bash.1
-> installed conf-pkg-config.3
-> retrieved cpuid.0.1.2  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.4
-> retrieved cstruct.6.0.1  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved mirage-crypto.0.6.2, mirage-crypto-pk.0.6.2, mirage-crypto-rng.0.6.2  (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved zarith.1.14  (cached)
-> installed num.1.5-1
-> installed zarith.1.14
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed dune.3.16.1
-> installed ppx_derivers.1.2.1
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed cpuid.0.1.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed cppo.1.7.0
-> installed cstruct.6.0.1
-> installed ocplib-endian.1.2
-> installed eqaf.0.9
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.16.1
-> installed sexplib.v0.16.0
-> installed mirage-crypto.0.6.2
-> installed mirage-crypto-rng.0.6.2
-> installed base.v0.16.3
-> installed ppxlib.0.33.0
-> installed ppx_sexp_conv.v0.16.0
-> installed mirage-crypto-pk.0.6.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 17:06.28 ---> saved as "7b626b9ff58761a8faeb531207b25e20065e55e9e6994aa730a02620b37468d7"

/home/opam: (run (shell "opam option solver=builtin-0install"))
No modification in global configuration
2024-11-13 17:06.28 ---> saved as "c3f0eb9047a0a8963e87b8758d1562a002f8d92a25c3254be11d1ada31cfa567"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test mirage-crypto-pk.0.6.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile mirage-crypto-pk 0.6.2
=== install 4 packages
  - install   ounit            2.2.7 [required by mirage-crypto-pk]
  - install   ounit2           2.2.7 [required by ounit]
  - install   randomconv       0.1.3 [required by mirage-crypto-pk]
  - install   seq              base  [required by ounit2]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved mirage-crypto-pk.0.6.2  (https://github.com/mirage/mirage-crypto/releases/download/v0.6.2/mirage-crypto-v0.6.2.tbz)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz)
-> retrieved randomconv.0.1.3  (https://github.com/hannesm/randomconv/releases/download/v0.1.3/randomconv-v0.1.3.tbz)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> removed   mirage-crypto-pk.0.6.2
-> installed randomconv.0.1.3
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed mirage-crypto-pk.0.6.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 17:07.01 ---> saved as "93a5f6eb6c400276e6f5804b843e239a550555eb35869d0be150f1fdd5c04282"

/home/opam: (run (shell  "opam reinstall --with-test --verbose mirage-crypto-pk.0.6.2;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-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\" != 'mirage-crypto-pk.0.6.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile mirage-crypto-pk 0.6.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [mirage-crypto-pk.0.6.2: extract]
-> retrieved mirage-crypto-pk.0.6.2  (cached)
Processing  2/4: [mirage-crypto-pk: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto-pk" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto-pk.0.6.2)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I pk/.mirage_crypto_pk.objs/byte -I pk/.mirage_crypto_pk.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -open Mirage_crypto_pk__ -o pk/.mirage_crypto_pk.objs/byte/mirage_crypto_pk__Z_extra.cmo -c -impl pk/z_extra.pp.ml)
- File "pk/z_extra.ml", line 28, characters 14-25:
- 28 |   | None   -> Cstruct.len cs * 8
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/z_extra.ml", line 29, characters 22-33:
- 29 |   | Some b -> imin b (Cstruct.len cs * 8)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/z_extra.ml", line 52, characters 11-14:
- 52 |   write n (len cs - 1)
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I pk/.mirage_crypto_pk.objs/byte -I pk/.mirage_crypto_pk.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -open Mirage_crypto_pk__ -o pk/.mirage_crypto_pk.objs/byte/mirage_crypto_pk__Dsa.cmo -c -impl pk/dsa.pp.ml)
- File "pk/dsa.ml", line 163, characters 13-24:
- 163 |   if bits >= Cstruct.len digest * 8 then digest else
-                    ^^^^^^^^^^^
- 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 pk/.mirage_crypto_pk.objs/byte -I pk/.mirage_crypto_pk.objs/native -I pk/.mirage_crypto_pk.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -open Mirage_crypto_pk__ -o pk/.mirage_crypto_pk.objs/native/mirage_crypto_pk__Z_extra.cmx -c -impl pk/z_extra.pp.ml)
- File "pk/z_extra.ml", line 28, characters 14-25:
- 28 |   | None   -> Cstruct.len cs * 8
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/z_extra.ml", line 29, characters 22-33:
- 29 |   | Some b -> imin b (Cstruct.len cs * 8)
-                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/z_extra.ml", line 52, characters 11-14:
- 52 |   write n (len cs - 1)
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I pk/.mirage_crypto_pk.objs/byte -I pk/.mirage_crypto_pk.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -open Mirage_crypto_pk__ -o pk/.mirage_crypto_pk.objs/byte/mirage_crypto_pk__Rsa.cmo -c -impl pk/rsa.pp.ml)
- File "pk/rsa.ml", line 233, characters 27-30:
- 233 |     let pad = padding (k - len msg - 3 |> imax min_pad) in
-                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 244, characters 28-31:
- 244 |       Some (sub cs (i + 1) (len cs - i - 1))
-                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 256, characters 7-10:
- 256 |     if len p = n then transform p else raise Insufficient_key
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 259, characters 7-10:
- 259 |     if len msg = keybits // 8 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 299, characters 5-8:
- 299 |     (len (asn_of_hash hash) + Hash.digest_size hash + min_pad + 2) * 8 + 1
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 317, characters 41-52:
- 317 |   let mask ~seed cs = Cs.xor (mgf ~seed (Cstruct.len cs)) cs
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 332, characters 45-48:
- 332 |     and pad   = Cs.create (max_msg_bytes k - len msg) in
-                                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 350, characters 7-10:
- 350 |     if len msg > max_msg_bytes k then raise Insufficient_key
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 355, characters 7-10:
- 355 |     if len em <> k || max_msg_bytes k < 0 then None else
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 396, characters 25-28:
- 396 |     let salt = shift db (len db - slen) in
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 418, characters 12-15:
- 418 |     and s = len signature in
-                   ^^^
- 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 pk/.mirage_crypto_pk.objs/byte -I pk/.mirage_crypto_pk.objs/native -I pk/.mirage_crypto_pk.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -open Mirage_crypto_pk__ -o pk/.mirage_crypto_pk.objs/native/mirage_crypto_pk__Dsa.cmx -c -impl pk/dsa.pp.ml)
- File "pk/dsa.ml", line 163, characters 13-24:
- 163 |   if bits >= Cstruct.len digest * 8 then digest else
-                    ^^^^^^^^^^^
- 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 pk/.mirage_crypto_pk.objs/byte -I pk/.mirage_crypto_pk.objs/native -I pk/.mirage_crypto_pk.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -open Mirage_crypto_pk__ -o pk/.mirage_crypto_pk.objs/native/mirage_crypto_pk__Rsa.cmx -c -impl pk/rsa.pp.ml)
- File "pk/rsa.ml", line 233, characters 27-30:
- 233 |     let pad = padding (k - len msg - 3 |> imax min_pad) in
-                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 244, characters 28-31:
- 244 |       Some (sub cs (i + 1) (len cs - i - 1))
-                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 256, characters 7-10:
- 256 |     if len p = n then transform p else raise Insufficient_key
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 259, characters 7-10:
- 259 |     if len msg = keybits // 8 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 299, characters 5-8:
- 299 |     (len (asn_of_hash hash) + Hash.digest_size hash + min_pad + 2) * 8 + 1
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 317, characters 41-52:
- 317 |   let mask ~seed cs = Cs.xor (mgf ~seed (Cstruct.len cs)) cs
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 332, characters 45-48:
- 332 |     and pad   = Cs.create (max_msg_bytes k - len msg) in
-                                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 350, characters 7-10:
- 350 |     if len msg > max_msg_bytes k then raise Insufficient_key
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 355, characters 7-10:
- 355 |     if len em <> k || max_msg_bytes k < 0 then None else
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 396, characters 25-28:
- 396 |     let salt = shift db (len db - slen) in
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "pk/rsa.ml", line 418, characters 12-15:
- 418 |     and s = len signature in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing  2/4: [mirage-crypto-pk: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-crypto-pk" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto-pk.0.6.2)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I tests/.test_common.objs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -no-alias-deps -o tests/.test_common.objs/byte/test_common.cmo -c -impl tests/test_common.ml)
- File "tests/test_common.ml", line 9, characters 5-8:
- 9 |   if len cs <= n then [ 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 tests/.test_common.objs/byte -I tests/.test_common.objs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o tests/.test_common.objs/native/test_common.cmx -c -impl tests/test_common.ml)
- File "tests/test_common.ml", line 9, characters 5-8:
- 9 |   if len cs <= n then [ cs ]
-          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I tests/.test_pk_runner.eobjs/byte -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-crypto-rng/unix -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/zarith -I pk/.mirage_crypto_pk.objs/public_cmi -I tests/.test_common.objs/byte -I tests/.test_common_random.objs/byte -no-alias-deps -o tests/.test_pk_runner.eobjs/byte/test_rsa.cmo -c -impl tests/test_rsa.ml)
- File "tests/test_rsa.ml", line 185, characters 15-26:
- 185 |     let slen = Cstruct.len salt in
-                      ^^^^^^^^^^^
- 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 tests/.test_pk_runner.eobjs/byte -I tests/.test_pk_runner.eobjs/native -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-crypto-rng/unix -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/zarith -I pk/.mirage_crypto_pk.objs/native -I pk/.mirage_crypto_pk.objs/public_cmi -I tests/.test_common.objs/byte -I tests/.test_common.objs/native -I tests/.test_common_random.objs/byte -I tests/.test_common_random.objs/native -intf-suffix .ml -no-alias-deps -o tests/.test_pk_runner.eobjs/native/test_rsa.cmx -c -impl tests/test_rsa.ml)
- File "tests/test_rsa.ml", line 185, characters 15-26:
- 185 |     let slen = Cstruct.len salt in
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/tests && ./test_pk_runner.exe)
- .....................................................................................................................................................................................................................................................................................................................................................................
- Ran: 357 tests in: 1.27 seconds.
- OK
-> compiled  mirage-crypto-pk.0.6.2
-> removed   mirage-crypto-pk.0.6.2
-> installed mirage-crypto-pk.0.6.2
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 17:07.22 ---> saved as "831de96dd2cdff0389e320ef42f58a90059b358020c231ef69d0481957f11045"
Job succeeded
2024-11-13 17:07.41: Job succeeded