(for PR #29197)

2026-01-08 06:31.02: New job: build raga.0.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29197/head (ca1def54554880cfc2c5e489f972f767a6543b12)
                              on debian-13-ocaml-4.09/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/29197/head" && git reset --hard ca1def54
git fetch origin master
git merge --no-edit 2dee2fe30df966714e056f8af164fe0ed7648a63
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092
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 raga.0.1.1 0.1.1
RUN opam reinstall raga.0.1.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'raga.0.1.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 .

2026-01-08 06:31.02: Using cache hint "ocaml/opam:debian-13-ocaml-4.09@sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092-raga.0.1.1-ca1def54554880cfc2c5e489f972f767a6543b12"
2026-01-08 06:31.02: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092)
 (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 raga.0.1.1 0.1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall raga.0.1.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-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\" != 'raga.0.1.1' && 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-08 06:31.02: Waiting for resource in pool OCluster
2026-01-08 06:31.02: Waiting for worker…
2026-01-08 06:31.02: Got resource from pool OCluster
Building on eumache
HEAD is now at 73b2f0da19 Alternate bump
HEAD is now at 2dee2fe30d Merge pull request #29195 from raphael-proust/lwt-fix-ocamlfind-dep-constraint
Updating 2dee2fe30d..ca1def5455
Fast-forward
 packages/raga/raga.0.1.1/opam | 45 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 packages/raga/raga.0.1.1/opam

(from ocaml/opam:debian-13-ocaml-4.09@sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.09@sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092' locally
docker.io/ocaml/opam@sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092: Pulling from ocaml/opam
281b80c799de: Already exists
ce76feb86791: Already exists
7984eb0e5b45: Already exists
56c452a960b1: Already exists
b85825bef00a: Already exists
d6ff43dfb85c: Already exists
4197ec645389: Already exists
37cac33e41ff: Already exists
4cb993fb248e: Already exists
ca442870f91f: Already exists
b1d1a2fb5f4a: Already exists
0dea577b2801: Already exists
cc10daaea4fd: Already exists
5f878cb1723a: Already exists
8968959fa983: Already exists
5bdd9b9ed0e3: Already exists
55661c5b388f: Already exists
55661c5b388f: Already exists
92d1dc6907bd: Already exists
7100b414728b: Already exists
a6a54ddc9818: Already exists
a920ad627810: Already exists
4f4fb700ef54: Already exists
f7df7b6e19c0: Already exists
cd713d66718c: Already exists
6ed45ab2af86: Already exists
40598b80a8fe: Already exists
983f7969ff00: Already exists
40ec09ee09bd: Already exists
76a0afa38cd9: Already exists
1d5a564d139a: Already exists
82883b85a4f0: Already exists
1d8458efd73b: Already exists
2d80a9fac9ac: Already exists
4d69ee6ae94b: Already exists
ce8d28b713f1: Already exists
97580d938033: Already exists
da5fa40e04f8: Already exists
d7a499968f64: Already exists
28e5932c7c69: Already exists
81389c423fc3: Already exists
b5dca40d0803: Already exists
e6a063fbfad2: Already exists
aedd07db0b23: Already exists
8f5cb3ef3b36: Already exists
Digest: sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092
Status: Downloaded newer image for ocaml/opam@sha256:db9498c6e7e1a70761824d6229d0d50bf3d052f12508e752d07478a09f0d4092
2026-01-08 06:31.21 ---> saved as "60e1e31542c4d7b6814af77a2e11562c4d6846a9188633974a5d4d5b5446a5e7"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-08 06:31.21 ---> saved as "d3989fba491af4b9275f824e18e62926aa3aa5458532d8a8a1c2a06fc73bc352"

/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-01-08 06:31.48 ---> saved as "a7ff1c06ba3538cf5a4b150fdf475c9f03d24e85385d9c35dceba9f8cd7b8bb5"

/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.09
# invariant            ["ocaml-base-compiler" {= "4.09.1"}]
# compiler-packages    ocaml-base-compiler.4.09.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.09/lib/ocaml/stublibs:/home/opam/.opam/4.09/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.09.1
2026-01-08 06:31.48 ---> saved as "b13794fab26848d56724074ccbe9ce1426be88491cc0c1c6c62dd334cd028d1b"

/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-08 06:31.57 ---> saved as "a9e201defb3efbde12822a3ac9baf8df5dbfbf62f7600b8c23db75d56849e56d"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-08 06:32.04 ---> saved as "15083d33285c78b7aa8494fa17e9636c705b1aab6ceef3609706327a8cad0f4c"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-08 06:32.27 ---> saved as "d6ce0bb88ef1a3c796e1ee5d1e25e45a0ff04dbae82bc1b42ab53c704e74bde0"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [94.5 kB]
- Fetched 185 kB in 0s (595 kB/s)
- Reading package lists...
- 
2026-01-08 06:32.28 ---> saved as "c7eeba4120ff192dca7c122525191b6c7650de6efa9dc33856342e9013e6ab9d"

/home/opam: (run (shell "opam pin add -k version -yn raga.0.1.1 0.1.1"))
raga is now pinned to version 0.1.1
2026-01-08 06:32.30 ---> saved as "1a1ce044989387fff000a6ae43cc26aff88bb29eed3e18bc416ff908eb37dc5a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall raga.0.1.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-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\" != 'raga.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
raga.0.1.1 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.09.1 -> ocaml = 4.09.1
    - raga >= 0.1.1 -> handlebars-ml >= 0.3.0 -> ocaml >= 4.14
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall raga.0.1.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-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'raga.0.1.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-01-08 06:33.06: Job failed: Failed: Build failed
2026-01-08 06:33.06: Log analysis:
2026-01-08 06:33.06: >>> 
No solution found, exiting
 (score = 100)
2026-01-08 06:33.06: [SKIP] Package not available