(for PR #24267)

2026-04-27 07:45.27: New job: build orxgboost.1.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24267/head (41de505ec8ff3637ab3cb06a41ccbc29683f566c)
                              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/24267/head" && git reset --hard 41de505e
git fetch origin master
git merge --no-edit d5058a91d400180e2118d7eeefa040cfcee45d2c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6
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 orxgboost.1.0.1 1.0.1
RUN opam reinstall orxgboost.1.0.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" != 'orxgboost.1.0.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-04-27 07:45.27: Using cache hint "ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6-orxgboost.1.0.1-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2026-04-27 07:45.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6)
 (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 orxgboost.1.0.1 1.0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall orxgboost.1.0.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\" != 'orxgboost.1.0.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-04-27 07:45.27: Connecting to build cluster…
2026-04-27 07:45.27: Waiting for resource in pool OCluster
2026-04-27 07:58.08: Waiting for worker…
2026-04-27 07:59.39: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at d5058a91d4 Merge pull request #29801 from YuriyKrasilnikov/opam-publish-idna.0.4.0
Merge made by the 'ort' strategy.
 packages/odnnr/odnnr.2.0.0/opam                   | 4 +---
 packages/oplsr/oplsr.8.0.1/opam                   | 3 +--
 packages/orrandomForest/orrandomForest.1.0.0/opam | 5 +----
 packages/orrandomForest/orrandomForest.2.0.1/opam | 7 +------
 packages/orrandomForest/orrandomForest.3.0.0/opam | 7 +------
 packages/orsvm_e1071/orsvm_e1071.2.0.0/opam       | 3 ---
 packages/orsvm_e1071/orsvm_e1071.3.0.0/opam       | 5 +----
 packages/orsvm_e1071/orsvm_e1071.3.0.1/opam       | 2 +-
 packages/orsvm_e1071/orsvm_e1071.3.0.2/opam       | 2 +-
 packages/orsvm_e1071/orsvm_e1071.4.0.0/opam       | 2 +-
 packages/orxgboost/orxgboost.1.0.1/opam           | 5 +----
 packages/orxgboost/orxgboost.1.1.0/opam           | 5 +----
 packages/orxgboost/orxgboost.1.2.0/opam           | 5 +----
 13 files changed, 12 insertions(+), 43 deletions(-)

(from ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6' locally
docker.io/ocaml/opam@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6: Pulling from ocaml/opam
3b32e3bb7338: Already exists
745aa02d649b: Already exists
bc737f5d3c43: Already exists
435aae15a5aa: Already exists
0c18c39f6bae: Already exists
eef74b82df23: Already exists
f7d9cf0406d8: Already exists
01a1dc37e798: Already exists
4960811e07ec: Already exists
be2894c36d5e: Already exists
b5a017ae191d: Already exists
3ba39ce4e9c9: Already exists
1db570dbe1c8: Already exists
753bb4b44994: Already exists
b5a1e811909d: Already exists
6f3d83ba47b6: Already exists
002305272cbf: Already exists
002305272cbf: Already exists
249535cd82cd: Already exists
87fe8c2a0989: Already exists
b6932f04a343: Already exists
17b274223ca8: Already exists
4f4fb700ef54: Already exists
924952a8fbf8: Already exists
17671b650f63: Already exists
9fe75d873195: Already exists
24216535046d: Already exists
ac2e1c9e90df: Already exists
c2126be13b26: Already exists
01ff22a5eb70: Already exists
50415235a68f: Already exists
deb6182b549b: Already exists
ad728fb9a18c: Already exists
a36bcae85a3d: Already exists
1c746fdc6a3a: Already exists
4351b787b295: Already exists
380abb093977: Already exists
0fc1b10f3fd9: Already exists
966bc35978c3: Already exists
ae53b61ccb9e: Already exists
d8ada9072f1a: Already exists
6a1b081b98a3: Pulling fs layer
32a4a4edd914: Pulling fs layer
51561b4147fc: Pulling fs layer
23328e1884b9: Pulling fs layer
120c50bc5d19: Pulling fs layer
628c53885d4c: Pulling fs layer
44ef7e84e1ef: Pulling fs layer
0ebf89ef9ee0: Pulling fs layer
23328e1884b9: Waiting
120c50bc5d19: Waiting
628c53885d4c: Waiting
44ef7e84e1ef: Waiting
0ebf89ef9ee0: Waiting
32a4a4edd914: Download complete
51561b4147fc: Verifying Checksum
51561b4147fc: Download complete
6a1b081b98a3: Verifying Checksum
6a1b081b98a3: Download complete
6a1b081b98a3: Pull complete
32a4a4edd914: Pull complete
51561b4147fc: Pull complete
23328e1884b9: Verifying Checksum
23328e1884b9: Download complete
23328e1884b9: Pull complete
628c53885d4c: Verifying Checksum
628c53885d4c: Download complete
44ef7e84e1ef: Verifying Checksum
44ef7e84e1ef: Download complete
0ebf89ef9ee0: Verifying Checksum
0ebf89ef9ee0: Download complete
120c50bc5d19: Verifying Checksum
120c50bc5d19: Download complete
120c50bc5d19: Pull complete
628c53885d4c: Pull complete
44ef7e84e1ef: Pull complete
0ebf89ef9ee0: Pull complete
Digest: sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6
Status: Downloaded newer image for ocaml/opam@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6
2026-04-27 08:00.11 ---> using "603f02c023a1426d4a02d87570a93b0933bb94d7f12e9f446094d14bd1f75796" 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-04-27 08:00.11 ---> using "8ce252bfd2c4cf43a63a513025094ad47f7fe6cf78104b2f6dc84d2ccba189d7" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[default] Initialised
2026-04-27 08:00.11 ---> using "65103e86f93946d6fffc139b5128a8f8f419133508ace1b49b5ca6c6bfb41888" 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.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-04-27 08:00.11 ---> using "7163d9da28693b30b794bf44b1e4b9442e8bb15713526255cdecf572aba2ad74" 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-04-27 08:00.11 ---> using "16ab57e36a0ab7eab172ccff2678d7fbd1b69103081527d595051c8b3b2afe92" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 08:00.12 ---> using "cad980385db6a5a8a3dc59f1de1842ec2078f2b573c720fd47d1e90d0a92e78b" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 08:00.20 ---> saved as "4a9af6ffe827a454933fa14fd59d1179a83f3c48407e2d38c31e483b8b0276d7"

/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]
- Fetched 90.7 kB in 0s (1145 kB/s)
- Reading package lists...
2026-04-27 08:00.21 ---> saved as "a25d996bbaa8ec2df3c811bf981c2e8f59ed2cb4dd2c618a9659754888eba14b"

/home/opam: (run (shell "opam pin add -k version -yn orxgboost.1.0.1 1.0.1"))
orxgboost is now pinned to version 1.0.1
2026-04-27 08:00.22 ---> saved as "ab15752498b93b7baca4599c768fd62de9cf05f52b7d516590e0f937005ff96f"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall orxgboost.1.0.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\" != 'orxgboost.1.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
orxgboost.1.0.1 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.5.0~beta1
    - orxgboost < 1.1.0 -> jbuilder -> ocaml < 5.0 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.5.0~beta1
    - orxgboost < 1.1.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants (< 4.00.1~ | >= 4.00.1)
  * Missing dependency:
    - orxgboost < 1.1.0 -> jbuilder -> dune < 2.0 -> ocaml < 4.12 -> 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:
    - orxgboost < 1.1.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants >= 4.00.1 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall orxgboost.1.0.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" != 'orxgboost.1.0.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-04-27 08:00.42: Job failed: Failed: Build failed
2026-04-27 08:00.42: Log analysis:
2026-04-27 08:00.42: >>> 
No solution found, exiting
 (score = 100)
2026-04-27 08:00.42: [SKIP] Package not available