(for PR #29368)

2026-02-10 15:24.03: New job: build mirage-crypto-rng-miou-unix.2.0.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29368/head (66e177c9ccf11298b53a7c2c24dada57dd487d9b)
                              on ubuntu-24.04-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/29368/head" && git reset --hard 66e177c9
git fetch origin master
git merge --no-edit f4c12add9cacd610d7ec6cc9fcb057902ca0a0f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6
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-rng-miou-unix.2.0.3 2.0.3
RUN opam reinstall mirage-crypto-rng-miou-unix.2.0.3; \
    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-rng-miou-unix.2.0.3' && 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-02-10 15:24.03: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6-mirage-crypto-rng-miou-unix.2.0.3-66e177c9ccf11298b53a7c2c24dada57dd487d9b"
2026-02-10 15:24.03: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6)
 (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-rng-miou-unix.2.0.3 2.0.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-crypto-rng-miou-unix.2.0.3;\
             \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-rng-miou-unix.2.0.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-10 15:24.03: Waiting for resource in pool OCluster
2026-02-10 15:26.35: Waiting for worker…
2026-02-10 15:30.15: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  67% (13157/19367)
Updating files:  68% (13170/19367)
Updating files:  69% (13364/19367)
Updating files:  70% (13557/19367)
Updating files:  71% (13751/19367)
Updating files:  72% (13945/19367)
Updating files:  73% (14138/19367)
Updating files:  74% (14332/19367)
Updating files:  75% (14526/19367)
Updating files:  76% (14719/19367)
Updating files:  77% (14913/19367)
Updating files:  78% (15107/19367)
Updating files:  79% (15300/19367)
Updating files:  80% (15494/19367)
Updating files:  81% (15688/19367)
Updating files:  82% (15881/19367)
Updating files:  83% (16075/19367)
Updating files:  84% (16269/19367)
Updating files:  85% (16462/19367)
Updating files:  86% (16656/19367)
Updating files:  87% (16850/19367)
Updating files:  88% (17043/19367)
Updating files:  89% (17237/19367)
Updating files:  90% (17431/19367)
Updating files:  91% (17624/19367)
Updating files:  92% (17818/19367)
Updating files:  93% (18012/19367)
Updating files:  94% (18205/19367)
Updating files:  95% (18399/19367)
Updating files:  96% (18593/19367)
Updating files:  97% (18786/19367)
Updating files:  98% (18980/19367)
Updating files:  99% (19174/19367)
Updating files: 100% (19367/19367)
Updating files: 100% (19367/19367), done.
HEAD is now at f4c12add9c Merge pull request #29362 from xvw/fix-primavera-ownership
Updating f4c12add9c..66e177c9cc
Fast-forward
 .../mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam   | 62 ++++++++++++++++++++++
 .../mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam   | 43 +++++++++++++++
 .../mirage-crypto-rng-miou-unix.2.0.3/opam         | 39 ++++++++++++++
 .../mirage-crypto-rng-mirage.2.0.3/opam            | 40 ++++++++++++++
 .../mirage-crypto-rng-mkernel.2.0.3/opam           | 38 +++++++++++++
 .../mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam | 42 +++++++++++++++
 packages/mirage-crypto/mirage-crypto.2.0.3/opam    | 39 ++++++++++++++
 7 files changed, 303 insertions(+)
 create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam
 create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-mkernel/mirage-crypto-rng-mkernel.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam
 create mode 100644 packages/mirage-crypto/mirage-crypto.2.0.3/opam

(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6' locally
docker.io/ocaml/opam@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6: Pulling from ocaml/opam
fbc4a9630f63: Pulling fs layer
6092190bee4d: Pulling fs layer
e5bef726d67c: Pulling fs layer
d970cf2b6f60: Pulling fs layer
829c9ccfbb29: Pulling fs layer
c4d449d401a8: Pulling fs layer
e7070c2fd9d4: Pulling fs layer
bc12d1026dd4: Pulling fs layer
829c9ccfbb29: Waiting
c4d449d401a8: Waiting
e7070c2fd9d4: Waiting
bc12d1026dd4: Waiting
d970cf2b6f60: Waiting
e5bef726d67c: Verifying Checksum
e5bef726d67c: Download complete
6092190bee4d: Verifying Checksum
6092190bee4d: Download complete
d970cf2b6f60: Verifying Checksum
d970cf2b6f60: Download complete
c4d449d401a8: Verifying Checksum
c4d449d401a8: Download complete
e7070c2fd9d4: Download complete
bc12d1026dd4: Verifying Checksum
bc12d1026dd4: Download complete
829c9ccfbb29: Verifying Checksum
829c9ccfbb29: Download complete
fbc4a9630f63: Verifying Checksum
fbc4a9630f63: Download complete
fbc4a9630f63: Pull complete
6092190bee4d: Pull complete
e5bef726d67c: Pull complete
d970cf2b6f60: Pull complete
829c9ccfbb29: Pull complete
c4d449d401a8: Pull complete
e7070c2fd9d4: Pull complete
bc12d1026dd4: Pull complete
Digest: sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6
Status: Downloaded newer image for ocaml/opam@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6
2026-02-10 15:30.23 ---> using "14826d7c7320d068898804f5ad29c794a3ac10bf25633fc671f98ac6b8bd132a" 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-02-10 15:30.23 ---> using "89a0b41eb15c5894b89ca968b03497c72c2cdbc352da3d11f3464fed131d5bb4" 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-02-10 15:30.23 ---> using "9fed87d229d000f71bcf6ca2f4c88978ec608563b5a41dfddd96ff4162f02c76" 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=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       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-02-10 15:30.23 ---> using "6414f223ad6974d8f0ddae502e8092bc3b9dd8b5045209f103faeb8a7c618b6c" 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-02-10 15:30.23 ---> using "71753b42638e61ef76f5bfaf306dee3d3c4cbe3eee7be27f44f14ebc6c071cb8" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 15:30.41 ---> saved as "94fd338f9b0f3fff127736c4ed29d2a67b73bd6d5580fbe4337e5f73ff76c533"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 15:31.15 ---> saved as "6665e78af097cc37ec98ca207705ffd6338872abe4b0413a20ee240018410a58"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3106 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1199 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1822 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2201 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1978 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3287 kB]
- Fetched 14.0 MB in 2s (8540 kB/s)
- Reading package lists...
- 
2026-02-10 15:31.19 ---> saved as "ca0ed0954a43cee970642451839a00bda9e1ed2eaef28e859a8ee961db00bc2a"

/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-rng-miou-unix.2.0.3 2.0.3"))
mirage-crypto-rng-miou-unix is now pinned to version 2.0.3
2026-02-10 15:31.20 ---> saved as "103cc1db659a3ec03928f697dc0880f970986cdbb7531428a0f5a6b7ebe01360"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-crypto-rng-miou-unix.2.0.3;\
                        \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-rng-miou-unix.2.0.3' && 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-miou-unix.2.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 15 packages
  - install csexp                       1.5.2          [required by dune-configurator]
  - install digestif                    1.3.0          [required by mirage-crypto-rng-miou-unix]
  - install dune                        3.21.0         [required by mirage-crypto-rng-miou-unix]
  - install dune-configurator           3.21.0         [required by miou, mirage-crypto-rng]
  - install duration                    0.2.1          [required by mirage-crypto-rng-miou-unix]
  - install eqaf                        0.10           [required by digestif]
  - install logs                        0.10.0         [required by mirage-crypto-rng-miou-unix]
  - install miou                        0.5.2          [required by mirage-crypto-rng-miou-unix]
  - install mirage-crypto               2.0.3          [required by mirage-crypto-rng]
  - install mirage-crypto-rng           2.0.3          [required by mirage-crypto-rng-miou-unix]
  - install mirage-crypto-rng-miou-unix 2.0.3 (pinned)
  - install mtime                       2.1.0          [required by mirage-crypto-rng-miou-unix]
  - install ocamlbuild                  0.16.1         [required by logs, mtime]
  - install ocamlfind                   1.9.8          [required by logs, mtime]
  - install topkg                       1.1.1          [required by logs, mtime]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved miou.0.5.2  (cached)
-> retrieved mirage-crypto.2.0.3, mirage-crypto-rng.2.0.3, mirage-crypto-rng-miou-unix.2.0.3  (https://github.com/mirage/mirage-crypto/releases/download/v2.0.3/mirage-crypto-2.0.3.tbz)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed mtime.2.1.0
-> installed dune.3.21.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed digestif.1.3.0
-> installed dune-configurator.3.21.0
-> installed miou.0.5.2
-> installed mirage-crypto.2.0.3
-> installed mirage-crypto-rng.2.0.3
-> installed mirage-crypto-rng-miou-unix.2.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 15:33.12 ---> saved as "031aaaa4d05ba8535fdbc00dd2b560e3da21e32f30a3868793a21fe23ad6e72d"
Job succeeded
2026-02-10 15:33.26: Job succeeded