(for PR #28275)

2025-07-30 12:38.03: New job: build rocqide.9.1+rc1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28275/head (66e60293e0f8ab4582472efcfcea76dc9977ca83)
                              on debian-12-ocaml-4.13/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/28275/head" && git reset --hard 66e60293
git fetch origin master
git merge --no-edit f6368c68f94811eb2e5f105c731f2494a6e6fe04
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:89e7c138a1ba59b5ad6fa29781a588be4d4420fdf60c35da142e65a3d8ed1d94
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 rocqide.9.1+rc1 9.1+rc1
RUN opam reinstall rocqide.9.1+rc1; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'rocqide.9.1+rc1' && 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-07-30 12:38.03: Using cache hint "ocaml/opam:debian-12-ocaml-4.13@sha256:89e7c138a1ba59b5ad6fa29781a588be4d4420fdf60c35da142e65a3d8ed1d94-rocqide.9.1+rc1-66e60293e0f8ab4582472efcfcea76dc9977ca83"
2025-07-30 12:38.03: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:89e7c138a1ba59b5ad6fa29781a588be4d4420fdf60c35da142e65a3d8ed1d94)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 rocqide.9.1+rc1 9.1+rc1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall rocqide.9.1+rc1;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'rocqide.9.1+rc1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-07-30 12:38.03: Waiting for resource in pool OCluster
2025-07-30 12:38.05: Waiting for worker…
2025-07-30 12:38.05: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at f6368c68f9 Merge pull request #28271 from jmid/qcheck-lin-ocaml-bound
Updating f6368c68f9..66e60293e0
Fast-forward
 packages/coq-core/coq-core.9.1+rc1/opam           | 50 +++++++++++++++++
 packages/coq-lsp/coq-lsp.0.2.3+9.0/opam           |  3 +-
 packages/coq/coq.9.1+rc1/opam                     | 14 +++++
 packages/coqide-server/coqide-server.9.1+rc1/opam | 42 ++++++++++++++
 packages/rocq-core/rocq-core.9.1+rc1/opam         | 51 +++++++++++++++++
 packages/rocq-devtools/rocq-devtools.9.1+rc1/opam | 48 ++++++++++++++++
 packages/rocq-runtime/rocq-runtime.9.1+rc1/opam   | 67 +++++++++++++++++++++++
 packages/rocqide/rocqide.9.1+rc1/opam             | 45 +++++++++++++++
 8 files changed, 319 insertions(+), 1 deletion(-)
 create mode 100644 packages/coq-core/coq-core.9.1+rc1/opam
 create mode 100644 packages/coq/coq.9.1+rc1/opam
 create mode 100644 packages/coqide-server/coqide-server.9.1+rc1/opam
 create mode 100644 packages/rocq-core/rocq-core.9.1+rc1/opam
 create mode 100644 packages/rocq-devtools/rocq-devtools.9.1+rc1/opam
 create mode 100644 packages/rocq-runtime/rocq-runtime.9.1+rc1/opam
 create mode 100644 packages/rocqide/rocqide.9.1+rc1/opam

(from ocaml/opam:debian-12-ocaml-4.13@sha256:89e7c138a1ba59b5ad6fa29781a588be4d4420fdf60c35da142e65a3d8ed1d94)
2025-07-30 12:38.52 ---> using "ddf6dd143687eabdcf5a4892f148263ea31d5a3b780020f1a1201e892fceca80" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-30 12:38.52 ---> using "df2a00e1e5f518c658255c97cc27d3cc2a88beef1824b873a01f1e8e89f6e1e7" 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 development 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-07-30 12:38.52 ---> using "b5c6c94ea4c020e37117e0d40f82b7b5a7526129eff95c49dd755f3907d4e4e0" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# 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.13
# invariant            ["ocaml-base-compiler" {= "4.13.1"}]
# compiler-packages    ocaml-base-compiler.4.13.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.13/lib/ocaml/stublibs:/home/opam/.opam/4.13/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.13.1
2025-07-30 12:38.52 ---> using "d2ff17e2d7df87d32e90197f02d10ec169ac87ba809327da8914136840d83a17" 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-07-30 12:38.52 ---> using "eedb0942dee0b2ab82679e2588e1c17314d153a3824b3006fc682b2e7180cb1d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-30 12:39.00 ---> saved as "40538c6baa53bbc2596aa44389ecc0cceec8ef55d593e6cb2f7740c7622cea77"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-30 12:39.18 ---> saved as "0636ce7116c4d245bba5bb0a7d87b23aecd8ccd5b81ac5e3eebed5136310cc82"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [18.5 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-07-29-2006.47-F-2025-07-29-2006.47.pdiff [5110 B]
- Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-07-29-2006.47-F-2025-07-29-2006.47.pdiff [5110 B]
- Fetched 399 kB in 1s (544 kB/s)
- Reading package lists...
- 
2025-07-30 12:39.20 ---> saved as "0207fb9060e5e2e873e3620fdc98c416cab1a2fbcd27df415b05d23fa0525eb1"

/home/opam: (run (shell "opam pin add -k version -yn rocqide.9.1+rc1 9.1+rc1"))
rocqide is now pinned to version 9.1+rc1
2025-07-30 12:39.21 ---> saved as "d45d646b339d373d666668b6296832c0498c1ede4f15e0e5b34c296211920639"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall rocqide.9.1+rc1;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'rocqide.9.1+rc1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
rocqide.9.1+rc1 is not installed. Install it? [y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.13.1 -> ocaml = 4.13.1
    - rocqide >= 9.1+rc1 -> coqide-server >= 9.1+rc1 -> rocq-runtime >= 9.1+rc1 -> ocaml >= 4.14.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.13.1
    - rocqide >= 9.1+rc1 -> coqide-server >= 9.1+rc1 -> rocq-runtime >= 9.1+rc1 -> ocaml >= 4.14.0 -> ocaml-variants >= 5.5.0~

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall rocqide.9.1+rc1;
        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-12\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'rocqide.9.1+rc1' && 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-07-30 12:39.41: Job failed: Failed: Build failed
2025-07-30 12:39.41: Log analysis:
2025-07-30 12:39.41: >>> 
No solution found, exiting
 (score = 100)
2025-07-30 12:39.41: [SKIP] Package not available