Build:
  1. 0
2026-03-25 13:14.44: New job: test mirage-crypto-rng.0.8.0 with ocaml-compiler.5.4.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on debian-13-ocaml-5.4/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit 2f93e9d4614d6376ed929fc2cee7c59cb9d5833b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
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 ocaml-compiler.5.4.0 5.4.0
RUN opam reinstall --update-invariant ocaml-compiler.5.4.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" != 'ocaml-compiler.5.4.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall mirage-crypto-rng.0.8.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" != 'mirage-crypto-rng.0.8.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 mirage-crypto-rng.0.8.0) || true
RUN opam reinstall --with-test --verbose mirage-crypto-rng.0.8.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" != 'mirage-crypto-rng.0.8.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-25 13:14.44: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0-mirage-crypto-rng.0.8.0-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 13:14.44: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
 (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 ocaml-compiler.5.4.0 5.4.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.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\" != 'ocaml-compiler.5.4.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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-crypto-rng.0.8.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\" != 'mirage-crypto-rng.0.8.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 mirage-crypto-rng.0.8.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose mirage-crypto-rng.0.8.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\" != 'mirage-crypto-rng.0.8.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-25 13:14.44: Waiting for resource in pool OCluster
2026-03-25 18:50.05: Waiting for worker…
2026-03-25 18:52.21: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 2f93e9d461 Merge pull request #29592 from dinosaure/release-miou-v0.5.5
Merge made by the 'ort' strategy.
 packages/ocaml-compiler/ocaml-compiler.5.3.0/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.3/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0/opam      |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam    |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam     |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam     |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam  |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4/opam        |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam    |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.5/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.6/opam        |  5 ++++-
 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam    | 18 ++++++++++++++++++
 .../ocaml-options-vanilla/ocaml-options-vanilla.1/opam |  1 +
 packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam |  2 ++
 15 files changed, 69 insertions(+), 12 deletions(-)
 create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
2026-03-25 18:52.28 ---> using "41eea30e3f639c18d8cf57c309ec76919ec7b2398036f7e41744cbce59a133d3" 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-25 18:52.28 ---> using "4ad7f430d684c40cedc651267e0edf890c044fe4e624255de377c471b4526bac" from cache

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

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

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-25 18:52.28 ---> using "71fa58e52457bf6a7eac317c6a6ef1e2bdf53e533a1e4fd04b90c9349347e038" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-03-25 18:52.28 ---> using "ed86081cb38ca125a920162bfe6a4bb7b1c27c6973c917551687c83cf44dbfdf" 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-25 18:52.28 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 18:52.29 ---> using "034191995d824300f355cbba1072d6e5fe6d815701f24eb84d82c75009d73829" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 18:52.29 ---> using "8232259ea36ea8848dc29ae49703acf145fd27b40f3ebd8fb785db7f8da1b9d4" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
- Fetched 10.0 MB in 1s (10.7 MB/s)
- Reading package lists...
- 
2026-03-25 18:52.29 ---> using "a75782a571df4fc8f8933e94c681af881015ee87cdd4c652f8ae9af1d8cfad37" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0 5.4.0"))
ocaml-compiler is now pinned to version 5.4.0
2026-03-25 18:52.29 ---> using "60e129f7398974b5fa5afc8f56ec09bd24a9182f5e9834464bfc959db1aa6b14" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.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\" != 'ocaml-compiler.5.4.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 8 packages
  - recompile base-domains        base           [uses ocaml]
  - recompile base-effects        base           [uses ocaml]
  - recompile base-nnp            base           [uses base-domains]
  - recompile ocaml               5.4.0          [uses ocaml-base-compiler]
  - recompile ocaml-base-compiler 5.4.0 (pinned) [uses ocaml-compiler]
  - recompile ocaml-compiler      5.4.0 (pinned)
  - recompile ocaml-config        3              [uses ocaml-base-compiler]
  - recompile opam-depext         1.2.3          [uses ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0  (cached)
-> retrieved ocaml-config.3  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.4.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.4.0
-> removed   ocaml-compiler.5.4.0
-> installed ocaml-compiler.5.4.0
-> installed ocaml-base-compiler.5.4.0
-> installed ocaml-config.3
-> installed ocaml.5.4.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:52.29 ---> using "efbc92fc0c607605c8bb33f9e4c8fe340a48c67e14d2f61592db8a4edc5c0b15" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-crypto-rng.0.8.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\" != 'mirage-crypto-rng.0.8.0' && 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-rng.0.8.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 18 packages
  - install base-bytes        base   [required by ocplib-endian]
  - install bigarray-compat   1.1.0  [required by cstruct]
  - install conf-pkg-config   4      [required by mirage-crypto]
  - install cppo              1.8.0  [required by lwt]
  - install csexp             1.5.2  [required by dune-configurator]
  - install cstruct           6.0.1  [required by mirage-crypto-rng]
  - install dune              3.22.0 [required by mirage-crypto-rng]
  - install dune-configurator 3.22.0 [required by mirage-crypto-rng]
  - install duration          0.2.1  [required by mirage-crypto-rng]
  - install logs              0.10.0 [required by mirage-crypto-rng]
  - install lwt               6.1.1  [required by mirage-crypto-rng]
  - install mirage-crypto     0.8.0  [required by mirage-crypto-rng]
  - install mirage-crypto-rng 0.8.0
  - install mtime             2.1.0  [required by mirage-crypto-rng]
  - install ocamlbuild        0.16.1 [required by logs, mtime]
  - install ocamlfind         1.9.8  [required by logs, mtime]
  - install ocplib-endian     1.2    [required by lwt]
  - install topkg             1.1.1  [required by logs, mtime]

The following system packages will first need to be installed:
    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" "pkg-config"
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved cstruct.6.0.1  (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.6.1.1  (cached)
-> retrieved mirage-crypto.0.8.0, mirage-crypto-rng.0.8.0  (https://opam.ocaml.org/cache)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed mtime.2.1.0
-> installed dune.3.22.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed cstruct.6.0.1
-> installed dune-configurator.3.22.0
-> installed mirage-crypto.0.8.0
-> installed lwt.6.1.1
-> installed logs.0.10.0
-> installed mirage-crypto-rng.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:53.05 ---> saved as "385321e0c614a4adc88199191b28ac80f9015d94423e6888a0f33ae2da922efc"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved mirage-crypto-rng.0.8.0  (https://opam.ocaml.org/cache)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (https://opam.ocaml.org/cache)
-> retrieved randomconv.0.1.3  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> installed randomconv.0.1.3
-> removed   mirage-crypto-rng.0.8.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed mirage-crypto-rng.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:53.13 ---> saved as "1643059c17921a755d9bfd38c37937960a2dd0777252b8b016df95088c22094b"

/home/opam: (run (shell  "opam reinstall --with-test --verbose mirage-crypto-rng.0.8.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\" != 'mirage-crypto-rng.0.8.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 mirage-crypto-rng 0.8.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [mirage-crypto-rng.0.8.0: extract]
-> retrieved mirage-crypto-rng.0.8.0  (cached)
Processing  2/4: [mirage-crypto-rng: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto-rng" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mirage-crypto-rng.0.8.0)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/mirage-crypto -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/byte/mirage_crypto_rng__Fortuna.cmo -c -impl rng/fortuna.ml)
- File "rng/fortuna.ml", line 108, characters 38-49:
- 108 |   let header = Cs.of_bytes [ source ; Cstruct.len data ] in
-                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "rng/fortuna.ml", line 110, characters 50-61:
- 110 |   if pool = 0 then g.pool0_size <- g.pool0_size + Cstruct.len data
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/mirage-crypto -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/byte/mirage_crypto_rng__Entropy.cmo -c -impl rng/entropy.ml)
- File "rng/entropy.ml", line 74, characters 28-39:
- 74 |   Cstruct.set_uint8 data 1 (Cstruct.len data - 2)
-                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/native -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/mirage-crypto -cmi-file rng/.mirage_crypto_rng.objs/byte/mirage_crypto_rng__Fortuna.cmi -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/native/mirage_crypto_rng__Fortuna.cmx -c -impl rng/fortuna.ml)
- File "rng/fortuna.ml", line 108, characters 38-49:
- 108 |   let header = Cs.of_bytes [ source ; Cstruct.len data ] in
-                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "rng/fortuna.ml", line 110, characters 50-61:
- 110 |   if pool = 0 then g.pool0_size <- g.pool0_size + Cstruct.len data
-                                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/native -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/mirage-crypto -cmi-file rng/.mirage_crypto_rng.objs/byte/mirage_crypto_rng__Entropy.cmi -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/native/mirage_crypto_rng__Entropy.cmx -c -impl rng/entropy.ml)
- File "rng/entropy.ml", line 74, characters 28-39:
- 74 |   Cstruct.set_uint8 data 1 (Cstruct.len data - 2)
-                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing  2/4: [mirage-crypto-rng: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-crypto-rng" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mirage-crypto-rng.0.8.0)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I tests/.test_common.objs/byte -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/oUnit -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/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/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I tests/.test_random_runner.eobjs/byte -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/oUnit -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/randomconv -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/stdlib-shims -H rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I rng/unix/.mirage_crypto_rng_unix.objs/byte -I tests/.test_common.objs/byte -I tests/.test_common_random.objs/byte -no-alias-deps -o tests/.test_random_runner.eobjs/byte/test_random_runner.cmo -c -impl tests/test_random_runner.ml)
- File "tests/test_random_runner.ml", line 46, characters 56-67:
- 46 |       Cstruct.split data @@ bs * Randomconv.int ~bound:(Cstruct.len data / bs) Mirage_crypto_rng.generate in
-                                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I tests/.test_common.objs/byte -I tests/.test_common.objs/native -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/oUnit -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/stdlib-shims -cmi-file tests/.test_common.objs/byte/test_common.cmi -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/5.4/bin/ocamlopt.opt -w -40 -g -I tests/.test_random_runner.eobjs/byte -I tests/.test_random_runner.eobjs/native -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/oUnit -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/randomconv -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/stdlib-shims -H rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/native -I rng/.mirage_crypto_rng.objs/public_cmi -I rng/unix/.mirage_crypto_rng_unix.objs/byte -I rng/unix/.mirage_crypto_rng_unix.objs/native -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 -cmi-file tests/.test_random_runner.eobjs/byte/test_random_runner.cmi -no-alias-deps -o tests/.test_random_runner.eobjs/native/test_random_runner.cmx -c -impl tests/test_random_runner.ml)
- File "tests/test_random_runner.ml", line 46, characters 56-67:
- 46 |       Cstruct.split data @@ bs * Randomconv.int ~bound:(Cstruct.len data / bs) Mirage_crypto_rng.generate in
-                                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/tests && ./test_random_runner.exe)
- .........
- Ran: 9 tests in: 0.11 seconds.
- OK
-> compiled  mirage-crypto-rng.0.8.0
-> removed   mirage-crypto-rng.0.8.0
-> installed mirage-crypto-rng.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:53.17 ---> saved as "2e8c4b5efecc9c4704b9201f716c3526c518f6b3095d5a03581be5bc7f912b2f"
Job succeeded
2026-03-25 18:53.26: Job succeeded