(for PR #29530)

2026-03-17 10:25.57: New job: build lambda-term.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29530/head (395113449576622af70540fb22e5d90e18554bdc)
                              on ubuntu-24.04-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/29530/head" && git reset --hard 39511344
git fetch origin master
git merge --no-edit e589be2bb3f3c3428c9c98a122428f3ad2d44845
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9
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 lambda-term.2.0 2.0
RUN opam reinstall lambda-term.2.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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lambda-term.2.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.57: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9-lambda-term.2.0-395113449576622af70540fb22e5d90e18554bdc"
2026-03-17 10:25.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9)
 (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 lambda-term.2.0 2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lambda-term.2.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 \"\\\"ubuntu-24.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lambda-term.2.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.57: Waiting for resource in pool OCluster
2026-03-17 11:25.57: Waiting for worker…
2026-03-17 11:28.33: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files:  60% (11201/18444)
Updating files:  61% (11251/18444)
Updating files:  62% (11436/18444)
Updating files:  63% (11620/18444)
Updating files:  64% (11805/18444)
Updating files:  65% (11989/18444)
Updating files:  66% (12174/18444)
Updating files:  67% (12358/18444)
Updating files:  68% (12542/18444)
Updating files:  69% (12727/18444)
Updating files:  70% (12911/18444)
Updating files:  71% (13096/18444)
Updating files:  72% (13280/18444)
Updating files:  73% (13465/18444)
Updating files:  74% (13649/18444)
Updating files:  75% (13833/18444)
Updating files:  76% (14018/18444)
Updating files:  77% (14202/18444)
Updating files:  78% (14387/18444)
Updating files:  79% (14571/18444)
Updating files:  80% (14756/18444)
Updating files:  81% (14940/18444)
Updating files:  82% (15125/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:ubuntu-24.04-ocaml-4.14@sha256:20f4d4edab556ed4501c06fc3160c6c1260d733139a037d42e824330bc951ad9)
2026-03-17 11:28.59 ---> saved as "cf0c2304b83e3fa1f5fb18527b7515c7861c7333dfe7346189be395de143519f"

/: (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 11:29.00 ---> saved as "92a62f424af154117e6dee3e95431a4a1815e3efaac403a24f6730baa5ff8c5e"

/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.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] Initialised
2026-03-17 11:29.51 ---> saved as "3a15de86ce668ff98b3ac1daa2c22d412aa027de3f4edf8f61e779fece29f941"

/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=ubuntu os-version=24.04
# 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.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
2026-03-17 11:29.53 ---> saved as "d5b831ae5985fe8733b5b0efbb8d7d2e2878a9e7d501d56fd6e95d404c87c6e5"

/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 11:30.15 ---> saved as "af7ee4ba54152b1966121887ed7a6016ad78996b5a215edb62567da9e3defe03"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-17 11:30.36 ---> saved as "cde858724ab373a54e2a321f135ff831aadee109bf3f47f086ff918d4775d4d4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-17 11:31.15 ---> saved as "48472d571c0d5a37b88c7e7af55f4f2bbeef5db8cbc3bdba537ea6e73f6ffc8d"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3577 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2027 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2322 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [695 B]
- Get:9 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.5 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1261 kB]
- Get:12 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3406 kB]
- Get:13 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1942 kB]
- Fetched 15.0 MB in 2s (6518 kB/s)
- Reading package lists...
- 
2026-03-17 11:31.19 ---> saved as "c9784a8e0c10bf52fbd015014a03483ba455ac2200c966a75361781e2a31371d"

/home/opam: (run (shell "opam pin add -k version -yn lambda-term.2.0 2.0"))
lambda-term is now pinned to version 2.0
2026-03-17 11:31.20 ---> saved as "1e144b9f72c5405aa9916cd1a2b7e2189d85d861f14bc76d1de4da6cc07ae10d"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lambda-term.2.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 \"\\\"ubuntu-24.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lambda-term.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lambda-term.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 18 packages
  - install base-bytes        base         [required by zed]
  - install camomile          1.0.2        [required by lambda-term]
  - install charInfo_width    1.1.0        [required by zed]
  - install cppo              1.8.0        [required by lwt, lwt_react]
  - install csexp             1.5.2        [required by dune-configurator]
  - install dune              3.21.1       [required by lambda-term]
  - install dune-configurator 3.21.1       [required by lwt]
  - install lambda-term       2.0 (pinned)
  - install lwt               5.9.2        [required by lambda-term]
  - install lwt_log           1.1.2        [required by lambda-term]
  - install lwt_react         1.2.0        [required by lambda-term]
  - install ocamlbuild        0.16.1       [required by react]
  - install ocamlfind         1.9.8        [required by react]
  - install ocplib-endian     1.2          [required by lwt]
  - install react             1.2.2        [required by lambda-term]
  - install result            1.5          [required by charInfo_width]
  - install topkg             1.1.1        [required by react]
  - install zed               2.0.7        [required by lambda-term]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camomile.1.0.2  (cached)
-> retrieved charInfo_width.1.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1  (cached)
-> retrieved lambda-term.2.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved lwt_react.1.2.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved zed.2.0.7  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed react.1.2.2
-> installed dune.3.21.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 camomile.1.0.2
-> installed charInfo_width.1.1.0
-> installed lwt.5.9.2
-> installed zed.2.0.7
-> installed lwt_log.1.1.2
-> installed lwt_react.1.2.0
-> installed lambda-term.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-17 11:32.18 ---> saved as "2334c1d4cee74f830850dfa57b82f70ab6205f1def02c9fe1b2d09f02af76555"
Job succeeded
2026-03-17 11:32.26: Job succeeded