(for PR #28495)

2026-05-04 08:20.04: New job: build efl.1.18.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (f8e3c652f6bedf44059eb5199142f50d0ff975ef)
                              on debian-13-ocaml-5.5-beta1/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/28495/head" && git reset --hard f8e3c652
git fetch origin master
git merge --no-edit 7d5cbdbc1151b699e44529b13fd680723b359453
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2
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 efl.1.18.0 1.18.0
RUN opam reinstall efl.1.18.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.18.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-05-04 08:20.04: Using cache hint "ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2-efl.1.18.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2)
 (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 efl.1.18.0 1.18.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.18.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 \"\\\"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\" != 'efl.1.18.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-05-04 08:20.04: Waiting for resource in pool OCluster
2026-05-04 08:20.07: Waiting for worker…
2026-05-04 08:23.46: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  64% (12216/18902)
Updating files:  65% (12287/18902)
Updating files:  66% (12476/18902)
Updating files:  67% (12665/18902)
Updating files:  68% (12854/18902)
Updating files:  69% (13043/18902)
Updating files:  70% (13232/18902)
Updating files:  71% (13421/18902)
Updating files:  72% (13610/18902)
Updating files:  73% (13799/18902)
Updating files:  74% (13988/18902)
Updating files:  75% (14177/18902)
Updating files:  76% (14366/18902)
Updating files:  77% (14555/18902)
Updating files:  78% (14744/18902)
Updating files:  79% (14933/18902)
Updating files:  80% (15122/18902)
Updating files:  81% (15311/18902)
Updating files:  82% (15500/18902)
Updating files:  83% (15689/18902)
Updating files:  84% (15878/18902)
Updating files:  85% (16067/18902)
Updating files:  86% (16256/18902)
Updating files:  87% (16445/18902)
Updating files:  88% (16634/18902)
Updating files:  89% (16823/18902)
Updating files:  90% (17012/18902)
Updating files:  91% (17201/18902)
Updating files:  92% (17390/18902)
Updating files:  93% (17579/18902)
Updating files:  94% (17768/18902)
Updating files:  95% (17957/18902)
Updating files:  96% (18146/18902)
Updating files:  97% (18335/18902)
Updating files:  98% (18524/18902)
Updating files:  99% (18713/18902)
Updating files: 100% (18902/18902)
Updating files: 100% (18902/18902), done.
HEAD is now at 7d5cbdbc11 Merge pull request #29840 from mtelvers/opam-publish-dockerfile-cmd.8.3.7
Merge made by the 'ort' strategy.
 packages/efl/efl.1.12.0/opam | 2 +-
 packages/efl/efl.1.13.0/opam | 2 +-
 packages/efl/efl.1.17.0/opam | 2 +-
 packages/efl/efl.1.18.0/opam | 2 +-
 packages/efl/efl.1.19.0/opam | 2 +-
 packages/efl/efl.1.20.0/opam | 2 +-
 packages/efl/efl.1.22.0/opam | 2 +-
 packages/efl/efl.1.24.0/opam | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

(from ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2' locally
docker.io/ocaml/opam@sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2: Pulling from ocaml/opam
3b32e3bb7338: Already exists
0a2047d92c36: Already exists
6468c8739f79: Already exists
dc1c52e586c3: Already exists
62b886ae38ec: Already exists
c217a15c852c: Already exists
1631c3f40e56: Already exists
fec1b7aa2529: Already exists
46c2f2e52299: Already exists
dfd625f9488b: Already exists
a92b2bbc3601: Already exists
21b06961f9ce: Already exists
56ea7bb8517a: Already exists
f88fa5fac715: Already exists
ef860ccaf48a: Already exists
7299894d19a3: Already exists
cfd8a5bbbbad: Already exists
458be87cd8e2: Already exists
d25c8303c40a: Already exists
0dd0c180412f: Already exists
3cce6b8d3022: Already exists
48811119dc00: Already exists
4f4fb700ef54: Already exists
9274adcd9010: Already exists
d7f1811cc461: Already exists
9883b0c98d0f: Already exists
9be0dcfb3ea0: Already exists
b64ebb6ea54f: Already exists
7f7a3980142e: Already exists
c4dd42c2d373: Already exists
bd37488f4682: Already exists
efaea8bd3292: Already exists
d08303018370: Already exists
ccb64fc6d165: Already exists
df5461936c45: Already exists
4ad6d8be4e6f: Already exists
ad49b5bd4234: Already exists
3cca9ef56161: Already exists
4917de64b7d3: Already exists
0ce36fc523dd: Already exists
ec347e98f03b: Already exists
7084195c1493: Pulling fs layer
319dc69378f4: Pulling fs layer
116653eec855: Pulling fs layer
838d93a136b0: Pulling fs layer
803203f118a1: Pulling fs layer
a018f986357d: Pulling fs layer
4d9b0b6bbd1f: Pulling fs layer
490da9a88bf2: Pulling fs layer
a018f986357d: Waiting
4d9b0b6bbd1f: Waiting
838d93a136b0: Waiting
803203f118a1: Waiting
490da9a88bf2: Waiting
319dc69378f4: Download complete
116653eec855: Verifying Checksum
116653eec855: Download complete
7084195c1493: Verifying Checksum
7084195c1493: Download complete
838d93a136b0: Verifying Checksum
838d93a136b0: Download complete
7084195c1493: Pull complete
319dc69378f4: Pull complete
116653eec855: Pull complete
838d93a136b0: Pull complete
4d9b0b6bbd1f: Verifying Checksum
4d9b0b6bbd1f: Download complete
a018f986357d: Verifying Checksum
a018f986357d: Download complete
490da9a88bf2: Verifying Checksum
490da9a88bf2: Download complete
803203f118a1: Verifying Checksum
803203f118a1: Download complete
803203f118a1: Pull complete
a018f986357d: Pull complete
4d9b0b6bbd1f: Pull complete
490da9a88bf2: Pull complete
Digest: sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2
Status: Downloaded newer image for ocaml/opam@sha256:20851ddbb85a9459299c42522c0b1293d07ac8e74070338769f0bcd0b9ac24b2
2026-05-04 08:27.45 ---> saved as "e8d36369e9b019f41d07cc08c53fa76887db45de26cdb973eab2f603a1d47a3c"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-04 08:27.47 ---> saved as "aea18f6659ed299e261d5e735a833bd4547bfb57438728569adc3ee3b413dc6c"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[default] Initialised
2026-05-04 08:28.35 ---> saved as "2762d1491b6f4eaaf1931136add5a30a685ef01cecd9162b0ced78ef2d26e013"

/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.1
# 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         2 (version-controlled)
# pinned               1 (version)
# current-switch       5.5~beta1
# invariant            ["ocaml-base-compiler" {>= "5.5.0~beta1"}]
# compiler-packages    compiler-cloning.enabled, ocaml-base-compiler.5.5.0~beta1, ocaml-compiler.5.5.0~beta1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.5~beta1/lib/ocaml/../stublibs:/home/opam/.opam/5.5~beta1/lib/ocaml/stublibs:/home/opam/.opam/5.5~beta1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.5.0~beta1
# ocaml-compiler:cloned false
# ocaml-compiler:clone-source 
# ocaml-compiler:clone-mechanism 
2026-05-04 08:28.40 ---> saved as "19160d0fdc754c161a8561c1bef156961c2d1936994c965530059287146a5e8a"

/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-05-04 08:28.54 ---> saved as "a7f5b6fcfc349ef441d232690c4a912ce61e21c41aed652dd0b1d4457922d0f5"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 08:30.12 ---> saved as "a0a039153dfd7a3ea44be8bc2a2ad76fe1e440d7e247166b7a93c49fcfe6c826"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 08:30.43 ---> saved as "64891ced165f394e1e8a356717303acf872f049c3e853e6d1b5ca8cadcdb1e77"

/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 [130 kB]
- Fetched 221 kB in 4s (50.9 kB/s)
- Reading package lists...
- 
2026-05-04 08:30.50 ---> saved as "15c72a75d497394550230641c91db5afd16e29e6fdb0964c170d8b1b19cf52ca"

/home/opam: (run (shell "opam pin add -k version -yn efl.1.18.0 1.18.0"))
efl is now pinned to version 1.18.0
2026-05-04 08:30.52 ---> saved as "ec9eefdae66abd306dacfccd5de4d95be7260a2a7f37ffc9f6d3f9998329161b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.18.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 \"\\\"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\" != 'efl.1.18.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
efl.1.18.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.5.0~beta1
    - efl = 1.18.0 -> ocaml < 5.3 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.5.0~beta1
    - efl = 1.18.0 -> ocaml < 5.3 -> ocaml-variants (< 4.05.2~ | >= 4.06.0)
  * Missing dependency:
    - efl = 1.18.0 -> ocaml < 5.3 -> 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.5.0~beta1
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - efl = 1.18.0 -> ocaml < 5.3 -> ocaml-variants >= 4.06.0 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.18.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 "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'efl.1.18.0' && 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-05-04 08:31.17: Job failed: Failed: Build failed
2026-05-04 08:31.17: Log analysis:
2026-05-04 08:31.17: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:31.17: [SKIP] Package not available