(for PR #29312)

2026-01-30 20:43.27: New job: build toffee.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29312/head (4219a994291bbd7606c64e62833ff523b0ca72c2)
                              on ubuntu-25.10-ocaml-5.4/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/29312/head" && git reset --hard 4219a994
git fetch origin master
git merge --no-edit 0758d335cb8d1367e501844fb86be0b07e4918ac
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4
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 toffee.0.1.0 0.1.0
RUN opam reinstall toffee.0.1.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-25.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'toffee.0.1.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-01-30 20:43.27: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4-toffee.0.1.0-4219a994291bbd7606c64e62833ff523b0ca72c2"
2026-01-30 20:43.27: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4)
 (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 toffee.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall toffee.0.1.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-25.10\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'toffee.0.1.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-01-30 20:43.27: Waiting for resource in pool OCluster
2026-01-30 20:57.21: Waiting for worker…
2026-01-30 21:00.07: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files:  92% (17876/19320)
Updating files:  93% (17968/19320)
Updating files:  94% (18161/19320)
Updating files:  95% (18354/19320)
Updating files:  96% (18548/19320)
Updating files:  97% (18741/19320)
Updating files:  98% (18934/19320)
Updating files:  99% (19127/19320)
Updating files: 100% (19320/19320)
Updating files: 100% (19320/19320), done.
HEAD is now at 0758d335cb Merge pull request #29298 from raphael-proust/opam-publish-lwt_ppx.5.9.3
Updating 0758d335cb..4219a99429
Fast-forward
 packages/matrix/matrix.0.1.0/opam | 42 +++++++++++++++++++++++++++++++++++
 packages/mosaic/mosaic.0.1.0/opam | 46 +++++++++++++++++++++++++++++++++++++++
 packages/toffee/toffee.0.1.0/opam | 41 ++++++++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+)
 create mode 100644 packages/matrix/matrix.0.1.0/opam
 create mode 100644 packages/mosaic/mosaic.0.1.0/opam
 create mode 100644 packages/toffee/toffee.0.1.0/opam

(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4' locally
docker.io/ocaml/opam@sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4: Pulling from ocaml/opam
16c195d4c5e9: Already exists
bb1fa90d0603: Already exists
fdb7a79b9aaa: Already exists
78978a5dc2f6: Already exists
8775d069824b: Already exists
e019dd8cdafd: Already exists
1e04623dd7be: Already exists
fffcf4ef46f0: Already exists
6968b79f4d44: Already exists
f8cf5c8d5e46: Already exists
e6d1f8a86d85: Already exists
2f178ce820da: Already exists
d3421c40bea8: Already exists
97f41b990056: Already exists
40529cd1c76f: Already exists
95fef7c778ab: Already exists
0cdd0ce34de4: Already exists
d513d83c6b35: Already exists
d513d83c6b35: Already exists
76b9d76eb718: Already exists
ee8e1aa25b05: Already exists
d4e5fa0825e7: Already exists
e1e27816b6cb: Already exists
4f4fb700ef54: Already exists
10cde7ff3d46: Already exists
53054c1d0b75: Already exists
9c322fc3435d: Already exists
1e18640b2f23: Already exists
21d51efcac55: Already exists
7ff303405efc: Already exists
a04c4be540d4: Already exists
5b6b5fbbfe2f: Already exists
989b490cd6de: Already exists
ad3233309d9e: Already exists
99d56c295aa2: Already exists
689de334d086: Already exists
2e956b593842: Already exists
ab048718c2a9: Already exists
3fb9912f00aa: Already exists
b9bbd065b04d: Already exists
645d4a111e81: Already exists
49035abf4ed3: Already exists
01b170ea7351: Already exists
072cd1334492: Already exists
64778c11a934: Already exists
b981c1958b0b: Already exists
242b445abc35: Already exists
28545f6d3117: Already exists
14a0531adcf6: Already exists
Digest: sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4
Status: Downloaded newer image for ocaml/opam@sha256:bd20181359ea2442732de36da5ba7d6f6122fb3a477de65bbed2bafbc9a954e4
2026-01-30 21:00.15 ---> using "b9e9b43800eb8adfc2c0b487808eb06e7e93f51adb45e358dc911127ebb97049" 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-01-30 21:00.15 ---> using "993a99db52bd8486179ee78d37f7bce79cbf60dc1b0081502f63283cbc922982" 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.0 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 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-30 21:00.15 ---> using "346e571644fe0c2b40f667855b5ca6d2058d01a8838d10fd13fcf7c67e83063a" 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.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=25.10
# 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-01-30 21:00.15 ---> using "cb3f9f71be80b38ef91a81ffd609e0e4efbafcb67cb4883ed75256a3d2bc260b" 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-01-30 21:00.15 ---> using "55789184109e6c36f5412f637c61d6896eb49a230569a3e369b12c5d06bafd0f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-30 21:00.26 ---> saved as "f5d70bf69fa62711efd95e46abfa6305f9e6937fcf877961b6969515011c128b"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-30 21:00.49 ---> saved as "8414ce42ae98a178baf29f51e59d97e61fe395328db08bb6b97bea2ee842fd39"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [203 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [330 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [173 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [3223 B]
- Get:8 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:9 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [186 kB]
- Get:10 http://security.ubuntu.com/ubuntu questing-security/multiverse amd64 Packages [2714 B]
- Get:11 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [122 kB]
- Get:12 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [157 kB]
- Fetched 1581 kB in 1s (2006 kB/s)
- Reading package lists...
- 
2026-01-30 21:00.53 ---> saved as "f33d39d4eb59086e18f00071d2a7fa0463d0790abc44de530ea654c001fb1e31"

/home/opam: (run (shell "opam pin add -k version -yn toffee.0.1.0 0.1.0"))
toffee is now pinned to version 0.1.0
2026-01-30 21:00.55 ---> saved as "5bb5c7b40fd2c95e302b71859cfe6c5bbe88186d908aa2f617e44533b18754ac"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved toffee.0.1.0  (https://github.com/tmattio/mosaic/releases/download/0.1.0/mosaic-0.1.0.tbz)
-> installed dune.3.21.0
-> installed toffee.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-30 21:01.35 ---> saved as "4119d4038310285e3db0223cfe120a60dc5f2469edcb1f45222c8eaa0e4897e3"
Job succeeded
2026-01-30 21:01.41: Job succeeded