(for PR #24267)

2025-11-10 11:02.18: New job: build odnnr.2.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24267/head (41de505ec8ff3637ab3cb06a41ccbc29683f566c)
                              on debian-13-ocaml-4.14-no-flat-float-array/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 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-no-flat-float-array@sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61
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 odnnr.2.0.0 2.0.0
RUN opam reinstall odnnr.2.0.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" != 'odnnr.2.0.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 .

2025-11-10 11:02.18: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-no-flat-float-array@sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61-odnnr.2.0.0-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2025-11-10 11:02.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-no-flat-float-array@sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61)
 (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 odnnr.2.0.0 2.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall odnnr.2.0.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\" != 'odnnr.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-10 11:02.18: Waiting for resource in pool OCluster
2025-11-10 12:56.50: Waiting for worker…
2025-11-10 13:00.25: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  71% (13417/18702)
Updating files:  72% (13466/18702)
Updating files:  73% (13653/18702)
Updating files:  74% (13840/18702)
Updating files:  75% (14027/18702)
Updating files:  76% (14214/18702)
Updating files:  77% (14401/18702)
Updating files:  78% (14588/18702)
Updating files:  79% (14775/18702)
Updating files:  80% (14962/18702)
Updating files:  81% (15149/18702)
Updating files:  82% (15336/18702)
Updating files:  83% (15523/18702)
Updating files:  84% (15710/18702)
Updating files:  85% (15897/18702)
Updating files:  86% (16084/18702)
Updating files:  87% (16271/18702)
Updating files:  88% (16458/18702)
Updating files:  89% (16645/18702)
Updating files:  90% (16832/18702)
Updating files:  91% (17019/18702)
Updating files:  92% (17206/18702)
Updating files:  93% (17393/18702)
Updating files:  94% (17580/18702)
Updating files:  95% (17767/18702)
Updating files:  96% (17954/18702)
Updating files:  97% (18141/18702)
Updating files:  98% (18328/18702)
Updating files:  99% (18515/18702)
Updating files: 100% (18702/18702)
Updating files: 100% (18702/18702), done.
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.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-4.14-no-flat-float-array@sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-no-flat-float-array@sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61' locally
docker.io/ocaml/opam@sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61: Pulling from ocaml/opam
13cc39f8244a: Already exists
b27d53669817: Already exists
062c909e206e: Already exists
265baae72087: Already exists
b6b7b385247c: Already exists
bfb7bf5b7c6d: Pulling fs layer
b18c76fc18f2: Pulling fs layer
6bdbb37ee35f: Pulling fs layer
84035aa4da2d: Pulling fs layer
0c3307e14207: Pulling fs layer
30b92d637d72: Pulling fs layer
991b07583706: Pulling fs layer
e1d7a79a1495: Pulling fs layer
6b08d63c6214: Pulling fs layer
6bdbb37ee35f: Download complete
4c7236344711: Pulling fs layer
b18c76fc18f2: Download complete
30b92d637d72: Waiting
12506f41e8b0: Pulling fs layer
0c3307e14207: Waiting
e1d7a79a1495: Waiting
991b07583706: Waiting
6b08d63c6214: Waiting
4c7236344711: Waiting
2330d596aec1: Pulling fs layer
12506f41e8b0: Waiting
a48299f5ec62: Pulling fs layer
2330d596aec1: Waiting
04618a577568: Pulling fs layer
a48299f5ec62: Waiting
8c4b002d072b: Pulling fs layer
04618a577568: Waiting
4f4fb700ef54: Pulling fs layer
ff68f05e2976: Pulling fs layer
8c4b002d072b: Waiting
4f4fb700ef54: Waiting
d5543b560a3e: Pulling fs layer
4a9030bbb1ef: Pulling fs layer
c59b3bec3411: Pulling fs layer
d5543b560a3e: Waiting
85a7c9be9495: Pulling fs layer
ff68f05e2976: Waiting
4a9030bbb1ef: Waiting
dbc6bd8f2e44: Pulling fs layer
c59b3bec3411: Waiting
6680a5133ca2: Pulling fs layer
85a7c9be9495: Waiting
470c0056084c: Pulling fs layer
dbc6bd8f2e44: Waiting
6b9af56b67cf: Pulling fs layer
6680a5133ca2: Waiting
c572cde25fb3: Pulling fs layer
033b2d405acf: Pulling fs layer
663cc5b3d424: Pulling fs layer
6b9af56b67cf: Waiting
470c0056084c: Waiting
c572cde25fb3: Waiting
840bbd47fded: Pulling fs layer
033b2d405acf: Waiting
663cc5b3d424: Waiting
fb8f644ba010: Pulling fs layer
840bbd47fded: Waiting
66735543f230: Pulling fs layer
7896354b8c11: Pulling fs layer
fb8f644ba010: Waiting
a0063722d8c2: Pulling fs layer
66735543f230: Waiting
7018e4a5881b: Pulling fs layer
7896354b8c11: Waiting
a0063722d8c2: Waiting
d5c5b2d83f36: Pulling fs layer
7018e4a5881b: Waiting
a850da26741a: Pulling fs layer
d5c5b2d83f36: Waiting
542bbef5be8d: Pulling fs layer
a5aab4c1cefb: Pulling fs layer
a850da26741a: Waiting
542bbef5be8d: Waiting
a5aab4c1cefb: Waiting
84035aa4da2d: Verifying Checksum
84035aa4da2d: Download complete
0c3307e14207: Verifying Checksum
0c3307e14207: Download complete
30b92d637d72: Verifying Checksum
30b92d637d72: Download complete
991b07583706: Verifying Checksum
991b07583706: Download complete
e1d7a79a1495: Verifying Checksum
e1d7a79a1495: Download complete
6b08d63c6214: Verifying Checksum
6b08d63c6214: Download complete
4c7236344711: Download complete
12506f41e8b0: Verifying Checksum
12506f41e8b0: Download complete
2330d596aec1: Download complete
a48299f5ec62: Download complete
04618a577568: Verifying Checksum
04618a577568: Download complete
8c4b002d072b: Download complete
4f4fb700ef54: Download complete
ff68f05e2976: Download complete
d5543b560a3e: Verifying Checksum
d5543b560a3e: Download complete
4a9030bbb1ef: Verifying Checksum
c59b3bec3411: Download complete
85a7c9be9495: Download complete
dbc6bd8f2e44: Verifying Checksum
dbc6bd8f2e44: Download complete
6680a5133ca2: Verifying Checksum
6680a5133ca2: Download complete
470c0056084c: Verifying Checksum
470c0056084c: Download complete
6b9af56b67cf: Download complete
bfb7bf5b7c6d: Verifying Checksum
bfb7bf5b7c6d: Download complete
c572cde25fb3: Verifying Checksum
c572cde25fb3: Download complete
033b2d405acf: Download complete
663cc5b3d424: Verifying Checksum
663cc5b3d424: Download complete
fb8f644ba010: Verifying Checksum
fb8f644ba010: Download complete
bfb7bf5b7c6d: Pull complete
b18c76fc18f2: Pull complete
6bdbb37ee35f: Pull complete
84035aa4da2d: Pull complete
0c3307e14207: Pull complete
30b92d637d72: Pull complete
991b07583706: Pull complete
e1d7a79a1495: Pull complete
6b08d63c6214: Pull complete
4c7236344711: Pull complete
12506f41e8b0: Pull complete
2330d596aec1: Pull complete
a48299f5ec62: Pull complete
04618a577568: Pull complete
8c4b002d072b: Pull complete
4f4fb700ef54: Pull complete
ff68f05e2976: Pull complete
d5543b560a3e: Pull complete
4a9030bbb1ef: Pull complete
c59b3bec3411: Pull complete
85a7c9be9495: Pull complete
dbc6bd8f2e44: Pull complete
6680a5133ca2: Pull complete
470c0056084c: Pull complete
6b9af56b67cf: Pull complete
c572cde25fb3: Pull complete
033b2d405acf: Pull complete
663cc5b3d424: Pull complete
840bbd47fded: Download complete
7896354b8c11: Verifying Checksum
7896354b8c11: Download complete
a0063722d8c2: Download complete
7018e4a5881b: Download complete
840bbd47fded: Pull complete
fb8f644ba010: Pull complete
66735543f230: Verifying Checksum
66735543f230: Download complete
a850da26741a: Download complete
542bbef5be8d: Verifying Checksum
542bbef5be8d: Download complete
a5aab4c1cefb: Verifying Checksum
a5aab4c1cefb: Download complete
66735543f230: Pull complete
7896354b8c11: Pull complete
a0063722d8c2: Pull complete
7018e4a5881b: Pull complete
d5c5b2d83f36: Verifying Checksum
d5c5b2d83f36: Download complete
d5c5b2d83f36: Pull complete
a850da26741a: Pull complete
542bbef5be8d: Pull complete
a5aab4c1cefb: Pull complete
Digest: sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61
Status: Downloaded newer image for ocaml/opam@sha256:fab9095a8275dfc9cfce9d0b73dba0c126235a1e0610a2f476bda3d9454edd61
2025-11-10 13:00.42 ---> using "c8aca8c57bbaa503625c347ef3b26c33fb3417b9e8ded9eca88ecc3da1a62073" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 13:00.42 ---> using "592540bfa75121124f1b65f5f7b6c5a2312151dfbf0ffa9fa4601f37cff2ed48" 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
2025-11-10 13:00.42 ---> using "f9492e2db450cfbc5d826394f8586f1c26a4a54a2890fb6e1f3d6db0288be719" 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~alpha1
# 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.14
# invariant            ["ocaml-options-only-no-flat-float-array"]
# compiler-packages    ocaml-option-no-flat-float-array.1, ocaml-options-only-no-flat-float-array.1, ocaml-variants.4.14.2+options
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2+options+no-flat-float-array
2025-11-10 13:00.42 ---> using "4620a0ccb55d319863cd43cb17d6a5b5e364e2d062ed1343d301847b2d14e1bf" 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/"))
2025-11-10 13:00.42 ---> using "6eee802d46f380a336233d5c96a73e7b78e70ec1cc0baf435ef41b1a1e99c19d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 13:01.08 ---> saved as "781338e6acc11013df0b858c6e990d8d837bc60b3ec8b368ecd6aec052f26ab7"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 13:01.40 ---> saved as "7906095e076feb54cda36a292573ff177e51598c1d34561555fe2ab85e4bd793"

/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 (521 kB/s)
- Reading package lists...
- 
2025-11-10 13:01.43 ---> saved as "5a4b9628dd8f424ad77c74db1056c6ba9b4d534058ad3a07da1dcacb8f00c299"

/home/opam: (run (shell "opam pin add -k version -yn odnnr.2.0.0 2.0.0"))
odnnr is now pinned to version 2.0.0
2025-11-10 13:01.44 ---> saved as "2d449ab183e4e89690ca374ac4ba190e989dc102c03836384c4c763f0009d235"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall odnnr.2.0.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\" != 'odnnr.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
odnnr.2.0.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-options-only-no-flat-float-array -> ocaml-option-no-flat-float-array -> ocaml-variants >= 4.12.0~ -> ocaml = 4.14.2
    - odnnr -> batteries -> ocaml < 4.12.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-options-only-no-flat-float-array -> ocaml-option-no-flat-float-array
    - odnnr -> batteries
  * Incompatible packages:
    - (invariant) -> ocaml-options-only-no-flat-float-array -> ocaml-option-no-flat-float-array -> ocaml-variants >= 4.12.0~
    - odnnr -> batteries -> ocaml < 4.13.0 -> dkml-base-compiler
  * Incompatible packages:
    - (invariant) -> ocaml-options-only-no-flat-float-array -> ocaml-option-no-flat-float-array -> ocaml-variants >= 4.12.0~
    - odnnr -> batteries -> ocaml < 4.12.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.09.0 | = 3.09.2 | = 3.10.1 | = 3.10.2 | = 3.12.1 | = 4.00.0 | = 4.00.1 | = 4.02.0 | = 4.02.1 | = 4.02.2 | = 4.02.3 | = 4.03.0 | = 4.04.0 | = 4.04.1 | = 4.04.2 | = 4.05.0 | = 4.06.0 | = 4.07.0 | = 4.08.0 | = 4.09.0 | = 4.09.1 | = 4.10.0 | = 4.10.1 | = 4.10.2 | = 4.11.1)
  * Incompatible packages:
    - (invariant) -> ocaml-options-only-no-flat-float-array -> ocaml-option-no-flat-float-array
    - odnnr -> batteries -> ocaml < 4.13.0 -> ocaml-base-compiler >= 4.12.0~ -> ocaml-options-vanilla
  * Missing dependency:
    - odnnr -> batteries -> ocaml < 4.12.0 -> ocaml-base-compiler (= 4.02.4 | = 4.03.1 | = 4.04.3 | = 4.05.1 | = 4.06.2 | = 4.07.2 | = 4.08.2 | = 4.09.2 | = 4.10.3 | = 4.11.3) | ocaml-system >= 4.02.4 | ocaml-variants < 4.11.4~
    no matching version
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    not available because the package is pinned to version 4.14.2+options

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall odnnr.2.0.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" != 'odnnr.2.0.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
2025-11-10 13:02.40: Job failed: Failed: Build failed
2025-11-10 13:02.40: Log analysis:
2025-11-10 13:02.40: >>> 
No solution found, exiting
 (score = 100)
2025-11-10 13:02.40: [SKIP] Package not available