(not at the head of any monitored branch or PR)
2025-04-01 19:49.18: New job: test metadata.0.3.1, using opam 2.2
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27698/head (fd56df80ed95cbe760cf7d92ab5f337d6244e661)
                              on debian-12-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/27698/head" && git reset --hard fd56df80
git fetch origin master
git merge --no-edit 4d8fa0fb8fce3b6c8b06f29ebcfa844c292d4f3e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:f8002afc27455d9a42ad6e5ac109d5b3009a6a9e0c45f4a6e6165369724e9a6a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.2 /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 metadata.0.3.1 0.3.1
RUN opam reinstall metadata.0.3.1; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'metadata.0.3.1' && 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 metadata.0.3.1) || true
RUN opam reinstall --with-test --verbose metadata.0.3.1; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'metadata.0.3.1' && 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 .

2025-04-01 19:49.18: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:f8002afc27455d9a42ad6e5ac109d5b3009a6a9e0c45f4a6e6165369724e9a6a-metadata.0.3.1-fd56df80ed95cbe760cf7d92ab5f337d6244e661"
2025-04-01 19:49.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:f8002afc27455d9a42ad6e5ac109d5b3009a6a9e0c45f4a6e6165369724e9a6a)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 metadata.0.3.1 0.3.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall metadata.0.3.1;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'metadata.0.3.1' && 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 metadata.0.3.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose metadata.0.3.1;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-04-01 19:49.18: Waiting for resource in pool OCluster
2025-04-02 06:33.34: Waiting for worker…
2025-04-02 06:36.36: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 4d8fa0fb8f Merge pull request #27693 from hhugo/lwt-ppx
Updating 4d8fa0fb8f..fd56df80ed
Fast-forward
 packages/metadata/metadata.0.3.1/opam | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/metadata/metadata.0.3.1/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:f8002afc27455d9a42ad6e5ac109d5b3009a6a9e0c45f4a6e6165369724e9a6a)
2025-04-02 06:36.38 ---> using "b617ded97c02792844cd815fc0d5dbfa5315de7a9ffc498142bf1c821d4cda58" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2025-04-02 06:36.38 ---> using "346c2cb162b965e81ba6b637f329c7d13ec92d57fe47eb932f7d9a5ea684fd3d" 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 development 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] synchronised from file:///home/opam/opam-repository
2025-04-02 06:37.48 ---> saved as "7b695bb16e2fb600fb062a357d60624f3282c2d493fea69d29bb1fb8b4b248cf"

/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.2.1 (01e9a24a61e23e42d513b4b775d8c30c807439b2)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 39
# repositories         1 (local)
# pinned               1 (version)
# current-switch       4.14
# invariant            ocaml-base-compiler = 4.14.2
# compiler-packages    ocaml-base-compiler.4.14.2, 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.2
2025-04-02 06:37.49 ---> saved as "f654ce0fab364f43e3e586ab8b6bd94efdf7a0627f42e87b5ff749f1391fd084"

/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/"))
2025-04-02 06:37.55 ---> saved as "8929b02b5f59a1f18eb298ff6b5612d83378596f52ef50739f69d72d14a8d787"

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-02 06:38.02 ---> saved as "32dd750a9ec588510e38c268dcad1ff7b77f173630d630cd2c79e59fbf8888a0"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-02 06:38.43 ---> saved as "21961b1fe3a94b5631d780578dea783b253c6e59a4aebbbe677b5ec4401d23ad"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (511 kB/s)
- Reading package lists...
2025-04-02 06:38.44 ---> saved as "86d811e8082a1e1de3fb4e78eec4a713a8907168e297f463d36df91a57fe3a2f"

/home/opam: (run (shell "opam pin add -k version -yn metadata.0.3.1 0.3.1"))
metadata is now pinned to version 0.3.1
2025-04-02 06:38.45 ---> saved as "b1bdfa6cc510320b957dfd92f07804d4b5db434c1187fee457f68791dbc45143"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall metadata.0.3.1;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'metadata.0.3.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
metadata.0.3.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune     3.17.2         [required by metadata]
  - install metadata 0.3.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> retrieved metadata.0.3.1  (cached)
-> installed dune.3.17.2
-> installed metadata.0.3.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-02 06:39.19 ---> saved as "45589b14147a09d962d2c4a3450824eaf53d68d0c07d93235a85afb6345b109e"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test metadata.0.3.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile metadata 0.3.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   metadata.0.3.1
-> installed metadata.0.3.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-02 06:39.27 ---> saved as "1c6dd3c4484ec8a62b299bdf3b1a1e7153e96a77374b04c0e97d9c1458bdc5e2"

/home/opam: (run (shell  "opam reinstall --with-test --verbose metadata.0.3.1;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'metadata.0.3.1' && 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 metadata 0.3.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [metadata: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "metadata" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/metadata.0.3.1)
-> compiled  metadata.0.3.1
-> removed   metadata.0.3.1
-> installed metadata.0.3.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-02 06:39.34 ---> saved as "df11509477289ed91146162b6dec1da00ad6634a42071047b6d4d2a1115081e8"
Job succeeded
2025-04-02 06:39.43: Job succeeded