(for PR #30024)

2026-06-11 12:33.26: New job: build store.0.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/30024/head (5e676ea2e692454adc3047e26da05e6d48e5bc39)
                              on archlinux-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/30024/head" && git reset --hard 5e676ea2
git fetch origin master
git merge --no-edit 2ff0588fe776da5f51ddb78e88261d3349b7b7a2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-4.14@sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa
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 "\"archlinux\""; 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:archlinux-ocaml-4.14@sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa-store.0.2-5e676ea2e692454adc3047e26da05e6d48e5bc39"
2026-06-11 12:33.26: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa)
 (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 \"\\\"archlinux\\\"\"; 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.28: Waiting for worker…
2026-06-11 12:33.46: Got resource from pool OCluster
Building on asteria.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:archlinux-ocaml-4.14@sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa' locally
docker.io/ocaml/opam@sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa: Pulling from ocaml/opam
d4254956de0f: Already exists
67503bd63c15: Already exists
5d561568e48f: Already exists
1c1616bfd0f3: Already exists
cb6f551f9462: Already exists
2bcb650614de: Already exists
0a49aba78869: Already exists
cb1783ab02e6: Already exists
9a4478b2cc06: Already exists
aac2e5c2b4d6: Already exists
103cf00e1231: Already exists
2b30a79664b3: Already exists
6ec273942ce5: Already exists
ffab19e66076: Already exists
4f4fb700ef54: Already exists
7bd9b44d4daa: Already exists
281d67bc0c42: Already exists
adfa4fea2c23: Already exists
45e0c6d40710: Already exists
79898235451d: Already exists
468c8b591ccc: Already exists
834227585230: Already exists
b63cf45d9488: Already exists
6d8d8bb4e4e4: Already exists
175dd50559c6: Already exists
487500d4ca17: Already exists
63cc648198d6: Already exists
5de000926139: Already exists
a10082e3f821: Already exists
24c4102e6a46: Already exists
9b38d5ecdce9: Already exists
5c8a4f46857c: Already exists
2b7589f4a03b: Already exists
922945444664: Pulling fs layer
41b70ba4898b: Pulling fs layer
6bbacc3d915b: Pulling fs layer
6036e336f6fb: Pulling fs layer
90c3717cffad: Pulling fs layer
6036e336f6fb: Waiting
90c3717cffad: Waiting
6bbacc3d915b: Verifying Checksum
6bbacc3d915b: Download complete
6036e336f6fb: Verifying Checksum
6036e336f6fb: Download complete
90c3717cffad: Verifying Checksum
90c3717cffad: Download complete
922945444664: Verifying Checksum
922945444664: Download complete
922945444664: Pull complete
41b70ba4898b: Verifying Checksum
41b70ba4898b: Download complete
41b70ba4898b: Pull complete
6bbacc3d915b: Pull complete
6036e336f6fb: Pull complete
90c3717cffad: Pull complete
Digest: sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa
Status: Downloaded newer image for ocaml/opam@sha256:a7493eed336c1680996794df2c789c760716a9583adbb161453225685a888bfa
2026-06-11 12:36.50 ---> using "ec782022b5287b6909060a77578527e13930235965ad79e84e764376ec0f288a" 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:36.50 ---> using "ce3fc062a4511bf0e872a71c56bd7cebba775ea8b2ff960b208f7b2c9d023297" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository
2026-06-11 12:36.50 ---> using "3aabf41d5804842131c4e61ff2ef7f832552b8a3b7539847afc3b347916e8600" 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=arch os-version=20260531.0.538839
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.3
2026-06-11 12:36.50 ---> using "dff096cc10f63e9afe1c20639dffee510ae76d65ef3440ad8b802876539d2444" 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:36.50 ---> using "aacbf8e5dfd019fdca8eddd08e411a227330aea9742d953b4590c95ea212489f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-06-11 12:37.21 ---> saved as "9988c0e54b376ef911baff63cc424661cd19913f31dd19b0eaac5d651d512bb1"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2026-06-11 12:37.40 ---> saved as "670148b283c3cfd3cd46b37f526dce5ae55560b3d80efd5c21a8d1f3afdb709a"

/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:37.49 ---> saved as "38e9a24c2c99e1a6506d08eefe918aeb25a1fde3a60abb9e6e72136913e9ada9"

/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 \"\\\"archlinux\\\"\"; 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
  ∗ dune  3.23.1       [required by store]
  ∗ 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:38.32 ---> saved as "16fad54210989722c7dff2d443be37861285411d8a7a4b3cc467f4c1dc188b87"
Job succeeded
2026-06-11 12:41.23: Job succeeded