(for PR #29222)

2026-01-19 20:51.33: New job: build embedded_ocaml_templates.0.3.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29222/head (ad79ca9644feb512edcb7b55f7521e075b88d976)
                              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/29222/head" && git reset --hard ad79ca96
git fetch origin master
git merge --no-edit 1c997ec9e6ebc6ea699547000cb8dfa44e52efaa
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:de3d7e2600224a83921db191ba1a75b24e34caf2d67f4c7716742b7e62724f10
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 embedded_ocaml_templates.0.3.1 0.3.1
RUN opam reinstall embedded_ocaml_templates.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 "\"ubuntu-25.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'embedded_ocaml_templates.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 .

2026-01-19 20:51.33: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:de3d7e2600224a83921db191ba1a75b24e34caf2d67f4c7716742b7e62724f10-embedded_ocaml_templates.0.3.1-ad79ca9644feb512edcb7b55f7521e075b88d976"
2026-01-19 20:51.33: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:de3d7e2600224a83921db191ba1a75b24e34caf2d67f4c7716742b7e62724f10)
 (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 embedded_ocaml_templates.0.3.1 0.3.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall embedded_ocaml_templates.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 \"\\\"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\" != 'embedded_ocaml_templates.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"))
)

2026-01-19 20:51.33: Waiting for resource in pool OCluster
2026-01-19 21:57.13: Waiting for worker…
2026-01-19 21:59.00: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 1c997ec9e6 Merge pull request #29241 from polytypic/release-multicore-magic-2.3.2
Updating 1c997ec9e6..ad79ca9644
Fast-forward
 packages/archetype/archetype.0.1.10/opam                     |  2 +-
 packages/archetype/archetype.0.1.11/opam                     |  2 +-
 packages/archetype/archetype.0.1.12/opam                     |  2 +-
 packages/archetype/archetype.0.1.13/opam                     |  2 +-
 packages/archetype/archetype.0.1.14/opam                     |  2 +-
 packages/archetype/archetype.0.1.3/opam                      |  2 +-
 packages/archetype/archetype.0.1.4/opam                      |  2 +-
 packages/archetype/archetype.0.1.5/opam                      |  2 +-
 packages/archetype/archetype.0.1.6/opam                      |  2 +-
 packages/archetype/archetype.0.1.8/opam                      |  2 +-
 packages/archetype/archetype.0.1.9/opam                      |  2 +-
 packages/archetype/archetype.1.0.0/opam                      |  2 +-
 packages/archetype/archetype.1.1.0/opam                      |  2 +-
 packages/archetype/archetype.1.1.1/opam                      |  2 +-
 packages/archetype/archetype.1.1.2/opam                      |  2 +-
 packages/archetype/archetype.1.2.0/opam                      |  2 +-
 packages/archetype/archetype.1.2.1/opam                      |  2 +-
 packages/archetype/archetype.1.2.10/opam                     |  2 +-
 packages/archetype/archetype.1.2.11/opam                     |  2 +-
 packages/archetype/archetype.1.2.12/opam                     |  2 +-
 packages/archetype/archetype.1.2.13/opam                     |  2 +-
 packages/archetype/archetype.1.2.14/opam                     |  2 +-
 packages/archetype/archetype.1.2.15/opam                     |  2 +-
 packages/archetype/archetype.1.2.16/opam                     |  2 +-
 packages/archetype/archetype.1.2.2/opam                      |  2 +-
 packages/archetype/archetype.1.2.3/opam                      |  2 +-
 packages/archetype/archetype.1.2.4/opam                      |  2 +-
 packages/archetype/archetype.1.2.5/opam                      |  2 +-
 packages/archetype/archetype.1.2.6/opam                      |  2 +-
 packages/archetype/archetype.1.2.7/opam                      |  2 +-
 packages/archetype/archetype.1.2.8/opam                      |  2 +-
 packages/archetype/archetype.1.2.9/opam                      |  2 +-
 packages/archetype/archetype.1.3.0/opam                      |  2 +-
 packages/archetype/archetype.1.3.1/opam                      |  2 +-
 packages/archetype/archetype.1.3.2/opam                      |  2 +-
 packages/archetype/archetype.1.3.3/opam                      |  2 +-
 packages/archetype/archetype.1.3.4/opam                      |  2 +-
 packages/archetype/archetype.1.3.5/opam                      |  2 +-
 packages/archetype/archetype.1.3.6/opam                      |  2 +-
 packages/archetype/archetype.1.4.0/opam                      |  2 +-
 packages/archetype/archetype.1.4.1/opam                      |  2 +-
 packages/archetype/archetype.1.4.2/opam                      |  2 +-
 packages/archetype/archetype.1.4.3/opam                      |  2 +-
 packages/archetype/archetype.1.5.0/opam                      |  2 +-
 packages/archetype/archetype.1.5.1/opam                      |  2 +-
 packages/archetype/archetype.1.5.2/opam                      |  2 +-
 packages/archetype/archetype.1.5.3/opam                      |  2 +-
 packages/bnfgen/bnfgen.4.0.0/opam                            |  2 +-
 packages/catala/catala.0.10.0/opam                           |  2 +-
 packages/catala/catala.0.3.0/opam                            |  2 +-
 packages/catala/catala.0.5.0/opam                            |  2 +-
 packages/catala/catala.0.6.0/opam                            |  2 +-
 packages/catala/catala.0.7.0/opam                            |  2 +-
 packages/catala/catala.0.8.0/opam                            |  2 +-
 packages/catala/catala.0.9.0/opam                            |  2 +-
 packages/catala/catala.1.0.0/opam                            |  2 +-
 packages/catala/catala.1.0.0~alpha/opam                      |  2 +-
 packages/catala/catala.1.0.0~beta/opam                       |  2 +-
 packages/dolmen/dolmen.0.1/opam                              |  2 +-
 packages/dolmen/dolmen.0.10/opam                             |  2 +-
 packages/dolmen/dolmen.0.2/opam                              |  2 +-
 packages/dolmen/dolmen.0.4.1/opam                            |  2 +-
 packages/dolmen/dolmen.0.4/opam                              |  2 +-
 packages/dolmen/dolmen.0.5/opam                              |  2 +-
 packages/dolmen/dolmen.0.6/opam                              |  4 ++--
 packages/dolmen/dolmen.0.7/opam                              |  2 +-
 packages/dolmen/dolmen.0.8.1/opam                            |  2 +-
 packages/dolmen/dolmen.0.8/opam                              |  2 +-
 packages/dolmen/dolmen.0.9/opam                              |  2 +-
 .../embedded_ocaml_templates.0.1.4/opam                      | 12 ++++++------
 .../embedded_ocaml_templates.0.2/opam                        | 12 ++++++------
 .../embedded_ocaml_templates.0.3.1/opam                      |  8 ++++----
 .../embedded_ocaml_templates.0.4/opam                        | 10 +++++-----
 .../embedded_ocaml_templates.0.5.1/opam                      | 10 +++++-----
 .../embedded_ocaml_templates.0.6/opam                        |  2 +-
 .../embedded_ocaml_templates.0.7/opam                        |  2 +-
 packages/morbig/morbig.0.10.3/opam                           |  2 +-
 packages/morbig/morbig.0.10.4/opam                           |  2 +-
 packages/morbig/morbig.0.11.0/opam                           |  2 +-
 packages/morbig/morbig.0.9.1/opam                            |  2 +-
 packages/morbig/morbig.0.9/opam                              |  2 +-
 packages/otoml/otoml.0.9.0/opam                              |  2 +-
 packages/otoml/otoml.0.9.1/opam                              |  2 +-
 packages/otoml/otoml.0.9.2/opam                              |  2 +-
 packages/otoml/otoml.0.9.3/opam                              |  2 +-
 packages/otoml/otoml.1.0.0/opam                              |  2 +-
 packages/otoml/otoml.1.0.1/opam                              |  2 +-
 packages/otoml/otoml.1.0.2/opam                              |  2 +-
 packages/otoml/otoml.1.0.3/opam                              |  2 +-
 packages/otoml/otoml.1.0.4/opam                              |  2 +-
 packages/otoml/otoml.1.0.5/opam                              |  2 +-
 packages/touist/touist.3.0.0/opam                            |  2 +-
 packages/touist/touist.3.1.0/opam                            |  2 +-
 packages/touist/touist.3.2.0/opam                            |  2 +-
 packages/touist/touist.3.2.1/opam                            |  2 +-
 packages/touist/touist.3.5.0/opam                            |  2 +-
 packages/unionFind/unionFind.20250818/opam                   |  2 +-
 97 files changed, 119 insertions(+), 119 deletions(-)

