Build:
  1. 0
2026-03-15 22:17.23: New job: test mirage-crypto.2.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29545/head (92ac98ea1e1161e7086c63a9e1f5044d689da1ea)
                              on ubuntu-24.04-ocaml-5.4/riscv64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29545/head" && git reset --hard 92ac98ea
git fetch origin master
git merge --no-edit 4f056bfedf536e66065c3783e694e6aa0b38261a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9534e16a075fa4c76ec55a6786e09700cf96d0e0fef84fe362e9bb62bd6fcddd
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn mirage-crypto.2.1.0 2.1.0
RUN opam reinstall mirage-crypto.2.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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'mirage-crypto.2.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 mirage-crypto.2.1.0) || true
RUN opam reinstall --with-test --verbose mirage-crypto.2.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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'mirage-crypto.2.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 .

2026-03-15 22:17.23: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9534e16a075fa4c76ec55a6786e09700cf96d0e0fef84fe362e9bb62bd6fcddd-mirage-crypto.2.1.0-92ac98ea1e1161e7086c63a9e1f5044d689da1ea"
2026-03-15 22:17.23: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9534e16a075fa4c76ec55a6786e09700cf96d0e0fef84fe362e9bb62bd6fcddd)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn mirage-crypto.2.1.0 2.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-crypto.2.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 \"\\\"ubuntu-24.04\\\"\"; 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.2.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 mirage-crypto.2.1.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose mirage-crypto.2.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 \"\\\"ubuntu-24.04\\\"\"; 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.2.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"))
)

2026-03-15 22:17.23: Waiting for resource in pool OCluster
2026-03-15 22:17.23: Waiting for worker…
2026-03-16 07:01.29: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
All commits already cached
Updating files:  13% (2432/18450)
Updating files:  14% (2583/18450)
Updating files:  15% (2768/18450)
Updating files:  16% (2952/18450)
Updating files:  17% (3137/18450)
Updating files:  18% (3321/18450)
Updating files:  19% (3506/18450)
Updating files:  20% (3690/18450)
Updating files:  21% (3875/18450)
Updating files:  22% (4059/18450)
Updating files:  23% (4244/18450)
Updating files:  24% (4428/18450)
Updating files:  25% (4613/18450)
Updating files:  26% (4797/18450)
Updating files:  26% (4884/18450)
Updating files:  27% (4982/18450)
Updating files:  28% (5166/18450)
Updating files:  29% (5351/18450)
Updating files:  30% (5535/18450)
Updating files:  31% (5720/18450)
Updating files:  32% (5904/18450)
Updating files:  33% (6089/18450)
Updating files:  34% (6273/18450)
Updating files:  35% (6458/18450)
Updating files:  36% (6642/18450)
Updating files:  37% (6827/18450)
Updating files:  38% (7011/18450)
Updating files:  39% (7196/18450)
Updating files:  40% (7380/18450)
Updating files:  40% (7453/18450)
Updating files:  41% (7565/18450)
Updating files:  42% (7749/18450)
Updating files:  43% (7934/18450)
Updating files:  44% (8118/18450)
Updating files:  45% (8303/18450)
Updating files:  46% (8487/18450)
Updating files:  47% (8672/18450)
Updating files:  48% (8856/18450)
Updating files:  49% (9041/18450)
Updating files:  50% (9225/18450)
Updating files:  51% (9410/18450)
Updating files:  52% (9594/18450)
Updating files:  52% (9765/18450)
Updating files:  53% (9779/18450)
Updating files:  54% (9963/18450)
Updating files:  55% (10148/18450)
Updating files:  56% (10332/18450)
Updating files:  57% (10517/18450)
Updating files:  58% (10701/18450)
Updating files:  59% (10886/18450)
Updating files:  60% (11070/18450)
Updating files:  61% (11255/18450)
Updating files:  62% (11439/18450)
Updating files:  63% (11624/18450)
Updating files:  64% (11808/18450)
Updating files:  65% (11993/18450)
Updating files:  65% (12082/18450)
Updating files:  66% (12177/18450)
Updating files:  67% (12362/18450)
Updating files:  68% (12546/18450)
Updating files:  69% (12731/18450)
Updating files:  70% (12915/18450)
Updating files:  71% (13100/18450)
Updating files:  72% (13284/18450)
Updating files:  73% (13469/18450)
Updating files:  74% (13653/18450)
Updating files:  75% (13838/18450)
Updating files:  76% (14022/18450)
Updating files:  77% (14207/18450)
Updating files:  77% (14334/18450)
Updating files:  78% (14391/18450)
Updating files:  79% (14576/18450)
Updating files:  80% (14760/18450)
Updating files:  81% (14945/18450)
Updating files:  82% (15129/18450)
Updating files:  83% (15314/18450)
Updating files:  84% (15498/18450)
Updating files:  85% (15683/18450)
Updating files:  86% (15867/18450)
Updating files:  87% (16052/18450)
Updating files:  88% (16236/18450)
Updating files:  89% (16421/18450)
Updating files:  90% (16605/18450)
Updating files:  90% (16651/18450)
Updating files:  91% (16790/18450)
Updating files:  92% (16974/18450)
Updating files:  93% (17159/18450)
Updating files:  94% (17343/18450)
Updating files:  95% (17528/18450)
Updating files:  96% (17712/18450)
Updating files:  97% (17897/18450)
Updating files:  98% (18081/18450)
Updating files:  99% (18266/18450)
Updating files: 100% (18450/18450)
Updating files: 100% (18450/18450), done.
HEAD is now at 4f056bfedf Merge pull request #29543 from Zaneham/add-olint-0.1.0
Updating 4f056bfedf..92ac98ea1e
Fast-forward
 .../mirage-crypto-ec/mirage-crypto-ec.2.1.0/opam   | 62 ++++++++++++++++++++++
 .../mirage-crypto-pk/mirage-crypto-pk.2.1.0/opam   | 43 +++++++++++++++
 .../mirage-crypto-rng-miou-unix.2.1.0/opam         | 39 ++++++++++++++
 .../mirage-crypto-rng-mirage.2.1.0/opam            | 40 ++++++++++++++
 .../mirage-crypto-rng-mkernel.2.1.0/opam           | 38 +++++++++++++
 .../mirage-crypto-rng/mirage-crypto-rng.2.1.0/opam | 42 +++++++++++++++
 packages/mirage-crypto/mirage-crypto.2.1.0/opam    | 39 ++++++++++++++
 7 files changed, 303 insertions(+)
 create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.1.0/opam
 create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.1.0/opam
 create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.1.0/opam
 create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.1.0/opam
 create mode 100644 packages/mirage-crypto-rng-mkernel/mirage-crypto-rng-mkernel.2.1.0/opam
 create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.1.0/opam
 create mode 100644 packages/mirage-crypto/mirage-crypto.2.1.0/opam

