(for PR #30017)

2026-06-12 09:33.44: New job: build ortools.9.15.0-2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/30017/head (c8524da0ee5deff62ee4b638a375f6b7aaefd792)
                              on debian-13-ocaml-5.2/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/30017/head" && git reset --hard c8524da0
git fetch origin master
git merge --no-edit e7a828d76e67579331dd6d3290eff39f8aba2ec0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.2@sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d
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 ortools.9.15.0-2 9.15.0-2
RUN opam reinstall ortools.9.15.0-2; \
    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" != 'ortools.9.15.0-2' && 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-06-12 09:33.44: Using cache hint "ocaml/opam:debian-13-ocaml-5.2@sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d-ortools.9.15.0-2-c8524da0ee5deff62ee4b638a375f6b7aaefd792"
2026-06-12 09:33.44: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.2@sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d)
 (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 ortools.9.15.0-2 9.15.0-2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ortools.9.15.0-2;\
             \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\" != 'ortools.9.15.0-2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-06-12 09:33.44: Waiting for resource in pool OCluster
2026-06-12 09:33.45: Waiting for worker…
2026-06-12 09:33.45: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
HEAD is now at e7a828d76e Merge pull request #30016 from Frama-C/frama-c.32.1
Merge made by the 'ort' strategy.
 packages/ortools/ortools.9.15.0-2/opam             | 54 +++++++++++++
 .../ortools_solvers/ortools_solvers.9.15.0-2/opam  | 93 ++++++++++++++++++++++
 2 files changed, 147 insertions(+)
 create mode 100644 packages/ortools/ortools.9.15.0-2/opam
 create mode 100644 packages/ortools_solvers/ortools_solvers.9.15.0-2/opam

(from ocaml/opam:debian-13-ocaml-5.2@sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.2@sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d' locally
docker.io/ocaml/opam@sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d: Pulling from ocaml/opam
f32f49ce655a: Already exists
b44a06321ba4: Already exists
dba7a037639c: Already exists
0f5ffe655f3d: Already exists
0f509f7fbb8c: Already exists
02cfeb80f785: Already exists
086edbb63551: Already exists
591f0a0be760: Already exists
327b7b98e7a5: Already exists
bf04181eaf08: Already exists
3701a2054eef: Already exists
6077dbaae10c: Already exists
386b5f5a18ab: Already exists
841c1c5f920a: Already exists
df844fff2974: Already exists
7f82d7b3794c: Already exists
bfe5dff3447a: Already exists
bf6bbfde69b4: Already exists
a9f9023f7a6c: Already exists
6941769e4359: Already exists
253ee40008ce: Already exists
4f4fb700ef54: Already exists
6db261e21302: Already exists
a047f130b1dd: Already exists
c32f61899a07: Already exists
4bb5de970df4: Already exists
cf610930faf9: Already exists
7982f6be936e: Already exists
4b19528b004c: Already exists
236d4ef6714b: Already exists
0a9ac4ab42de: Already exists
55f03b01ac7e: Already exists
7630afccab3b: Already exists
2084cf2e9fa0: Already exists
229a152d5f48: Already exists
6a321cdcedff: Already exists
89366d73f255: Already exists
6ffa1e651feb: Already exists
1c2b28ee5b2d: Already exists
c6a09f8e636f: Already exists
3304e6b2030e: Already exists
04af299c16bf: Already exists
4f6dae5375d4: Already exists
0dab6ea9e8f2: Pulling fs layer
f04bc89ce471: Pulling fs layer
0e97256f8102: Pulling fs layer
351687731fbc: Pulling fs layer
351687731fbc: Waiting
f04bc89ce471: Verifying Checksum
f04bc89ce471: Download complete
0e97256f8102: Verifying Checksum
0e97256f8102: Download complete
351687731fbc: Verifying Checksum
351687731fbc: Download complete
0dab6ea9e8f2: Verifying Checksum
0dab6ea9e8f2: Download complete
0dab6ea9e8f2: Pull complete
f04bc89ce471: Pull complete
0e97256f8102: Pull complete
351687731fbc: Pull complete
Digest: sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d
Status: Downloaded newer image for ocaml/opam@sha256:3698a1b68e95bad29398c4e32e2cd24f845e20d9f86174bd75e44e3d10009d8d
2026-06-12 09:33.55 ---> using "4978e8858b12a63ba84a4aa1b5decc4bf0323d693c40ceeeeb19b2d4d0053ad6" 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-06-12 09:33.55 ---> using "759490a9bebe2157add6514154aaddd271b07228999475a82d013e58770417dc" 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-06-12 09:33.55 ---> using "7a968ba5ace6828d6daa5373cc1b394e4d7e8dd11917a5600d7dd4f3bf2b064d" 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         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.2
# invariant            ["ocaml-base-compiler" {= "5.2.1"}]
# compiler-packages    ocaml-base-compiler.5.2.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.2/lib/ocaml/stublibs:/home/opam/.opam/5.2/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.2.1
2026-06-12 09:33.55 ---> using "5ca23c9cee300896e29680580f9af1b696dc46371ef9756507f2f309b419bed1" 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-06-12 09:33.55 ---> using "094c3f9734e543b8b31ba44a193b159757e4de5c94d7000f87fb31767d870ce3" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-06-12 09:34.02 ---> saved as "6653fdc17984a1dc200d989cfb644b69e649b8877b689cc642fe4237aad2c0f1"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-06-12 09:34.13 ---> saved as "fc92ec271822c4471e834d2384162b3c68da8227f68ac3cdc81ab8e26f26709e"

/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 [215 kB]
- Fetched 306 kB in 0s (2090 kB/s)
- Reading package lists...
- 
2026-06-12 09:34.15 ---> saved as "7e4705d5f9b27a50dcee7080189f5a4e940cebdd30087f12b5c38aa99ad5e814"

/home/opam: (run (shell "opam pin add -k version -yn ortools.9.15.0-2 9.15.0-2"))
ortools is now pinned to version 9.15.0-2
2026-06-12 09:34.15 ---> saved as "7239a5d5ba5f6f29cc9f430a29f90f0008f87efbb7d43901c357464759b302be"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ortools.9.15.0-2;\
                        \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\" != 'ortools.9.15.0-2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ortools.9.15.0-2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
  - install dune         3.23.1            [required by ortools]
  - install ortools      9.15.0-2 (pinned)
  - install pbrt         4.1               [required by ortools]
  - install stdlib-shims 0.3.0             [required by pbrt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.1  (cached)
-> retrieved ortools.9.15.0-2  (cached)
-> retrieved pbrt.4.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.23.1
-> installed stdlib-shims.0.3.0
-> installed pbrt.4.1
-> installed ortools.9.15.0-2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-12 09:34.55 ---> saved as "4b9ecf386245d89a05791b934866dcc1de6cf24ade259e9f06323e027566ccf8"
Job succeeded
2026-06-12 09:35.02: Job succeeded