(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:de3d7e2600224a83921db191ba1a75b24e34caf2d67f4c7716742b7e62724f10)
2026-01-19 21:59.59 ---> using "fa736ed3aa59c3db58c7666b24a0e7b6d49ea2953c293b8dd0761dc2de6cc30b" 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-19 21:59.59 ---> using "7ca787a2e0927f4b79cf12d85fa8ddfe545f822edcd9281a34551031740001be" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-19 22:00.19 ---> saved as "4aaf27a92cca8460e82141170fd44557afcdd9bcdead90ecb32613ed6e5a8def"

/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-19 22:00.19 ---> saved as "49cd0d094234f1ce2a175c1c45742d51d6cc355058c32e9b570897dd78708dbd"

/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-19 22:00.32 ---> saved as "4b45d641540045e77f00de735aa8da38f669394a406f47ce16a67e77b2830995"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 22:00.55 ---> saved as "201c788d718dbda587176149db4b862f3506c26a8d409ad1bec79708d4ca9bdf"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 22:01.13 ---> saved as "7fdef79dc594b3641e85abf42848c2401a44e9da672017db3e1693ba5aa67820"

/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://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [117 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [181 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [171 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [302 kB]
- Fetched 1175 kB in 1s (1366 kB/s)
- Reading package lists...
- 
2026-01-19 22:01.15 ---> saved as "866c5fb1b9d1018153afdb856037b8757c84166715f3ddd8f3109b9f8e08c57a"