(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9534e16a075fa4c76ec55a6786e09700cf96d0e0fef84fe362e9bb62bd6fcddd)
2026-03-16 07:01.40 ---> using "3838290aeb2e77a14b79098bdc4a7e2e5089e4c737e7a54145a0c3c14aeec1a4" 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-16 07:01.40 ---> using "29ae9153229731288fec61e145d8d1c3044e0c006df483917895146891c7cb70" from cache

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

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

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-16 07:01.40 ---> using "ce51ccaac95a009bce01ad917125f72011d650a5c75896120abf19d4e3fc790b" 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=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# 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-16 07:01.40 ---> using "21827d99a93eeed913fa586e2ce56352fb3bde4cb0e7f8a5773bdf30314693c9" 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-16 07:01.40 ---> using "597b13c91eae7076a0615c82c46432f5c31883c72375ef32bffba343860fa713" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-16 07:01.46 ---> using "90e34880d8e4f220f933175ded53285fbd51d08894263dba10566c9ca2fd6c20" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-16 07:01.46 ---> using "af186c8a7ebe2fac0a04702f330b3badb528bf3f102c0b2ce6daffcb30a311a2" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [11.0 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [945 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1525 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [49.4 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.5 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-backports/multiverse riscv64 Packages [695 B]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [973 kB]
- Get:12 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [619 kB]
- Get:13 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [8714 B]
- Fetched 4539 kB in 2s (2087 kB/s)
- Reading package lists...
- 
2026-03-16 07:01.46 ---> using "66d351bc5cce770c9f3a8bd28b00d0e7ed2c8118cb7e04624e93bf68312d9a28" from cache

/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto.2.1.0 2.1.0"))
mirage-crypto is now pinned to version 2.1.0
2026-03-16 07:01.46 ---> using "e4c95d4ac6feca7d4d05ec21ad328a74d1319ba93c838409666572515fc02789" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-crypto.2.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 \"\\\"ubuntu-24.04\\\"\"; 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.2.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"))
mirage-crypto.2.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 5 packages
  - install csexp             1.5.2          [required by dune-configurator]
  - install dune              3.21.1         [required by mirage-crypto]
  - install dune-configurator 3.21.1         [required by mirage-crypto]
  - install eqaf              0.10           [required by mirage-crypto]
  - install mirage-crypto     2.1.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved mirage-crypto.2.1.0  (https://github.com/mirage/mirage-crypto/releases/download/v2.1.0/mirage-crypto-2.1.0.tbz)
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed dune-configurator.3.21.1
-> installed mirage-crypto.2.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-16 07:01.46 ---> using "e41155cb75423d3a5a1beab96a7bd790f3c12e103849ee5fc4d0dcc2d14e23de" from cache

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test mirage-crypto.2.1.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile mirage-crypto 2.1.0 (pinned)
=== install 4 packages
  - install   ohex          0.2.0          [required by mirage-crypto]
  - install   ounit2        2.2.7          [required by mirage-crypto]
  - install   seq           base           [required by ounit2]
  - install   stdlib-shims  0.3.0          [required by ounit2]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ohex.0.2.0  (https://opam.ocaml.org/cache)
-> retrieved ounit2.2.2.7  (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 ohex.0.2.0
-> removed   mirage-crypto.2.1.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed mirage-crypto.2.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-16 07:02.38 ---> saved as "016ecf9ac4adae9f7fc4ce373e42763dea2570cf2fb73ee130df83d5102d2abe"

/home/opam: (run (shell  "opam reinstall --with-test --verbose mirage-crypto.2.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 \"\\\"ubuntu-24.04\\\"\"; 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.2.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 mirage-crypto 2.1.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [mirage-crypto: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "3" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mirage-crypto.2.1.0)
Processing  2/4: [mirage-crypto: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "mirage-crypto" "-j" "3" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mirage-crypto.2.1.0)
- (cd _build/default/tests && ./test_symmetric_runner.exe)
- accel: 
- ................................................................
- Ran: 64 tests in: 0.19 seconds.
- OK
-> compiled  mirage-crypto.2.1.0
-> removed   mirage-crypto.2.1.0
-> installed mirage-crypto.2.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-16 07:03.15 ---> saved as "2404d9182fa7585aba53a81735b347c690bcecd7e1f50a2d047e45f3f4609d8f"
Job succeeded
2026-03-16 07:03.50: Job succeeded