(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.0
                              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.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn metadata.0.3.1 0.3.1
RUN opam depext metadata.0.3.1 && 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 depext --with-test metadata.0.3.1 && opam reinstall --with-test metadata.0.3.1) || true
RUN opam depext --with-test metadata.0.3.1 && 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.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || 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 depext metadata.0.3.1 && 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 depext --with-test metadata.0.3.1 && opam reinstall --with-test metadata.0.3.1) || true"))
 (run (shell  "opam depext --with-test metadata.0.3.1 && 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.32: Waiting for worker…
2025-04-02 06:35.38: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
Updating files:  66% (15068/22765)
Updating files:  67% (15253/22765)
Updating files:  68% (15481/22765)
Updating files:  69% (15708/22765)
Updating files:  70% (15936/22765)
Updating files:  71% (16164/22765)
Updating files:  72% (16391/22765)
Updating files:  73% (16619/22765)
Updating files:  74% (16847/22765)
Updating files:  75% (17074/22765)
Updating files:  76% (17302/22765)
Updating files:  77% (17530/22765)
Updating files:  78% (17757/22765)
Updating files:  79% (17985/22765)
Updating files:  80% (18212/22765)
Updating files:  81% (18440/22765)
Updating files:  82% (18668/22765)
Updating files:  83% (18895/22765)
Updating files:  84% (19123/22765)
Updating files:  85% (19351/22765)
Updating files:  86% (19578/22765)
Updating files:  87% (19806/22765)
Updating files:  88% (20034/22765)
Updating files:  89% (20261/22765)
Updating files:  90% (20489/22765)
Updating files:  91% (20717/22765)
Updating files:  92% (20944/22765)
Updating files:  93% (21172/22765)
Updating files:  94% (21400/22765)
Updating files:  95% (21627/22765)
Updating files:  96% (21855/22765)
Updating files:  97% (22083/22765)
Updating files:  98% (22310/22765)
Updating files:  99% (22538/22765)
Updating files: 100% (22765/22765)
Updating files: 100% (22765/22765), done.
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:35.40 ---> using "b617ded97c02792844cd815fc0d5dbfa5315de7a9ffc498142bf1c821d4cda58" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-04-02 06:35.40 ---> using "831c3d6f638f3ddb4f713dbae08edb986a1c4ff12060e1f1e214b0125371d573" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-04-02 06:36.17 ---> saved as "c174a55e29829b903c4f3971d64bd78d4c97b3e5833fa8ebc0bcf5ac5fea9310"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=12
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              39
# repositories      1 (local)
# pinned            1 (version)
# current-switch    4.14
2025-04-02 06:36.17 ---> saved as "7ab4057950d1d643e43739b3aa3713fc21724ff1a508bfc77288ebd56d47635b"

/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:36.25 ---> saved as "37e1fea13ae018462cff8c1bfccf58184cea4690ab7078eef41faf7b2fb7dc73"

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-02 06:36.30 ---> saved as "3a707927515feb4c88b92fe97c961f082ccd3e6aadb88aefed4c9b436aa7ce7a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-04-02 06:36.48 ---> saved as "185baab437e12a5fd16ec73c0abfdb55f3319d0b80904b33d18d844341bba9f8"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (454 kB/s)
Reading package lists...
# OS package update successful
2025-04-02 06:36.50 ---> saved as "dbc2bbb1e48c4c5629d40731de6bee6c49b141c368ebf88c829343867038f01a"

/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:36.50 ---> saved as "b5877a007a1c3aa7fea332a8e3787bed3b994e5d775b0fcb08bce6ec51cdd5be"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext metadata.0.3.1 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
metadata.0.3.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune     3.17.2 [required by metadata]
  - install metadata 0.3.1*
===== 2 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.17.2] found in cache
[metadata.0.3.1] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> 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:37.30 ---> saved as "ec064c4f0d38f780e76f21d1ecd8a1e9ce049783a65cc72fbcc2f079c640c4a8"

/home/opam: (run (network host)
                 (shell "(opam depext --with-test metadata.0.3.1 && opam reinstall --with-test metadata.0.3.1) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
  - recompile metadata 0.3.1*

<><> 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:37.49 ---> saved as "3866586e56d26d6ab19efdb14535d13df216b4723dc979c1316c80d21d8ddf8c"

/home/opam: (run (shell  "opam depext --with-test metadata.0.3.1 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following actions will be performed:
  - recompile metadata 0.3.1*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [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:38.05 ---> saved as "01840239a4dc29fbbfd9e01da2cd99f09486f96a34133757505c0e0f80ed6052"
Job succeeded
2025-04-02 06:38.14: Job succeeded