/home/opam: (run (shell "opam pin add -k version -yn embedded_ocaml_templates.0.3.1 0.3.1"))
embedded_ocaml_templates is now pinned to version 0.3.1
2026-01-19 22:01.16 ---> saved as "3f967ddded489fe4fbea9b18221059d47ad7db293e32b82d3595f94911b3be4e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall embedded_ocaml_templates.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 \"\\\"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\" != 'embedded_ocaml_templates.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"))
embedded_ocaml_templates.0.3.1 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - embedded_ocaml_templates = 0.3.1 -> ppxlib < 0.23.0 -> ocaml < 4.10 -> ocaml-variants
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - embedded_ocaml_templates = 0.3.1 -> ppxlib < 0.23.0 -> ocaml-migrate-parsetree >= 1.3.1 -> ocaml < 4.13 -> dkml-base-compiler
  * Missing dependency:
    - embedded_ocaml_templates = 0.3.1 -> ppxlib < 0.23.0 -> ocaml-migrate-parsetree >= 1.3.1 -> ocaml < 4.09.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.4.0
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - embedded_ocaml_templates = 0.3.1 -> ppxlib < 0.23.0 -> ocaml < 4.10 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - embedded_ocaml_templates = 0.3.1 -> ppxlib < 0.23.0 -> ocaml < 4.10 -> ocaml-variants -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall embedded_ocaml_templates.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 "\"ubuntu-25.10\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'embedded_ocaml_templates.0.3.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-19 22:02.02: Job failed: Failed: Build failed
2026-01-19 22:02.02: Log analysis:
2026-01-19 22:02.02: >>> 
No solution found, exiting
 (score = 100)
2026-01-19 22:02.02: [SKIP] Package not available