Build:
  1. 0
2026-01-15 08:10.18: New job: test embedded_ocaml_templates.0.6, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29222/head (d45ce9b6feb3694e966137df55ac14d9ec01ba13)
                              on ubuntu-24.04-ocaml-5.4/riscv64

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 d45ce9b6
git fetch origin master
git merge --no-edit 513e85b5a99db7912c4e7ed5e9675a808b7107a6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:d162f5bab9b92be895e174d1b119d59ff46cc7db2cb00b4e92b44fe4216e5ab1
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.6 0.6
RUN opam reinstall embedded_ocaml_templates.0.6; \
    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" != 'embedded_ocaml_templates.0.6' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test embedded_ocaml_templates.0.6) || true
RUN opam reinstall --with-test --verbose embedded_ocaml_templates.0.6; \
    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" != 'embedded_ocaml_templates.0.6' && 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-15 08:10.18: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:d162f5bab9b92be895e174d1b119d59ff46cc7db2cb00b4e92b44fe4216e5ab1-embedded_ocaml_templates.0.6-d45ce9b6feb3694e966137df55ac14d9ec01ba13"
2026-01-15 08:10.18: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:d162f5bab9b92be895e174d1b119d59ff46cc7db2cb00b4e92b44fe4216e5ab1)
 (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.6 0.6"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall embedded_ocaml_templates.0.6;\
             \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\" != 'embedded_ocaml_templates.0.6' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test embedded_ocaml_templates.0.6) || true"))
 (run (shell  "opam reinstall --with-test --verbose embedded_ocaml_templates.0.6;\
             \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\" != 'embedded_ocaml_templates.0.6' && 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-15 08:10.18: Waiting for resource in pool OCluster
2026-01-15 08:10.20: Waiting for worker…
2026-01-15 08:30.23: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
Updating files:  12% (2355/19200)
Updating files:  13% (2496/19200)
Updating files:  14% (2688/19200)
Updating files:  15% (2880/19200)
Updating files:  16% (3072/19200)
Updating files:  17% (3264/19200)
Updating files:  18% (3456/19200)
Updating files:  19% (3648/19200)
Updating files:  20% (3840/19200)
Updating files:  21% (4032/19200)
Updating files:  22% (4224/19200)
Updating files:  23% (4416/19200)
Updating files:  24% (4608/19200)
Updating files:  24% (4720/19200)
Updating files:  25% (4800/19200)
Updating files:  26% (4992/19200)
Updating files:  27% (5184/19200)
Updating files:  28% (5376/19200)
Updating files:  29% (5568/19200)
Updating files:  30% (5760/19200)
Updating files:  31% (5952/19200)
Updating files:  32% (6144/19200)
Updating files:  33% (6336/19200)
Updating files:  34% (6528/19200)
Updating files:  35% (6720/19200)
Updating files:  36% (6912/19200)
Updating files:  37% (7104/19200)
Updating files:  37% (7282/19200)
Updating files:  38% (7296/19200)
Updating files:  39% (7488/19200)
Updating files:  40% (7680/19200)
Updating files:  41% (7872/19200)
Updating files:  42% (8064/19200)
Updating files:  43% (8256/19200)
Updating files:  44% (8448/19200)
Updating files:  45% (8640/19200)
Updating files:  46% (8832/19200)
Updating files:  47% (9024/19200)
Updating files:  48% (9216/19200)
Updating files:  49% (9408/19200)
Updating files:  50% (9600/19200)
Updating files:  50% (9747/19200)
Updating files:  51% (9792/19200)
Updating files:  52% (9984/19200)
Updating files:  53% (10176/19200)
Updating files:  54% (10368/19200)
Updating files:  55% (10560/19200)
Updating files:  56% (10752/19200)
Updating files:  57% (10944/19200)
Updating files:  58% (11136/19200)
Updating files:  59% (11328/19200)
Updating files:  60% (11520/19200)
Updating files:  61% (11712/19200)
Updating files:  62% (11904/19200)
Updating files:  62% (11918/19200)
Updating files:  63% (12096/19200)
Updating files:  64% (12288/19200)
Updating files:  65% (12480/19200)
Updating files:  66% (12672/19200)
Updating files:  67% (12864/19200)
Updating files:  68% (13056/19200)
Updating files:  69% (13248/19200)
Updating files:  70% (13440/19200)
Updating files:  71% (13632/19200)
Updating files:  72% (13824/19200)
Updating files:  73% (14016/19200)
Updating files:  73% (14207/19200)
Updating files:  74% (14208/19200)
Updating files:  75% (14400/19200)
Updating files:  76% (14592/19200)
Updating files:  77% (14784/19200)
Updating files:  78% (14976/19200)
Updating files:  79% (15168/19200)
Updating files:  80% (15360/19200)
Updating files:  81% (15552/19200)
Updating files:  82% (15744/19200)
Updating files:  83% (15936/19200)
Updating files:  84% (16128/19200)
Updating files:  85% (16320/19200)
Updating files:  86% (16512/19200)
Updating files:  86% (16513/19200)
Updating files:  87% (16704/19200)
Updating files:  88% (16896/19200)
Updating files:  89% (17088/19200)
Updating files:  90% (17280/19200)
Updating files:  91% (17472/19200)
Updating files:  92% (17664/19200)
Updating files:  93% (17856/19200)
Updating files:  94% (18048/19200)
Updating files:  95% (18240/19200)
Updating files:  96% (18432/19200)
Updating files:  97% (18624/19200)
Updating files:  98% (18816/19200)
Updating files:  98% (18946/19200)
Updating files:  99% (19008/19200)
Updating files: 100% (19200/19200)
Updating files: 100% (19200/19200), done.
HEAD is now at 513e85b5a9 Merge pull request #29217 from c-cube/release-containers-v3.17
Merge made by the 'ort' strategy.
 .../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/unionFind/unionFind.20250818/opam                   |  2 +-
 8 files changed, 29 insertions(+), 29 deletions(-)

(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:d162f5bab9b92be895e174d1b119d59ff46cc7db2cb00b4e92b44fe4216e5ab1)
2026-01-15 08:30.35 ---> using "e6d25a681a2839b9759c5ab76e7fc37d65a3a1681d1dd6a25eff6d306e5b002f" 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-15 08:30.35 ---> using "f94728a3897568e3a7759826588216c63a3b89bd0663181aa99bddde4facc7c9" 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-15 08:30.35 ---> using "e6cfbe27a3c7e265ded57a9000a356597d5dfbdd03f7660dee29c304960f0626" 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=riscv64 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                 3
# 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-15 08:30.35 ---> using "c8ba0107694140cd095b41f9f249c2013cd515bee398d7be9528c65cc18ba180" 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-15 08:30.35 ---> using "54067164ef27cf4f5ad1fc92e3c4c83398f26196cbb8b27c986ef7868389bd7d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-15 08:30.41 ---> using "b534e8936b97497c5c50a16fb9b2369183fdf24bb742d9e5ee862499572674aa" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-15 08:30.41 ---> using "d6c6ffe7832ce1fbce8b1305a8a0ebc9e6f71175493e448203e9dcfbd7148f55" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1470 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [902 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [581 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [926 kB]
- Fetched 4258 kB in 2s (2013 kB/s)
- Reading package lists...
- 
2026-01-15 08:30.41 ---> using "e44bcef4ce0c576f060a88c265ef002e2a9a06a666ad9ba0111c524875c46177" from cache

/home/opam: (run (shell "opam pin add -k version -yn embedded_ocaml_templates.0.6 0.6"))
embedded_ocaml_templates is now pinned to version 0.6
2026-01-15 08:30.41 ---> using "7e8b675340d0f0bb52b23f3eea6c0743b4e70caef3474a0f9b200c054e87f539" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall embedded_ocaml_templates.0.6;\
                        \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\" != 'embedded_ocaml_templates.0.6' && 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.6 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - embedded_ocaml_templates = 0.6 -> ppxlib < 0.23.0 -> ocaml < 4.10 -> ocaml-variants (< 4.00.1~ | >= 4.00.1)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - embedded_ocaml_templates = 0.6 -> 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.6 -> ppxlib < 0.23.0 -> ocaml < 4.10 -> ocaml-variants >= 4.00.1 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - embedded_ocaml_templates = 0.6 -> ppxlib < 0.23.0 -> ocaml < 4.10 -> ocaml-variants >= 4.00.1 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall embedded_ocaml_templates.0.6;
        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" != 'embedded_ocaml_templates.0.6' && 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-15 08:32.08: Job failed: Failed: Build failed
2026-01-15 08:32.08: Log analysis:
2026-01-15 08:32.08: >>> 
No solution found, exiting
 (score = 100)
2026-01-15 08:32.08: [SKIP] Package not available