(for PR #30024)

2026-06-11 12:33.26: New job: test store.0.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/30024/head (5e676ea2e692454adc3047e26da05e6d48e5bc39)
                              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/30024/head" && git reset --hard 5e676ea2
git fetch origin master
git merge --no-edit 2ff0588fe776da5f51ddb78e88261d3349b7b7a2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
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 store.0.2 0.2
RUN opam reinstall store.0.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'store.0.2' && 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 store.0.2) || true
RUN opam reinstall --with-test --verbose store.0.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'store.0.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 .

2026-06-11 12:33.26: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc-store.0.2-5e676ea2e692454adc3047e26da05e6d48e5bc39"
2026-06-11 12:33.26: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc)
 (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 store.0.2 0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall store.0.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-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\" != 'store.0.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 (network host)
      (shell "(opam reinstall --with-test store.0.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose store.0.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-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\" != 'store.0.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-06-11 12:33.26: Waiting for resource in pool OCluster
2026-06-11 12:33.27: Waiting for worker…
2026-06-11 12:33.27: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 2ff0588fe7 Merge pull request #30023 from Octachron/OCaml_5.5.0_rc1
Merge made by the 'ort' strategy.
 packages/store-dict/store-dict.0.1/opam           | 43 +++++++++++++++++++++++
 packages/store-pushqueue/store-pushqueue.0.1/opam | 43 +++++++++++++++++++++++
 packages/store/store.0.2/opam                     | 41 +++++++++++++++++++++
 3 files changed, 127 insertions(+)
 create mode 100644 packages/store-dict/store-dict.0.1/opam
 create mode 100644 packages/store-pushqueue/store-pushqueue.0.1/opam
 create mode 100644 packages/store/store.0.2/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc)
2026-06-11 12:33.53 ---> using "ac1995f8abd260285fd7f15d3dfa37a0c18d5abe2573e173c9117b295287210f" 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-06-11 12:33.53 ---> using "edae6225bd2e863b39286633b7b98ad6ba4035bf00b3e3423d8f9097f306a1cf" 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-06-11 12:33.53 ---> using "9a95938ae03e7f68a794800be883c451d747ae16434897f916688921b5c0ed05" 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.1
# 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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-06-11 12:33.53 ---> using "585fcd9c608ed110e3fce99c2962c4948bf4a0a9fe82375a70380addae291d6e" 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-06-11 12:33.53 ---> using "9bf03f929594508151e362a815b7bd3e287655fc5ff2f3a7e58fcf646b20fef0" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-06-11 12:33.58 ---> saved as "1ade1356bbebb46430afc978d96b5ba5ee1d45f3f067acabaf75d08a4ac7a6be"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-06-11 12:34.09 ---> saved as "af402798b85023560edbf8f0a446e6280dc63baeaf5944ac5eb7e440fcbe0696"

/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 [212 kB]
- Fetched 10.1 MB in 2s (6454 kB/s)
- Reading package lists...
- 
2026-06-11 12:34.11 ---> saved as "8a03728d929278d14a6618d0d0b6471ece7599f80320994da7e8bd6a3a729d3d"

/home/opam: (run (shell "opam pin add -k version -yn store.0.2 0.2"))
store is now pinned to version 0.2
2026-06-11 12:34.12 ---> saved as "8f5fde35fd33fdb3b74477d0e369c0e0c77f9be84e27229fd0e3ed1b0270e50b"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.1  (cached)
-> retrieved store.0.2  (cached)
-> installed dune.3.23.1
-> installed store.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-11 12:34.49 ---> saved as "f2efd228d52ec2667cc677b1764e61a0534e855a843dc12063640a4736e9f12c"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test store.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile store          0.2 (pinned)
=== install 3 packages
  - install   afl-persistent 1.4          [required by monolith]
  - install   monolith       20250922     [required by store]
  - install   pprint         20230830     [required by monolith]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (https://opam.ocaml.org/cache)
-> retrieved monolith.20250922  (https://opam.ocaml.org/cache)
-> installed afl-persistent.1.4
-> retrieved pprint.20230830  (https://opam.ocaml.org/cache)
-> removed   store.0.2
-> installed pprint.20230830
-> installed monolith.20250922
-> installed store.0.2
Done.

<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.

   To globally enable AFL instrumentation, create an OCaml switch like:

     opam switch create 5.4.1+afl ocaml-variants.5.4.1+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)
2026-06-11 12:34.56 ---> saved as "14b6e19f159c08e6e0ba0b9782ea2649f1fdcbb7359bedc7f157dbaec3e69c1c"

/home/opam: (run (shell  "opam reinstall --with-test --verbose store.0.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-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\" != 'store.0.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 store 0.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [store: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "store" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/store.0.2)
-> compiled  store.0.2
-> removed   store.0.2
-> installed store.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-11 12:35.01 ---> saved as "f035029d9bf207716f5e2ad0254cb16f49d79d5c997fa10126b06e822721b5e9"
Job succeeded
2026-06-11 12:35.10: Job succeeded