(for PR #28275)

2025-07-30 12:38.05: New job: build rocq-core.9.1+rc1, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28275/head (66e60293e0f8ab4582472efcfcea76dc9977ca83)
                              on debian-12-ocaml-4.14/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.14@sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn rocq-core.9.1+rc1 9.1+rc1
RUN opam depext rocq-core.9.1+rc1 && opam reinstall rocq-core.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" != 'rocq-core.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.05: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3-rocq-core.9.1+rc1-66e60293e0f8ab4582472efcfcea76dc9977ca83"
2025-07-30 12:38.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn rocq-core.9.1+rc1 9.1+rc1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext rocq-core.9.1+rc1 && opam reinstall rocq-core.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\" != 'rocq-core.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.05: Waiting for resource in pool OCluster
2025-07-30 12:42.35: Waiting for worker…
2025-07-30 12:46.53: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  83% (14977/17943)
Updating files:  84% (15073/17943)
Updating files:  85% (15252/17943)
Updating files:  86% (15431/17943)
Updating files:  87% (15611/17943)
Updating files:  88% (15790/17943)
Updating files:  89% (15970/17943)
Updating files:  90% (16149/17943)
Updating files:  91% (16329/17943)
Updating files:  92% (16508/17943)
Updating files:  93% (16687/17943)
Updating files:  94% (16867/17943)
Updating files:  95% (17046/17943)
Updating files:  96% (17226/17943)
Updating files:  97% (17405/17943)
Updating files:  98% (17585/17943)
Updating files:  99% (17764/17943)
Updating files: 100% (17943/17943)
Updating files: 100% (17943/17943), done.
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.14@sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3' locally
docker.io/ocaml/opam@sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3: Pulling from ocaml/opam
e34307a3f3e4: Already exists
763d83557864: Already exists
77161c4413dd: Already exists
b2b87fe3932b: Already exists
bbcd8cfdbd0a: Already exists
Digest: sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3
Status: Downloaded newer image for ocaml/opam@sha256:0ab63be2626406d74dcc5d5b086d3a5f5ab5ffdada73582b04f29cf7305b91d3
2025-07-30 12:46.56 ---> using "a56353e8e2c8b5ae15881c831a3c336980d62404ebc962eb5448e8eb12435d97" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-07-30 12:46.56 ---> using "d6d2ad043e165dd7d47fa089dfac896376e03b1dc0d3999b2589f020b33704e9" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-07-30 12:46.56 ---> using "5c79f2c21d24f8b0456b8973dbf4866deef94a0ecdbc5f2246151288d76ba21e" from cache

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=12
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2025-07-30 12:46.56 ---> using "2808f8944e4c223293398afd64a02465d552286c654a4bafee875144eb2abc78" 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:46.56 ---> using "1aa8f079f031b24a1efaa58789a2d45e78304c5cb968a3b5693b392f18bc6cb9" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-07-30 12:47.30 ---> saved as "44640a7a59bf56cd578aa7a421b08fc1b66ce21d89c7ac6a0d9ce40f5136a1e1"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 bookworm-updates/main amd64 Packages T-2025-07-29-2006.47-F-2025-07-29-2006.47.pdiff [5110 B]
Get:5 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-security bookworm-security/main amd64 Packages [272 kB]
Fetched 399 kB in 1s (629 kB/s)
Reading package lists...
# OS package update successful
2025-07-30 12:47.33 ---> saved as "e1eaa51da707a87695d458326c34493fa819ccec53a8a91e7caaf19e368446b9"

/home/opam: (run (shell "opam pin add -k version -yn rocq-core.9.1+rc1 9.1+rc1"))
rocq-core is now pinned to version 9.1+rc1
2025-07-30 12:47.34 ---> saved as "45aa816454361c8c7713d40e230478139f9cd6795da80af429ffe8c558db5763"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext rocq-core.9.1+rc1 && opam reinstall rocq-core.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\" != 'rocq-core.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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libgmp-dev
linux-libc-dev
pkg-config
The following command needs to be run through "sudo":
    apt-get install -qq -yy libgmp-dev linux-libc-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libgmpxx4ldbl:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18747 files and directories currently installed.)
Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
# OS packages installation successful
rocq-core.9.1+rc1 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install conf-linux-libc-dev 0        [required by rocq-runtime]
  - install ocamlfind           1.9.8    [required by rocq-runtime]
  - install conf-gmp            5        [required by zarith]
  - install dune                3.19.1   [required by rocq-core]
  - install zarith              1.13     [required by rocq-runtime]
  - install rocq-runtime        9.1+rc1  [required by rocq-core]
  - install rocq-core           9.1+rc1*
===== 7 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.19.1] found in cache
[ocamlfind.1.9.8] found in cache
[rocq-core.9.1+rc1] found in cache
[rocq-runtime.9.1+rc1] found in cache
[zarith.1.13] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-gmp.5
-> installed conf-linux-libc-dev.0
-> installed ocamlfind.1.9.8
-> installed zarith.1.13
-> installed dune.3.19.1
-> installed rocq-runtime.9.1+rc1
-> installed rocq-core.9.1+rc1
Done.
# Run eval $(opam env) to update the current shell environment
2025-07-30 12:50.06 ---> saved as "03fdace721509d54e7d0c3cc85390604c1b3f12a487c6ebf78e4e7aa8db5cdff"
Job succeeded
2025-07-30 12:50.13: Job succeeded