(for PR #29530)

2026-03-17 10:25.48: New job: build lwt_ppx.2.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29530/head (395113449576622af70540fb22e5d90e18554bdc)
                              on debian-13-ocaml-4.11/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/29530/head" && git reset --hard 39511344
git fetch origin master
git merge --no-edit e589be2bb3f3c3428c9c98a122428f3ad2d44845
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b
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 lwt_ppx.2.0.0 2.0.0
RUN opam reinstall lwt_ppx.2.0.0; \
    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" != 'lwt_ppx.2.0.0' && 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-03-17 10:25.48: Using cache hint "ocaml/opam:debian-13-ocaml-4.11@sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b-lwt_ppx.2.0.0-395113449576622af70540fb22e5d90e18554bdc"
2026-03-17 10:25.48: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b)
 (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 lwt_ppx.2.0.0 2.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_ppx.2.0.0;\
             \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\" != 'lwt_ppx.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-17 10:25.48: Waiting for resource in pool OCluster
2026-03-17 10:34.53: Waiting for worker…
2026-03-17 10:36.11: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files:  82% (15203/18444)
Updating files:  83% (15309/18444)
Updating files:  84% (15493/18444)
Updating files:  85% (15678/18444)
Updating files:  86% (15862/18444)
Updating files:  87% (16047/18444)
Updating files:  88% (16231/18444)
Updating files:  89% (16416/18444)
Updating files:  90% (16600/18444)
Updating files:  91% (16785/18444)
Updating files:  92% (16969/18444)
Updating files:  93% (17153/18444)
Updating files:  94% (17338/18444)
Updating files:  95% (17522/18444)
Updating files:  96% (17707/18444)
Updating files:  97% (17891/18444)
Updating files:  98% (18076/18444)
Updating files:  99% (18260/18444)
Updating files: 100% (18444/18444)
Updating files: 100% (18444/18444), done.
HEAD is now at e589be2bb3 Merge pull request #29546 from johnwhitington/opam-publish-camlpdf.2.9
Merge made by the 'ort' strategy.
 packages/bimage-lwt/bimage-lwt.0.3.0/opam    | 6 +++++-
 packages/bimage-lwt/bimage-lwt.0.3.1/opam    | 6 +++++-
 packages/bimage-lwt/bimage-lwt.0.4.0/opam    | 6 +++++-
 packages/caqti-lwt/caqti-lwt.0.11.0/opam     | 4 +++-
 packages/caqti-lwt/caqti-lwt.1.0.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.2.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.3.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.6.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.7.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.8.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.1.9.0/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.2.0.1/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.2.1.1/opam      | 6 +++++-
 packages/caqti-lwt/caqti-lwt.2.2.4/opam      | 6 +++++-
 packages/fuseau-lwt/fuseau-lwt.0.1/opam      | 6 +++++-
 packages/lambda-term/lambda-term.1.13/opam   | 6 +++++-
 packages/lambda-term/lambda-term.2.0.1/opam  | 6 +++++-
 packages/lambda-term/lambda-term.2.0.2/opam  | 6 +++++-
 packages/lambda-term/lambda-term.2.0.3/opam  | 6 +++++-
 packages/lambda-term/lambda-term.2.0/opam    | 6 +++++-
 packages/lambda-term/lambda-term.3.0.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.0.1/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.1.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.2.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.3.0/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.3.1/opam  | 6 +++++-
 packages/lambda-term/lambda-term.3.3.2/opam  | 6 +++++-
 packages/lwt_domain/lwt_domain.0.1.0/opam    | 6 +++++-
 packages/lwt_domain/lwt_domain.0.2.0/opam    | 6 +++++-
 packages/lwt_domain/lwt_domain.0.3.0/opam    | 6 +++++-
 packages/lwt_eio/lwt_eio.0.1/opam            | 6 +++++-
 packages/lwt_eio/lwt_eio.0.2/opam            | 6 +++++-
 packages/lwt_eio/lwt_eio.0.3/opam            | 6 +++++-
 packages/lwt_eio/lwt_eio.0.4/opam            | 7 ++++++-
 packages/lwt_eio/lwt_eio.0.5.1/opam          | 7 ++++++-
 packages/lwt_eio/lwt_eio.0.5/opam            | 7 ++++++-
 packages/lwt_glib/lwt_glib.1.0.1/opam        | 6 +++++-
 packages/lwt_glib/lwt_glib.1.1.0/opam        | 6 +++++-
 packages/lwt_glib/lwt_glib.1.1.1/opam        | 6 +++++-
 packages/lwt_log/lwt_log.1.1.0/opam          | 6 +++++-
 packages/lwt_log/lwt_log.1.1.1/opam          | 6 +++++-
 packages/lwt_log/lwt_log.1.1.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.0.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.0.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.1.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.3/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.1.2.4/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.0.3/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.2.1.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.8.0/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.8.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.9.1/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.9.2/opam          | 6 +++++-
 packages/lwt_ppx/lwt_ppx.5.9.3/opam          | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.10/opam | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.6/opam  | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.7/opam  | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.8/opam  | 6 +++++-
 packages/moonpool-lwt/moonpool-lwt.0.9/opam  | 6 +++++-
 packages/mwt/mwt.0.1.0/opam                  | 6 +++++-
 packages/nocrypto/nocrypto.0.5.4-1/opam      | 6 +++++-
 packages/nocrypto/nocrypto.0.5.4-2/opam      | 6 +++++-
 packages/ocluster/ocluster.0.1/opam          | 4 +++-
 packages/ocluster/ocluster.0.2.1/opam        | 6 +++++-
 packages/ocluster/ocluster.0.2/opam          | 4 +++-
 packages/ocluster/ocluster.0.3.0/opam        | 6 +++++-
 packages/picos/picos.0.3.0/opam              | 6 +++++-
 packages/picos/picos.0.4.0/opam              | 6 +++++-
 packages/picos_lwt/picos_lwt.0.5.0/opam      | 6 +++++-
 packages/picos_lwt/picos_lwt.0.6.0/opam      | 6 +++++-
 packages/tezt/tezt.2.0.0/opam                | 6 +++++-
 packages/tezt/tezt.3.0.0/opam                | 4 +++-
 packages/tezt/tezt.3.1.0/opam                | 4 +++-
 packages/tezt/tezt.3.1.1/opam                | 4 +++-
 packages/tezt/tezt.4.0.0/opam                | 4 +++-
 packages/tezt/tezt.4.1.0/opam                | 4 +++-
 packages/tezt/tezt.4.2.0/opam                | 4 +++-
 packages/tezt/tezt.4.3.0/opam                | 4 +++-
 84 files changed, 403 insertions(+), 84 deletions(-)

(from ocaml/opam:debian-13-ocaml-4.11@sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b' locally
docker.io/ocaml/opam@sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b: Pulling from ocaml/opam
cb66b8855cff: Already exists
Digest: sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b
Status: Downloaded newer image for ocaml/opam@sha256:c4720a1541c7e13cbe9d9fe6a00dc203b92b7b6c25342d84da411f7666aecf1b
2026-03-17 10:36.34 ---> using "e718267daaed0c81bd2c116c7528c1a98fa754d32b0f20327a0e756a13a6d501" 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-03-17 10:36.34 ---> using "fe95ef4311f57852ef500919d2cc27e6cd0d3ba0787ee7c44910ce307ba73e75" 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.

Continue? [Y/n] y
Format upgrade done.
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-17 10:36.41 ---> saved as "9c0d77b6b7a8347662eb1cd1f7dcb960a57d7b328c4af0ee08f8834924cfa530"

/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=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       4.11
# invariant            ["ocaml-base-compiler" {= "4.11.2"}]
# compiler-packages    ocaml-base-compiler.4.11.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.11/lib/ocaml/stublibs:/home/opam/.opam/4.11/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.11.2
2026-03-17 10:36.42 ---> saved as "2c55d7f8351433d4ac4567fecba14183f054c0f61a275d0b9c0f774a7a1439ca"

/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-03-17 10:36.56 ---> saved as "b6cda592bff64f7d4a0acc9c22549a7781727d16178c5f6d9e13802d4be3341c"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-17 10:37.18 ---> saved as "009b01c43029799b4f168264d4377a308ab5e04be9d3050c38fa41f2d5b85eaa"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-17 10:37.39 ---> saved as "0c32c1ac7a08dca509796ceaed90ea63e94834aecf364ada39dc88a98badc6db"

/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 [111 kB]
- Fetched 10.0 MB in 1s (6828 kB/s)
- Reading package lists...
- 
2026-03-17 10:37.43 ---> saved as "d359f65f09b85b44bf53a31049e73cf2effc9881538709b8a72b08c17190eab4"

/home/opam: (run (shell "opam pin add -k version -yn lwt_ppx.2.0.0 2.0.0"))
lwt_ppx is now pinned to version 2.0.0
2026-03-17 10:37.44 ---> saved as "3b30022943ea15f6d5ac1248ffff0e1c19b8e65d953cc4627e6c3750a6e70554"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_ppx.2.0.0;\
                        \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\" != 'lwt_ppx.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt_ppx.2.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
  - install base-bytes              base               [required by ocplib-endian]
  - install cppo                    1.8.0              [required by lwt]
  - install csexp                   1.5.2              [required by dune-configurator]
  - install dune                    3.21.1             [required by lwt_ppx]
  - install dune-configurator       3.21.1             [required by lwt]
  - install lwt                     5.9.2              [required by lwt_ppx]
  - install lwt_ppx                 2.0.0 (pinned)
  - install ocaml-migrate-parsetree 1.8.0 (deprecated) [required by lwt_ppx]
  - install ocamlfind               1.9.8              [required by base-bytes]
  - install ocplib-endian           1.2                [required by lwt]
  - install ppx_derivers            1.2.1              [required by ocaml-migrate-parsetree]
  - install ppx_tools_versioned     5.4.0              [required by lwt_ppx]
  - install result                  1.5                [required by ocaml-migrate-parsetree]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved lwt_ppx.2.0.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_tools_versioned.5.4.0  (cached)
-> retrieved result.1.5  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.21.1
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.21.1
-> installed lwt.5.9.2
-> installed ocaml-migrate-parsetree.1.8.0
-> installed ppx_tools_versioned.5.4.0
-> installed lwt_ppx.2.0.0
Done.

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2026-03-17 10:38.45 ---> saved as "777faf48366c3b5c23c511ef3dbc23c500f0498ee2a3df1981ae4f4b37c6af31"
Job succeeded
2026-03-17 10:38.52: Job succeeded